 |
 |
 |
 |
| Programming & Packaging A place to discuss programming and packaging. |

3rd February 2009, 10:28 AM
|
|
Registered User
|
|
Join Date: Feb 2009
Posts: 18

|
|
Best programming language for application development?
Currently have Python & C++ in my Fedora.
But if I want to do graphical interface design (like Visual Basic) what do I need?
:
|

3rd February 2009, 12:21 PM
|
 |
Registered User
|
|
Join Date: May 2005
Location: Sonoran Desert
Posts: 2,136

|
|
|
Hi movilogo-
Check out Glade - not a language but a gui design tool that can be
used with numerous languages.
C is the standard for unix/linux and gives you access to the most
libraries you might want to hook up to, and the most code to
study and steal...er, learn from.
Python is great for rapid prototyping.
And for something completely different, there is e17, the
Enlightenment Desktop Shell, where program code and user
interface are separated.
So many toys, so little time! Have fun.
|

3rd February 2009, 05:08 PM
|
|
Registered User
|
|
Join Date: May 2005
Location: Cleveland, Ohio
Age: 30
Posts: 3

|
|
|
I'm with sonoran on Glade... great gui design tool.
You may also want to check out the QT Toolkit.
Nice for cross platform compatibility.
|

3rd February 2009, 06:04 PM
|
|
Registered User
|
|
Join Date: Nov 2006
Location: Davao, PH
Posts: 60

|
|
|
glade is your friend - you can use it to create interfaces for your python and C / C++ apps, without really having to learn anything new! I can't imagine anything much easier than using glade with python. so don't hesitate to "yum install glade"!
however, if you like c++, you may also feel somewhat comfortable with java, and you can do some great stuff with that, especially considering the cross-platform benefits. you might want to look into the NetBeans IDE for that - i use it for making javaME apps for my cell phone, and it's a piece of cake. NetBeans is a pretty huge and professional IDE. it actually feels weird not paying for it, haha. i haven't done this, but i have read that it can be used for your c++, php, and other languages as well.
still, you should play with glade first. that's the best answer i can think of for your question. you'll be glad you did.
-dan
|

3rd February 2009, 06:06 PM
|
|
Registered User
|
|
Join Date: Jan 2009
Posts: 49

|
|
I'm using Qt and C++ and really Qt is cool as a framework I suggest you to try it you'll love
Linux Archive
Last edited by wathek; 9th February 2009 at 03:06 PM.
|

3rd February 2009, 07:41 PM
|
|
Registered User
|
|
Join Date: Feb 2009
Posts: 18

|
|
How to I actually use Qt with C++ in Fedora?
Visited Qt site, but not clear how exactly I install it over Fedora 10.
|

3rd February 2009, 07:49 PM
|
|
Registered User
|
|
Join Date: May 2005
Location: Cleveland, Ohio
Age: 30
Posts: 3

|
|
|
you can get it directly from the Fedora repositories.
try "yum search qt"
I think the product you want to install is called qt-designer.
So it should be something like "yum install qt3-designer"
|

3rd February 2009, 08:46 PM
|
 |
Registered User
|
|
Join Date: Nov 2006
Location: Detroit
Posts: 4,728

|
|
For something even more different, try GNUstep, which is a development environment based on the Objective-C language and the Cocoa API (used in OS X, formerly the old OpenStep API). One nice thing about GNUstep is that by being (mostly) source-code compatible with OS X Cocoa apps, you can compile OS X apps to run in Linux. There is a nice GUI app builder for GNUstep called Gorm, which can be used with the ProjectCenter IDE to create GNUstep apps fairly quickly. Plus, Objective-C is such a cool language.
__________________
OS: Fedora 18 x86_64 | CPU: AMD64 3700+ 2.2GHz | RAM: 2GB PC3200 DDR | Disk: 160GB PATA | Video: ATI Radeon 7500 AGP 64MB | Sound: Turtle Beach Santa Cruz CS4630 | Ethernet: Realtek 8110SC
|

3rd February 2009, 08:55 PM
|
|
Banned
|
|
Join Date: Jun 2008
Posts: 1,315

|
|
Let's think about programming languages and their results...... 
Linux is written in C and beesu as well!!! 
Linux is written also in assembly!!! 
Games are written in C++, and any mission critical project is written in C and/or C++. 
Firefox, OpenOffice, GNOME, KDE (Qt), GNU coreutils, GIMP, Quake, Apache, etc... are in C (and/)or in C++. Powerful software is never written in JAVA!!!!!! 
JAVA applications are bloatwares by default!! 
Think about big projects in Java... netbeans, eclipse, azureus/vuze...  100MB needed for each of them just to show the main form!!!!!!!!
bye!!!!!!!!  
|

3rd February 2009, 09:04 PM
|
 |
Administrator
|
|
Join Date: Dec 2004
Location: Canada
Age: 22
Posts: 9,224

|
|
|
The "best" language and toolkit all depends on what your needs are... I've tried both Qt and GTK+ (with Glade) as well as Python and C++, and I've found that Qt on the whole is better than GTK+ as I found it to be cleaner, faster, more portable and easily customizable (styling with CSS or subclassing widgets is a breeze). On the downside though, Qt has a steeper learning curve than GTK+. Overall though, unless portability is number 1 on your list, GTK+ will do just fine too. If you use PyGTK & Glade you can have a solid GUI ready in no time and focus your efforts on coding the callbacks in Python.
For language selection, the main criteria there is speed. If your program is going to be processing lots and lots of data, go with C/C++ since it's so fast. Otherwise, stick to Python. It may be because I'm not as well versed in C++ as I am in Python, but coding is always much faster for me in Python.
|

3rd February 2009, 09:07 PM
|
|
Registered User
|
|
Join Date: Jul 2004
Posts: 414

|
|
|
For GUIs, python rules, be it wxPython, PyQt or PyGTK.
Beware of "visual" GUI-designers (glade, wxGlade, QtDesigner etc); laying out your GUI in a designer is great when you start a project, but as the applications grows, the need to use the designer program for even the smallest change to the UI becomes a burden. I much prefer constructing the UI in (python) code, with dynamic layout.
|

3rd February 2009, 10:13 PM
|
|
Registered User
|
|
Join Date: Sep 2004
Posts: 2,008

|
|
Quote:
Originally Posted by bryancole
For GUIs, python rules, be it wxPython, PyQt or PyGTK.
Beware of "visual" GUI-designers (glade, wxGlade, QtDesigner etc); laying out your GUI in a designer is great when you start a project, but as the applications grows, the need to use the designer program for even the smallest change to the UI becomes a burden. I much prefer constructing the UI in (python) code, with dynamic layout.
|
wow that's almost word-for-word what i was going to say!
|

4th February 2009, 01:14 AM
|
 |
Registered User
|
|
Join Date: Nov 2006
Location: Detroit
Posts: 4,728

|
|
|
Last edited by RupertPupkin; 4th February 2009 at 02:19 AM.
|

14th February 2009, 12:08 AM
|
|
Registered User
|
|
Join Date: Dec 2005
Posts: 527

|
|
I'm waiting for someone to come in and suggest using Lisp  . Just type the following and your application will dynamically create itself at run time and then re-make itself as the usage cases demand:
Code:
(((((()))))(())))((defun makedynapp (doitall) (* doitall 1))))
If things don't work the way you intend then keep in mind that Lisp knows what's better for you, it's not a bug it's a feature :P.
Just kidding Lisp is actually a cool language, but not great for Desktop application.
I'm going to go ahead and say Qt is well worth your time. I faced a similar question a little over a year ago, and after extensive research and learning both Qt and Gtkmm I can honestly say that I think Qt is far and away the more powerful toolkit. By more powerful I mean to say it's less likely to force you to do a lot of tedious low level work.
C++ is probably the best choice of language because of two defining features:
1. Speed.
2. Object Oriented
If there was a 3rd category it would be that Qt uses c++ (although there are bindings to python etc.).
If you stick with gtk, then I would look into vala or C#/mono. Google will offer you a wealth of information on these two languages and how they work in linux.
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 09:15 (Thursday, 20-06-2013)
|
|
 |
 |
 |
 |
|
|