Codeigniter gives you a directory structure of a proper MVC pattern along with a lightweight built-in templating engine of its own. It requires a very minimal setup, unlike the famous PHP framework, Zend. To do this, let's create a class called Hello which will be written in the file called hello.php, stored inside system/application/controllers/ folder.

5m read timeFrom dzone.com
Post cover image
Table of contents
Using Proper FrameworksLet’s Get started with CodeIgniterDissect the code

Sort: