5 Comments
- shyboyswin, on 10/12/2007, -0/+4"It's become the next generation of VB garbage".
- inactive, on 10/12/2007, -0/+2The biggest problem with PHP is it's got a massive 'market' of teenagers slapping together ugly-assed spaghetti crap and then calling it "an open source project" and sharing it. Then they go on to writing tutorials to share their "knowledge" with other learners and you end up with awful examples teaching more people terrible practices in PHP.
eg: http://code2design.com/the_sqlite_database_handler_class
Methods outside the class, only for use within the class ... hardcoding any page that uses this code to not cache ... and the only commenting is a little self-congratulations at the top.
http://ehlo-localhost.com/2007/02/06/postcard-tutorial/
A great way to encourage and enable spammers to do their stuff and get some poor hosting company's ip addresses blacklisted.
http://whoyouknow.co.uk/php/shop/
Have some SQL injection free with this half-arsed shopping cart tutorial. - jasonsalas, on 10/12/2007, -0/+1I've got no problem with PHP as a language, it's just messy. And the API is mammoth (this is debatable, because while I don't personally appreciate this aspect of the platform, I know people who love having most conceivable functionality ready to go by default, even if it means bloating the core library). IMHO, it just makes for everything we tried to get away from in 2000-2001. I did ASP 3.0 for several years and hated creating a form and then a script to process it and incessantly mixing code and markup.
JSP, ColdFusion and ASP.NET are meant to be more structured, and de facto organization or apps created with those platforms has a lot to do with that. I love Ruby on Rails, but the one criticism I've got against it is the return to spaghetti code and mixing scriptlets and programming logic with HTML layout. - jenkins86, on 10/12/2007, -0/+1I'd say that VB is better than PHP. At least it offers some degree of structure.
- jameshamilton, on 10/12/2007, -0/+0Thanks for your comment about my half-arsed tutorial. Greatly appreciated, all feedback welcome.
Missed the SQL Injection flaw, I'm obviously not perfect like you.
Thanks.


What is Digg?