Click to See Complete Forum and Search --> : which scripting language to use?


pablowablo
December 2nd, 2004, 11:41 PM
Hello,

Can anyone help me deciding what scripting language to use/learn for a website.

Basically the website is for a group of people (registered), so there has to be accounts... non-registered users can also view the site but to a limited extent.

So there are some sites that are available to non-registered and some not available to them, unless they become a member...

Also the webserver is not on my pc, so the files has to be uploaded somewhre... Im currently learning CGI with perl, using apache webserver.... I can see some lessons on securing folders, but these folders reside on my computer... I wonder if it will still work if I upload the webpages ... also where would the database reside?

So my question is, can I use CGI-perl on my website with the following assumptions.
1. password protection of some web pages
2. must keep track of registered accounts
3. pages reside on a host site.


databases can be used, im quite comfortable with databases but have no experience within a website context...

What would be the best language to use here? Any tips on what I should learn, and some links would be greatly appreciated..


thanks

khp
December 3rd, 2004, 09:17 PM
I wonder if it will still work if I upload the webpages.


That depends how closely the configuration of your system, matches the webserver, and how closely your scripts need the configuration to match.
There is only one way to know, try...


also where would the database reside?


Preforably on the same server as the website, or at least with the same hosting company. Most web hosts that provide PHP/perl cgi scripting also provides a mysql database.



So my question is, can I use CGI-perl on my website with the following assumptions.
1. password protection of some web pages
2. must keep track of registered accounts
3. pages reside on a host site.


Of course it's possible to make secure websites using perl, of course it's got a lot more to do with the quality of your scripts than any of the above. But then again it's possible to make insecure sites in any serverside scripting language....
And obviously you will need to sign up with a web host that allows perl as a CGI scripts.


What would be the best language to use here? Any tips on what I should learn, and some links would be greatly appreciated..


This beeing the PHP forum I pretty much has to recommend that.