Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
11-06-2009, 11:42 AM
|
#1
|
LQ Newbie
Registered: Feb 2007
Location: Kerala, India
Distribution: FC10, Ubuntu 8.04
Posts: 18
Rep:
|
Best tools for a GUI programme
Presently I am maintaining a database driven software system for my small office as an intranet. (Linux / apache/Mysql/PHP). As there are limitations in enhancing interactive features in an intranet/ web page based application, I plans to switch to a proper GUI application either fully or partly. Although I tried PHP-Gtk and PyGtk, about two years back, I am not fully satisfied. Due to the steep learning curve, I do not want java either.
Is there any other tools or combination of tools like PyGtk, for developing an interactive GUI based application ?. What is the best such tools for creating a linux application and a cross platform (linux and windows) GUI based application.
My programming experience is only on PHP. If nothing else is available, which is better now, PHPGtk or PyGtk ?
|
|
|
11-06-2009, 12:18 PM
|
#2
|
Member
Registered: Aug 2009
Location: PA USA
Distribution: Arch Linux
Posts: 78
Rep:
|
Programming is about learning my friend. If your afraid of a learning curve then computers might not be the best suit for you. Sorry if it sounds a bit mean but its the truth.
My recommendations is to learn C with GTK or QT. Or simply learn the X11 system and work it along side WIN32 for both windows and Linux programming in order to keep things slim while still providing native support for both systems.
But if you want to learn GUI programming then you have to learn GUI systems.
And once again sorry if I seem a bit jumpy at you, its just this is something that gets to me when it comes to people that are afraid to learn and expect to be programmers... I do wish you luck in your endeavors.
-Jessica-
|
|
|
11-06-2009, 12:20 PM
|
#3
|
LQ Newbie
Registered: Jan 2009
Distribution: Ubuntu 9.10
Posts: 15
Rep:
|
I am not familiar with either PHPGtk or PyGtk, but since you familiar with php, have you considered drupal?
http://drupal.org
It is probably capable of doing what you want, and there is a good chance modules are available for what you need. If not, then you could create your own modules and contribute to the drupal community.
|
|
|
11-06-2009, 12:56 PM
|
#4
|
Gentoo support team
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083
|
If you want cross-platform compatibility, I'd check one of these:
- gtk+c, there are bindings related to these for python and other languages, I haven't much idea about these combos, and I have no idea of the current status of gtk on windows. According to the stuff I read in the gimp ML, it's not as good as it could be.
- .net, there's a free implementation, called "mono" in linux
- java, some people say it's "cross platform", I hate it
- qt4/c++
- web frontend, it's probably the better and easier when you want true cross platform support stuff involving db's and such kind of backends, there's drupal and a big lot of alternatives around, all you need is an OS that can run any web browser, period
Depending on the project I'd choose either of the last two, because that's what I am more confortable with.
If you are an VB fan you might want to check gambas, but it has serious downsides: first it's not portabe, it's similar to VB, but it's not VB. However, if you know VB and you don't care about maintaining separate branches for windows and linux then you might want to check it. Second, I don't see it going anywhere. As far as I know it's still on the qt3 world, and qt3 is already abandonware. I wouldn't consider it for any serious development, even more when there's network stuff involved, because there will be no more security updates for it.
Last edited by i92guboj; 11-06-2009 at 12:58 PM.
|
|
|
11-06-2009, 02:41 PM
|
#5
|
Member
Registered: Mar 2008
Distribution: Ubuntu Lucid
Posts: 131
Rep:
|
This post has inspired me to finally get round to doing some GTK+ and C++ lol
James
|
|
|
11-06-2009, 03:48 PM
|
#6
|
Member
Registered: Oct 2005
Distribution: SuSe
Posts: 95
Rep:
|
You might want to look at Lazarus / freepascal. It's portable between linux and Windows, but obviously you'll have to learn object pascal.
|
|
|
11-07-2009, 03:22 AM
|
#7
|
LQ Newbie
Registered: Feb 2007
Location: Kerala, India
Distribution: FC10, Ubuntu 8.04
Posts: 18
Original Poster
Rep:
|
Thanks for all the replies. I am seeking for an easier programming language is not because I am afraid of learning, but rather because, I am not in a computer related profession. Basically I am a Management professional with law and finance. But I do programming in my spare time for use by my organisation.
Presently I do have a working web based system, using LAMP. But some suggestions are again for such system. I am looking for alternatives because on certain occasions, I require more interactivity which is very difficult to achieve on a web page.
BTW, is there anything more in drupal for enhancing interactivity ?
I will check on the suggestion for lazarus / free pascal. If any body is using it, please post their experience using it, particularly for database grids, tree views, raw printing etc.
Also I invite views on Gtk c++ combination.
If nothing turns out, I will go for pygtk, which fairly meets my needs.
Regards,
Raju
|
|
|
11-07-2009, 03:54 AM
|
#8
|
Member
Registered: Mar 2008
Distribution: Ubuntu Lucid
Posts: 131
Rep:
|
If you are using Windoze as well as Linux, which it seems you are, GTK+ is portable to windoze; I have used several ported-from-linux programs in windoze which use the GTK toolkit.
There are also some good GUI IDEs for developing your projects; anjuta is one, and it has a GTK interface designer too. Google will turn up lots of stuff on how to make a basic GTK interface with C++.
James
|
|
|
11-07-2009, 06:56 AM
|
#9
|
Gentoo support team
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083
|
Quote:
Originally Posted by rajuvk
I am looking for alternatives because on certain occasions, I require more interactivity which is very difficult to achieve on a web page.
BTW, is there anything more in drupal for enhancing interactivity ?
|
Maybe take a look at ajax, it might be what you are looking for or not, I am not sure.
Quote:
Also I invite views on Gtk c++ combination.
|
For this, check gtkmm, which is a c++ interface to gtk+, since gtk+ is pure C, and not C++.
PS. I have no idea if gtkmm has been ported to or works in windows.
Last edited by i92guboj; 11-07-2009 at 07:02 AM.
|
|
|
11-09-2009, 10:11 AM
|
#10
|
Member
Registered: Aug 2009
Location: PA USA
Distribution: Arch Linux
Posts: 78
Rep:
|
Good luck with GTK and C++! I apologize if my post seemed a bit harsh. I tend to get a bit on the defensive side when it comes to programming.
One bit of help I can give, because I ran into this when compiling GTK on Windows, is to give you a little example of a DOS compile command. I use Dev-cpp for windows because it uses GCC and has a nice package manager (Make sure you update the list because the version it comes with is outdated. this can be updated with the package manager)
gcc main.c -I C:\Dev-Cpp\include\gtk-2.0 -I C:\Dev-Cpp\lib\gtk-2.0\include -I C:\Dev-Cpp\include\atk-1.0 -I C:\Dev-Cpp\include\pango-1.0 -I C:\Dev-Cpp\include\glib-2.0 -I C:\Dev-Cpp\lib\glib-2.0\include -lgtk-win32-2.0 -lgdk-win32-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangowin32-1.0 -lgdi32 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -mwindows -mms-bitfields -o Program.exe
Make sure you have atk, pango, glib, glib and gtk installed with the package manager if you use this compiler. This at least worked for me.
-Jessica-
|
|
|
11-09-2009, 02:57 PM
|
#11
|
LQ Guru
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,326
|
you mite want to lookup v-tcl
|
|
|
11-09-2009, 05:48 PM
|
#12
|
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,393
|
Have a look at Perl / TCL / TK+
|
|
|
11-10-2009, 10:44 AM
|
#13
|
Member
Registered: Nov 2009
Distribution: Gentoo, Slackware or Debian
Posts: 60
Rep:
|
content removed
Last edited by lewc; 11-27-2009 at 03:44 PM.
|
|
|
All times are GMT -5. The time now is 03:52 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|