When a design pattern has been proven in web development, then there is the Model-View-Controller pattern or just MVC. I have long been looking for a PHP framework that implements MVC consistently shoots but not the same as using a sledgehammer to crack a nut. Fleet Footed (or "New German" lightweight) object-oriented and it should be. PHP Fame Works such as Zend, CakePHP and Symphony are as likely to race cars. Although they set perfectly to MVC, object-oriented they are, but light-footed is different.
So I'm on CodeIgniter encountered, what is claimed by a "narrow base" (small footprint) to come along. The installation is ever easy. The ZIP in "DocumentRoot" Unpacking the Web server, rename the directory and the full URL for the website in the configuration file system/application/config/config.php specify.
'base_url' ] = "http://localhost/allMedia/" ; $ Config ['base_url'] = "http://localhost/allMedia/";
And you can already write his first one.
Controller { extends Controller {class books
... some logic ...
/ / Build view
load -> view ( 'common/header' , $headerdata ) ; $ This -> load -> view ('common / header', $ header data);
load -> view ( 'book/list' , $data ) ; $ This -> load -> view ('book / list', $ data);
load -> view ( 'common/menu' , $menudata ) ; $ This -> load -> view ('common / menu', $ menudata);
load -> view ( 'common/footer' ) ; $ This -> load -> view ('common / footer');
} CodeIgniter is able to assemble parts of a view before shipping. Templates are supported but not required.
For me, this framework brings everything to what I need:
- the MVC design pattern
- consistent object-oriented
- Performance
- nice URL's
- Helper classes (eg for paging)
- good integration of doctrine as an OR Mapper
- not to mention a good documentation
"The fire is kindled in me" and implemented a small project already with CodeIgniter. So if Zend and Co. are too complex, should take a look at CodeIgniter a little more closely. It's worth it.
When a design pattern has been proven in web development, then there is the Model-View-Controller pattern or just MVC. I have long been looking for a PHP framework that implements MVC consistently shoots but not the same as using a sledgehammer to crack a nut. Fleet Footed (or "New German" lightweight) object-oriented and it should be. PHP Fame Works such as Zend, CakePHP and Symphony are as likely to race cars. Although they set perfectly to MVC, object-oriented they are, but light-footed is different. So I came across CodeIgniter, which is claimed by a "small foot" (small footprint) to come along. The installation is ever easy. The ZIP in "DocumentRoot" Unpacking the Web server, rename the directory and enter the full URL for the website in the configuration file system / application / config / config.php. $ Config ['base_url'] = "http://localhost/allMedia/": And now you can write his first one. extends Controller {class books ... some logic ... / / Build view $ this-> load-> view ('common / header', $ header data), $ this-> load-> view ('book / list', $ data) $ this-> load-> view ('common / menu', $ menudata), $ this-> load-> view ('common / footer');} CodeIgniter in a position of a view is to assemble parts before shipping. Templates are supported but not required. For me personally this framework all with what I need: the MVC design pattern consistent object-oriented performance pretty URL's helper classes (such as for paging) good integration of doctrine as an OR mapper, not to mention a good documentary "The fire is in my lit" and already implemented a small project with CodeIgniter. So if Zend and Co. are too complex, should take a look at CodeIgniter a little more closely. It's worth it.
gklinkmann written by \ \ tags: frameworks , open source , php