Author Topic: One Question...  (Read 761 times)

0 Members and 1 Guest are viewing this topic.

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...


 

Offline achtung

  • Friendly Neighborhood Mirror Guy
  • 210
  • ****in' Ace
    • Freespacemods.net
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.
FreeSpaceMods.net | FatHax | ??????
In the wise words of Charles de Gaulle, "China is a big country, inhabited by many Chinese."

Formerly known as Swantz

 
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.
'And anyway, I agree - no sig images means more post, less pictures. It's annoying to sit through 40 different sigs telling about how cool, deadly, or assassin like a person is.' --Unknown Target

"You know what they say about the simplest solution."
"Bill Gates avoids it at every possible opportunity?"
-- Nuke and Colonol Drekker

  
ok thanks  alot man i appreciate  you taking the time  to answer my question Descenterac