LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 11-06-2009, 11:42 AM   #1
rajuvk
LQ Newbie
 
Registered: Feb 2007
Location: Kerala, India
Distribution: FC10, Ubuntu 8.04
Posts: 18

Rep: Reputation: 1
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 ?
 
Old 11-06-2009, 12:18 PM   #2
archlinux_jessica
Member
 
Registered: Aug 2009
Location: PA USA
Distribution: Arch Linux
Posts: 78

Rep: Reputation: 19
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-
 
Old 11-06-2009, 12:20 PM   #3
callasabra
LQ Newbie
 
Registered: Jan 2009
Distribution: Ubuntu 9.10
Posts: 15

Rep: Reputation: 0
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.
 
Old 11-06-2009, 12:56 PM   #4
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
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.
 
Old 11-06-2009, 02:41 PM   #5
jamwaffles
Member
 
Registered: Mar 2008
Distribution: Ubuntu Lucid
Posts: 131

Rep: Reputation: 19
This post has inspired me to finally get round to doing some GTK+ and C++ lol

James
 
Old 11-06-2009, 03:48 PM   #6
chuckbuhler
Member
 
Registered: Oct 2005
Distribution: SuSe
Posts: 95

Rep: Reputation: 17
You might want to look at Lazarus / freepascal. It's portable between linux and Windows, but obviously you'll have to learn object pascal.
 
Old 11-07-2009, 03:22 AM   #7
rajuvk
LQ Newbie
 
Registered: Feb 2007
Location: Kerala, India
Distribution: FC10, Ubuntu 8.04
Posts: 18

Original Poster
Rep: Reputation: 1
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
 
Old 11-07-2009, 03:54 AM   #8
jamwaffles
Member
 
Registered: Mar 2008
Distribution: Ubuntu Lucid
Posts: 131

Rep: Reputation: 19
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
 
Old 11-07-2009, 06:56 AM   #9
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
Quote:
Originally Posted by rajuvk View Post
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.
 
Old 11-09-2009, 10:11 AM   #10
archlinux_jessica
Member
 
Registered: Aug 2009
Location: PA USA
Distribution: Arch Linux
Posts: 78

Rep: Reputation: 19
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-
 
Old 11-09-2009, 02:57 PM   #11
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,326

Rep: Reputation: 919Reputation: 919Reputation: 919Reputation: 919Reputation: 919Reputation: 919Reputation: 919Reputation: 919
you mite want to lookup v-tcl
 
Old 11-09-2009, 05:48 PM   #12
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,393

Rep: Reputation: 2774Reputation: 2774Reputation: 2774Reputation: 2774Reputation: 2774Reputation: 2774Reputation: 2774Reputation: 2774Reputation: 2774Reputation: 2774Reputation: 2774
Have a look at Perl / TCL / TK+
 
Old 11-10-2009, 10:44 AM   #13
lewc
Member
 
Registered: Nov 2009
Distribution: Gentoo, Slackware or Debian
Posts: 60
Blog Entries: 1

Rep: Reputation: 18
content removed

Last edited by lewc; 11-27-2009 at 03:44 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
WLAN GUI tools. jaakkop Linux - Software 1 08-23-2006 02:26 PM
gui development tools lini Linux - General 2 02-10-2006 06:10 PM
a gui for the Slackware tools. :) egag Slackware 2 02-20-2005 11:58 AM
GUI tools philipsyyy Linux - Software 0 01-08-2003 09:39 PM
GUI tools on client nrastogi Linux - Software 5 08-14-2002 04:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration