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

Reply
 
Search this Thread
Old 01-21-2007, 07:17 PM   #1
Quantum0726
Member
 
Registered: Dec 2003
Location: Milwaukee, WI
Distribution: Gentoo
Posts: 39

Rep: Reputation: 15
Which web programming lang to use?


Hi, I'm working on converting my very old, HTML-only, web page to a dynamic page using server-side code. I've never programmed in perl, python, ruby, or php (much) before, so I'm not quite sure which language to use (or if there are other good languages). I'm looking for something that will integrate well with apache2 on Linux and have good database functionality (specifically with MySQL). I've done most of my "programming" in bash scripts and some C++, but am willing to spend some time learning whichever language works well. If you have any recommendations on which language might be best for me, I would appreciate your input!
 
Old 01-21-2007, 07:50 PM   #2
AdaHacker
Member
 
Registered: Oct 2001
Location: Brockport, NY
Distribution: Kubuntu
Posts: 384

Rep: Reputation: 31
Quote:
Originally Posted by Quantum0726
I've never programmed in perl, python, ruby, or php (much) before, so I'm not quite sure which language to use (or if there are other good languages).
Any of the above would be a good choice. If I had to pick one, I'd probably say PHP, because it has a relatively short learning curve and is very widely used, meaning that there are lots resources (books, tutorials, libraries, etc.) available. It also has built in support for MySQL and is supported by pretty much every web host around, if that's an issue.
 
Old 01-21-2007, 07:51 PM   #3
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 117Reputation: 117
PHP works very well as an apache module and has great support for mysql. It also has a very C/C++-like syntax, so your transition should be easy. I've developed a number of sites in PHP and have found it to work well in all cases.
 
Old 01-22-2007, 01:47 PM   #4
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,395
Blog Entries: 2

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
If your programming will be limited to strictly web applications, then PHP is a good choice. Learning any of the others will be more useful for other general-purpose tasks. I can't speak about ruby or python, with respect to suitability for web programming, but perl certainly has the capability to serve all of your listed requirements.

--- rod.
 
  


Reply

Tags
apache2, html, language, perl, php, python, ruby, web


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
What is the use of lang in <head lang=''> tooparam Programming 2 02-01-2006 05:55 PM
Which web lang. to learn Quantum0726 Programming 1 12-21-2005 01:15 AM


All times are GMT -5. The time now is 07:59 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration