Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Dec 17th, 2005, 4:57 PM   #1
Terz
Newbie
 
Join Date: Dec 2005
Posts: 2
Rep Power: 0 Terz is on a distinguished road
Which Language??

Hi all,
I'm just after a bit of advice on which language to learn.
I have a basic knowledge of HTML, and am looking to re-vamp my site with things like my own guestbook, a forum, and a few other bells and whistles.
I'm going to spend some time learning a language (e.g. php, asp, cgi, java, jscript, xml etc..) but would like your suggestions on the pros and cons of these.
At the moment I think PHP looks like the way to go. Any Ideas?
Cheers,
Mike
__________________
www.terzza.com
Terz is offline   Reply With Quote
Old Dec 17th, 2005, 5:37 PM   #2
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
Cgi is not a language. It's an interface. PHP is a good choice. Some competitors are coming up on the outside. I would recommend (just as a matter of course, there are no violations in your post) that you be sure and read the forum's FAQ/rules, a "How to Post..." thread, and that you search or browse the forums. Obvioulsy, your question is quite common.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline   Reply With Quote
Old Dec 18th, 2005, 8:42 PM   #3
Terz
Newbie
 
Join Date: Dec 2005
Posts: 2
Rep Power: 0 Terz is on a distinguished road
Thanks DaWei, I'll crack on with some PHP tutorials now!
__________________
www.terzza.com
Terz is offline   Reply With Quote
Old Dec 19th, 2005, 1:21 AM   #4
coldDeath
Expert Programmer
 
coldDeath's Avatar
 
Join Date: Aug 2005
Location: UK
Posts: 862
Rep Power: 4 coldDeath is on a distinguished road
Send a message via AIM to coldDeath Send a message via Yahoo to coldDeath
Terz, I think you should look into XHTML, it'll show you how to code HTML properly.

Then you should take a look at CSS, it is great for designing and laying out pages.

Then there are technologies such as JavaScript that could be looked into.

Then you could look at PHP and MySQL.


But ultimately its up yo you and what you want.
__________________
Join us at #programmingforums @ irc.freenode.net!

My software never has bugs. It just develops random features.
coldDeath is offline   Reply With Quote
Old Dec 19th, 2005, 1:33 AM   #5
lectricpharaoh
Caffeinated Neural Net
 
lectricpharaoh's Avatar
 
Join Date: Jun 2005
Location: Dry west coast of Canada
Posts: 1,031
Rep Power: 5 lectricpharaoh will become famous soon enough
Quote:
Originally Posted by Terz
Hi all,
I'm just after a bit of advice on which language to learn.
I have a basic knowledge of HTML, and am looking to re-vamp my site with things like my own guestbook, a forum, and a few other bells and whistles.
I'm going to spend some time learning a language (e.g. php, asp, cgi, java, jscript, xml etc..) but would like your suggestions on the pros and cons of these.
At the moment I think PHP looks like the way to go. Any Ideas?
Cheers,
Mike
First and foremost, make sure you pick something that's supported on your web server of choice. There's no sense trying to add JSP servlets to your page if it only supports PHP, or whatever.

Second, as stated, CGI is an interface, not a language. The main downside to CGI is that it is (usually- it depends on how the server works) not as efficient as something like JSP for trivial tasks, since there is significant overhead with the creation and termination of threads (some servers reduce this performance hit by having a pool of idle tasks or using other such tactics). Thus, if you're using it for basic forms submission, etc, it is not going to be the ideal solution. If you're using it to do more in-depth tasks (say, dynamically create large images), it might be more efficient, depending on the language you use. The strength of CGI is you can leverage (yeah, industry buzzword) your skills in pretty much any language. Simply put, if your language of choice can read environment variables and write to standard output, you can write CGI programs in it. The server handles redirection of the output to the browser.

[edit] You should also read about the difference between 'server side' and 'client side' if you are unclear on this. Often, doing stuff server side is more sensible, because you a) aren't (as) dependant on script support from the browsers, b) less data needs to be sent to the client, and c) it's more secure. Of course, it also means more work for your server, which could become a problem with a popular site (but for a personal home page, it's likely a non-issue). [/edit]
__________________
And once again, Probability proves itself willing to sneak into a back alley and service Drama as would a copper-piece harlot.
- Vaarsuvius, Order of the Stick
lectricpharaoh is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
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




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 5:24 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC