corsasport.co.uk
 

Corsa Sport » Message Board » Off Day » Geek Day » Javascript vs CGI


New Topic

New Poll
  Subscribe | Add to Favourites

You are not logged in and may not post or reply to messages. Please log in or create a new account or mail us about fixing an existing one - register@corsasport.co.uk

There are also many more features available when you are logged in such as private messages, buddy list, location services, post search and more.


Author Javascript vs CGI
1.6Sport
Member

Registered: 2nd Nov 04
Location: Fife
User status: Offline
28th May 08 at 15:10   View User's Profile U2U Member Reply With Quote

Can someone tell me some advantages of using Javascript over CGI.
Why is Javascript better than CGI? Cheers
Doug
Member

Registered: 8th Oct 03
User status: Offline
28th May 08 at 15:41   View User's Profile U2U Member Reply With Quote

javascript is client side and CGI is server side.
1.6Sport
Member

Registered: 2nd Nov 04
Location: Fife
User status: Offline
28th May 08 at 15:43   View User's Profile U2U Member Reply With Quote

Would i be right in saying Javascript is fairly easy to code where as CGI is technically not a language, you have to use Perl or C or C++ to program in CGI
James
Member

Registered: 1st Jun 02
Location: Surrey
User status: Offline
28th May 08 at 16:11   View User's Profile U2U Member Reply With Quote

I wouldn't say Javascript is particularly easy.

What are you trying to achieve?
Ian
Site Administrator

Avatar

Registered: 28th Aug 99
Location: Liverpool
User status: Offline
28th May 08 at 16:57   View Garage View User's Profile U2U Member Reply With Quote

1999 want their exam question back.

CGI isn't a language, it's a technique. You have to use a language like Perl (old), C or C++ (compiled and generally only used where good utilisation of your hosting resources is required) or PHP or ASP which are both modern and in use these days.

PHP is generally hosted on Unix servers although Windows can do it, ASP is generally Microsoft only and although there is Unix server software that will dispense ASP it's not usually not such a robust solution.

PHP integrates well with MySQL database, both of which are open source which is why you'll generally see it on forum and non-profit type of web sites as well as larger apps which are also open source. CS is PHP/MySQL.

ASP integrates well with MS SQL Server and does trick things like NT Domain authentication and things of that nature. The latter is usually why you'll find it on company intranets.

Let me know my grade.

[Edited on 28-05-2008 by Ian]
ed
Member

Registered: 10th Sep 03
User status: Offline
28th May 08 at 17:25   View User's Profile U2U Member Reply With Quote

I'll give you a B+
liamC
Member

Registered: 28th Feb 04
User status: Offline
29th May 08 at 10:08   View User's Profile U2U Member Reply With Quote

quote:
Originally posted by Ian
1999 want their exam question back.

CGI isn't a language, it's a technique. You have to use a language like Perl (old), C or C++ (compiled and generally only used where good utilisation of your hosting resources is required) or PHP or ASP which are both modern and in use these days.

PHP is generally hosted on Unix servers although Windows can do it, ASP is generally Microsoft only and although there is Unix server software that will dispense ASP it's not usually not such a robust solution.

PHP integrates well with MySQL database, both of which are open source which is why you'll generally see it on forum and non-profit type of web sites as well as larger apps which are also open source. CS is PHP/MySQL.

ASP integrates well with MS SQL Server and does trick things like NT Domain authentication and things of that nature. The latter is usually why you'll find it on company intranets.

Let me know my grade.

[Edited on 28-05-2008 by Ian]


G (for Geek )

[Edited on 29-05-2008 by liamC]
xa0s
Banned

Registered: 4th Mar 08
Location: Dartford, Kent Car: Turbo'd Fabia vRS
User status: Offline
3rd Jun 08 at 04:49   View User's Profile U2U Member Reply With Quote

As Ian said -- two completely different things! It's like asking whether you should use sausages or eggs!

 
New Topic

New Poll

  Related Threads Author Forum Replies Views Last Post
After Constructice Criticism Bart Geek Day 41 2281
5th Sep 06 at 08:33
by James
 
bit of coding for a webpage Tantastic Geek Day 4 662
22nd Feb 07 at 23:31
by Tantastic
 
Javascript people Steve Geek Day 0 629
28th Apr 07 at 19:07
by Steve
 
Javascript function changing css? Rus Geek Day 1 646
22nd Jun 07 at 10:53
by Rus
 
Irmsher airdam Corsa_Quadz Help Zone, Modification and ICE Advice 3 475
6th Mar 08 at 07:59
by Fonz
 

Corsa Sport » Message Board » Off Day » Geek Day » Javascript vs CGI 29 database queries in 0.0123050 seconds