Fedora Linux Support Community & Resources Center
  #1  
Old 3rd February 2009, 10:28 AM
movilogo Offline
Registered User
 
Join Date: Feb 2009
Posts: 18
Red face 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?

:
Reply With Quote
  #2  
Old 3rd February 2009, 12:21 PM
sonoran's Avatar
sonoran Offline
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.
Reply With Quote
  #3  
Old 3rd February 2009, 05:08 PM
sleeve Offline
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.
Reply With Quote
  #4  
Old 3rd February 2009, 06:04 PM
Datu Puti Offline
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
Reply With Quote
  #5  
Old 3rd February 2009, 06:06 PM
wathek Offline
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.
Reply With Quote
  #6  
Old 3rd February 2009, 07:41 PM
movilogo Offline
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.

Reply With Quote
  #7  
Old 3rd February 2009, 07:49 PM
sleeve Offline
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"
Reply With Quote
  #8  
Old 3rd February 2009, 08:46 PM
RupertPupkin's Avatar
RupertPupkin Offline
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
Reply With Quote
  #9  
Old 3rd February 2009, 08:55 PM
bee Offline
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!!!!!!!!
Reply With Quote
  #10  
Old 3rd February 2009, 09:04 PM
Firewing1's Avatar
Firewing1 Offline
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.
__________________
[+] My open source software and blog
[+] Some of my howtos: (for full list, click here)
Reply With Quote
  #11  
Old 3rd February 2009, 09:07 PM
bryancole Offline
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.
Reply With Quote
  #12  
Old 3rd February 2009, 10:13 PM
sej7278 Offline
Registered User
 
Join Date: Sep 2004
Posts: 2,008
Quote:
Originally Posted by bryancole View Post
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!
Reply With Quote
  #13  
Old 4th February 2009, 01:14 AM
RupertPupkin's Avatar
RupertPupkin Offline
Registered User
 
Join Date: Nov 2006
Location: Detroit
Posts: 4,728
For GUIs, I'd say that Tcl/Tk is better than Python.

Last edited by RupertPupkin; 4th February 2009 at 02:19 AM.
Reply With Quote
  #14  
Old 14th February 2009, 12:08 AM
ihavenoname Offline
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.
Reply With Quote
Reply

Tags
application, development, language, programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Programming Language Translators Eli Duttman Using Fedora 2 5th July 2009 04:01 AM
Programming language development tech291083 Programming & Packaging 9 19th February 2009 07:21 AM
ADA programming language? esnc Programming & Packaging 1 18th February 2009 04:22 AM
Favourite Programming Language? Lypin Programming & Packaging 124 17th June 2008 10:03 PM
Programming language deepfreeze Linux Chat 8 1st November 2005 08:20 PM


Current GMT-time: 09:15 (Thursday, 20-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat