Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game. |
| 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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
09-12-2008, 08:08 AM
|
#1
|
|
Member
Registered: Nov 2005
Location: Egypt
Distribution: Fedora 17 KDE
Posts: 373
Rep:
|
Please, suggest a programming language for me.
Hello,
I know a little bit about progaramming in general, and I want to make custom applications that are database dependent and running on linux. These applications are supposed to make my work easier.
Back in the windows enviroment you mainly hear about Microsoft progamming languages and a little bit of java. But here there is a lot more to choose from. So, I wish that you can help me choose a programming language that is easy to use with a nice IDE
What would you recommend for me?
|
|
|
|
09-12-2008, 08:15 AM
|
#2
|
|
Senior Member
Registered: Mar 2004
Distribution: Slackware
Posts: 4,282
Rep:
|
I use php as programming language and quanta+ (kdeweb) as IDE for database apps
Fast and easy scripting, multi-user ready, multi-platform and nice application interface with css 
|
|
|
|
09-12-2008, 08:28 AM
|
#3
|
|
Member
Registered: Aug 2008
Distribution: opensuse, RHEL
Posts: 374
Rep:
|
Are you trying to do (1) programming in the sense of 'compiling' and running(like java, c, c++) or are you thinking more of a (2) 'scripting' language like bash, perl, php?
Are you doing website work or just some command line stuff to help you out daily?
1. Java would probably be the easiest to start with. You would need to find the JDBC driver for the database you are working with. Also, the eclipse IDE is just awsome. If you don't like that, C/C++ are able to do database work but you will spend a little more time coding.
2. Perl is very powerful and works with databases as long as the corresponding perl database modules are installed. Perl is nice b/c you can whip up a quick app or script in a very short amount of time. Normally a perl script would take 2-4x as long to write in c/c++/java.
Good luck 
|
|
|
|
09-12-2008, 09:40 AM
|
#4
|
|
Senior Member
Registered: Mar 2008
Location: India
Distribution: Dynebolic, Ubuntu 10.10
Posts: 1,320
Rep:
|
if you want to do backend databases for websites, you could use Perl.
|
|
|
|
09-12-2008, 12:57 PM
|
#5
|
|
Member
Registered: Dec 2006
Location: New Delhi, India
Distribution: PCLinuxOS 2010
Posts: 246
Rep:
|
Python is very easy to learn, and very powerful too.
If you want to work with databases, PHP is designed with that as a goal too.
|
|
|
|
09-12-2008, 01:21 PM
|
#6
|
|
Member
Registered: Nov 2005
Location: Egypt
Distribution: Fedora 17 KDE
Posts: 373
Original Poster
Rep:
|
Thank you for all your replies,
I just forgot to tell you that I want to make programs like I used to make in Visual basic without the use of any .net language, I want to make a user interface in a window not in a web browser.
I simply want to add buttons, text boxes and such objects without too many code and more important without much time as I am taking programming maily as a hobby for I will have much spare time that I can use in something that would help me in my work and in the same time would be much fun.
I hope I have explained it better this time.
Thank you for your help.
Ahmad.
@CRC123: just to make sure that I understood what you told me correctly, programming in perl is 2-4 times faster than java or C or C++, was that what you mean?
|
|
|
|
09-12-2008, 01:34 PM
|
#7
|
|
Member
Registered: Aug 2008
Distribution: opensuse, RHEL
Posts: 374
Rep:
|
Quote:
Originally Posted by AGazzaz
@CRC123: just to make sure that I understood what you told me correctly, programming in perl is 2-4 times faster than java or C or C++, was that what you mean?
|
Look at it this way. If you have an application that you need built that can be built in either C/C++/java or perl/php etc. Generally, the time it takes to develop the application in perl, is 2-4 times faster than the same time it would take to develop the same application is C/C++/java.
However, once they are both built and running, the same task inside both applications would probably run slower in the perl/php version than in the C/C++/java version.
perl/php are 'interpreted'(some of perl CAN be compiled) so there is some execution overhead when they are run.
|
|
|
|
09-12-2008, 05:30 PM
|
#8
|
|
Senior Member
Registered: Nov 2005
Location: Hanoi
Distribution: Fedora 13, Ubuntu 10.04
Posts: 2,375
Rep: 
|
Given what you want to do and your background (VB) you may want to look at Mono. Its an open source version of the .net libraries. Whilst I've never used it I feel that it will meet your needs, and there are quite a few tutorials available to help you get started.
|
|
|
|
09-13-2008, 09:17 AM
|
#9
|
|
Member
Registered: Dec 2006
Location: New Delhi, India
Distribution: PCLinuxOS 2010
Posts: 246
Rep:
|
There are GUI designers available for GTK and QT but I have never used them.
No idea whether they can be used with backends other than C/C++.
You may want to look into Anjuta for a good IDE. It comes with support for almost all languages and works with GUI designers as well.
|
|
|
|
09-15-2008, 02:22 AM
|
#10
|
|
Senior Member
Registered: Mar 2008
Location: India
Distribution: Dynebolic, Ubuntu 10.10
Posts: 1,320
Rep:
|
you could try looking at Glade, it seems that that would be what you want.
|
|
|
|
09-15-2008, 04:20 AM
|
#11
|
|
Member
Registered: Nov 2005
Location: Egypt
Distribution: Fedora 17 KDE
Posts: 373
Original Poster
Rep:
|
Thank you all for your replies,
I have tried most of your suggestions and here is what I found out;
perl is very nice -->say 'Hello World!';
I am sure I will consider it when I have any intentions for web applications
python: I came across this Link and I found that it is not that simple, or may be it is but I just did not like it
Java: I found JavaPassion website and it is quite useful and I guess I will continue with java
Anjuta and Glade: I did not know where to start.
Mono: I downloaded Mono and it was too slow on my computer, I thought as I am learning programming for fun I do not have to learn any microsoft language.
So I think Java is the best option available specially that I like the javapassion website and I already have eclipse, netbeans on my computer
Thank you all for your help, I hope I can make a very useful application in a short while
Wish me luck.
|
|
|
|
09-15-2008, 05:00 AM
|
#12
|
|
Member
Registered: Aug 2007
Location: The Greate INDIA
Distribution: CentOS, RHEL, Fedora
Posts: 102
Rep:
|
U can go for java, java have powerful tools and libs tht can satisfy ur needs. and u can build classical interface in java. and also there is no worry abt on which platform u r going to run it...
best of luck.... 
|
|
|
|
09-15-2008, 05:30 AM
|
#13
|
|
Senior Member
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810
|
Quote:
|
I just forgot to tell you that I want to make programs like I used to make in Visual basic without the use of any .net language, I want to make a user interface in a window not in a web browser.
|
I've not used it but came across this lately - may interest you with the VB slant..
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
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
|
|
|
All times are GMT -5. The time now is 11:26 AM.
|
|
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
|
|