Framework update.

This commit is contained in:
Phil Sturgeon
2012-07-13 17:39:55 +01:00
parent 7005980614
commit 9a1f4bc6b2
4 changed files with 19 additions and 28 deletions

View File

@@ -1,28 +0,0 @@
# Libraries and Frameworks
## Web Frameworks
Rather than re-invent the wheel, many PHP developers use _frameworks_ to build out web applications. Frameworks abstract away many of the low-level concerns and provide helpful, easy-to-use interfaces to complete common tasks.
_You do not need to use a framework for every project_. Sometimes, plain PHP is the right way to go. But if you do need a framework, here are a few of the most popular ones (in alphabetical order):
### Full-Stack Frameworks
* [CakePHP](http://cakephp.org/)
* [CodeIgniter](http://codeigniter.com/)
* [FuelPHP](http://fuelphp.com/)
* [Kohana](http://kohanaframework.org/)
* [Laravel](http://laravel.com/)
* [Lithium](http://lithify.me/)
* [SolarPHP](http://solarphp.com/)
* [Symfony](http://symfony.com/)
* [Yii](http://www.yiiframework.com/)
* [Zend Framework](http://framework.zend.com/)
### Micro Frameworks
* [Fat-Free](http://bcosca.github.com/fatfree/)
* [Limonade](http://limonade-php.github.com/)
* [MicroMVC](http://micromvc.com/)
* [Silex](http://silex.sensiolabs.org/)
* [Slim](http://www.slimframework.com/)

View File

@@ -0,0 +1,19 @@
# Frameworks
Rather than re-invent the wheel, many PHP developers use frameworks to build out web applications. Frameworks abstract away many of the low-level concerns and provide helpful, easy-to-use interfaces to complete common tasks.
You do not need to use a framework for every project. Sometimes plain PHP is the right way to go, but if you do need a framework then there are three main types available:
* Micro Frameworks
* Full-Stack Frameworks
* Component Frameworks
Micro-frameworks are essentially a wrapper to route a HTTP request to a callback, controller, method, etc as quickly as possible, and sometimes come with a few extra libraries to assist development such as basic database wrappers and the like. They are prominently used
to build remote HTTP services.
Many frameworks add a considerable number of features on top of what is available in a micro-framework and these are known Full-Stack
Frameworks. These often come bundled with ORMs, Authentication packages, etc.
Component-based frameworks are collections of specialized and single-purpose libraries. Disparate component-based frameworks can be used together to make a micro- or full-stack framework.
* [Popular PHP Frameworks](https://github.com/codeguy/php-the-right-way/wiki/Frameworks)