Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Josh Sharp's Blog:
Why you should be using a framework
Oct 23, 2007 @ 22:52:00

Josh Sharp has posted a new article to his blog advocating something that there's still a lot of controversy around in the PHP community - frameworks (when to use them and when to not).

PHP's ease of use is also its downfall. Because there are less restrictions on the structure of the code you write, it's much easier to write bad code. But there is a solution: use a framework. [...] Of course, if you're not taken with any of the packages above you can also write your own framework, which I've done and will talk about in the next few posts. But for now, let's have a look at the common benefits of a framework.

He's broken it out to talk about the usual framework structure, MVC and how a framework can enforce good code standards. He also mentions some happy side benefits of their use including making for "pretty URLs" and the helpers that most of the frameworks come with.

tagged: why use framework mvc codingstandards helper efficient why use framework mvc codingstandards helper efficient

Link:


Trending Topics: