News Feed
Sections




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

Phil Bennett:
Do We Need a Framework For That? Or Hurry Up PHP-FIG
April 10, 2013 @ 13:38:48

In this recent post to his site, Phil Bennett shares some thoughts about the PHP-FIG, the standards they're proposing and how the shares interfaces might help reduce dependencies in framework-based applications.

[Frameworks] come in several different flavours that all have huge advantages, but also a few disadvantages. Over engineered (because their popularity demands that they be), updated too often, not updated enough. If you decide for example to update your application from using Zend Framework 1 to using Zend Framework 2, this will more than likely require, at least in part, a re-write of your code. This makes scalability difficult.

He talks some about the PSRs that the PHP-FIG group has proposed including the PSR-3 logging interface structure. He points out that, by having this same structure, it makes injecting dependencies easy while still leaving the actual functionality open to interpretation. He also suggests that maybe a framework isn't the right choice for all applications and that possibly using a collection of libraries, tied together by the PSR standards, could be a better answer.

0 comments voice your opinion now!
phpfig psr framework interface shared standard

Link: http://happyaccidents.me/blog/do-we-need-a-framework-for-that

blog comments powered by Disqus

Similar Posts

Palmcoder.net: Ruby on Rails for PHP developers

Paul Jones' Blog: Solar 0.20.0 released

PHPKitchen: Seagull 0.6.0 Released

PHPMaster.com: Create a Podcast Feed with PHP

Felix Geisendörfer's Blog: Learning from the CakePHP source code - Part 2


Community Events

Don't see your event here?
Let us know!


security podcast threedevsandamaybe series library language extension laravel version introduction framework unittest interview release opinion api laravel5 voicesoftheelephpant symfony community

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework