News for hackers. Stuff that matters.
Re:What do hackers think of PHP? by simonw on Monday May 05, 2008 @12:52PM (#181573)
It's a fine backend language for a small to medium sized website, but you need to be aware that at a certain size (in terms of complexity of the application you are building) you'll often find yourself fighting against the language. That's not to say you can't build large applications in PHP, just that you need a great deal of discipline to do so. You'll either need to adopt one of the MVC frameworks (Symfony for example) or roll your own. A lot of the features in the framework you chose will be workarounds for limitations in PHP itself (such as its lack of decent namespacing and poorly designed database access primitives).
Re:What do hackers think of PHP? by ssharp on Monday May 05, 2008 @01:25PM (#181600)
Yeah, it's perfect for your little side projects that will never grow or have lots of traffic. You know, like Facebook.
Re:What do hackers think of PHP? by simonw on Monday May 05, 2008 @05:22PM (#181870)
Quoting myself: "That's not to say you can't build large applications in PHP, just that you need a great deal of discipline to do so."
Re:What do hackers think of PHP? by sanswork on Monday May 05, 2008 @01:04PM (#181581)
Out of curiosity could you give an example of a language where this isn't the case? As far as requiring a framework of sorts when dealing with large sized/complex websites?
Re:What do hackers think of PHP? by simonw on Monday May 05, 2008 @01:24PM (#181598)
No, but if you're using Python or Ruby at least you won't need framework features that work around problems with your core language.

My point about using a framework wasn't to knock PHP; it was more a piece of advice - "if you do use it, you'll need to be aware of this".