CHAPTER 23

Images

CodeIgniter: MVC

We have our work cut out for us, with CodeIgniter. It does provide us with controllers, models, and views with which to build all the functionality our social network needs, but they are little more than empty containers. We have grown accustomed to have an ORM in our models, yet CodeIgniter provides none of this. We are also used to having autoloaded classes within our controllers, yet CodeIgniter makes us load our own classes. We are used to a rich templating language in our views, yet CodeIgniter provides a stunted template parser and even encourages PHP directly in view templates.

Goals

  • We need to recognize the ...

Get Pro PHP MVC now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.