Hard Light Productions Forums
Off-Topic Discussion => General Discussion => Topic started by: GO_Saturn on February 09, 2006, 08:24:57 pm
-
Ok im about to start this video review site and iwas wondering if i should have the submission thingy coded in ASP java ,perl PHP or whatever .... could you guys be so nice to list the pro's and con's of each ?
and why i should go with that language?
thanks...
-
PHP, that's all I've ever seen used alot. Java is usually slow at times so, I'd say no. I don't know enough about Perl to coment.
-
Server-side: ASP, PHP, CGI
Client-side: Java, Javascript, etc
Since this is a submission system, you'll need a server-side component anyway. I'd advise sticking to basic HTML forms for the client-side stuff (the actual web page).
Perl comes under the heading of CGI, which is the Common Gateway Interface. It basically lets the webserver run an external program, so you can use pretty much anything, not just Perl, that will run on the server.
The decision to use PHP or ASP will depend on the hosting service. If they're using IIS, you'll likely be forced to use ASP. Otherwise PHP is the way to go.
CGI apps are fast. They can be written in Perl, shellscript, Ruby, etc or they can be compiled executable programs (which can be written in anything that compiles). They are sometimes easier to set up than PHP or ASP, but typically require a more complex webserver security configuration.
PHP and ASP are good for small things that only require a few tens of lines. They can be encapsulated in an HTML page too, so as long as the security model is set up correctly you can simply embed them in your HTML.
For a submission system, the KISS principle suggests PHP or ASP. You don't need the speed or power of CGI.
-
ok thanks alot man i appreciate you taking the time to answer my question Descenterac