The future of dynamic web content languages

agnitrate

Diamond Member
Jul 2, 2001
3,761
1
0
I'm still in the designing stages of my web site back end and I'm torn between using PHP or some alternative that is a bit more 'secure'.

PHP has been known to be used by people very new to scripting (i.e. me) and their inability to produce secure PHP is difficult due to the fact that the language isn't very helpful in keeping their scripts secure. Due to PHP's very lax nature of coding, ugly scripts are easy to produce very quickly with no adherence to OOP principles and they quickly become a mess when scaling to large projects. So what is the alternative to PHP if you're interested in good principles as well as the actual function of the script?

Ruby seems promising although many hosts don't support it by default. ASP is typically windows-only even though there are ways (hacks) to get it to run on top of Apache. ColdFusion isn't commonly available for free. CGI via PERL is said to be too archaic by some and more daunting to use. What does that leave us? .NET and JSP? They seem promising, but I have little experience with either so I cannot comment on them.

What are actual large-scale developers using for dynamic pages? I know that JSP is favored by many and should have a good market in the future. I want to know what the industry feels about the status of these languages and where they will take us in the future. This may turn into a "my language is better than yours" post, but I'd like to hear what people think.
 

MrChad

Lifer
Aug 22, 2001
13,507
3
81
Just because lots of people write bad PHP code doesn't make it a bad language. (Of course, I don't have any experience with PHP; my comment is based solely on your description).

Many enterprises use .NET and JSP for large scale deployments, but you can easily write "insecure" code in any web development language.
 

DJFuji

Diamond Member
Oct 18, 1999
3,643
1
76
ASP.NET and java are enterprise development languages-- they allow you to maintain huge projects that would otherwise be overwhelming in a technology like classic ASP or PHP. I personally love ASP.NET. THeres a bit of a learning curve but once youre over there, development (of web apps anyway) is very quick.
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0
Hardened PHP might be a good solution.

"Whatever google uses" is an interesting answer, but remember they're hiring some of the best of the best. ;)