Lit JAMS are a series of AMP-Platform exercises that use the CodeIgniter framework.
CodeIgniter is a PHP framework based on the Model-View-Controller (MVC) design pattern. The MVC design pattern organizes code into modules, based on the code's function.
- Models deal with data, calculation and interfacing with the database.
- Views deal with presentation, the user interface and the browser.
- The Controller is somewhat like a "director", handling the sequence and flow of information.
The controller will call the model's functions for fetching data, then pass that data to the view, where it is used to compose the web page presented in the browser.
CodeIgniter projects are set up quite differently than the projects in the first set of JAMS, although many details are the same. The Lit JAMS will start with how to set up a CodeIgniter project, then proceed to build CodeIgniter versions of The JAMS.
Be sure to check the CodeIgniter Resources page For links, downloads and information that will help you get started.
The WELCOME
Install CodeIgniter and get the CodeIgniter "Welcome" screen working. Controllers and Views.
Lit LIST
Draw a list CodeIgniter-style. Configuration settings, site_url(), database connection, autoloading libraries, constructor functions and Models. Plus GUITARS! What's an AMP JAM without guitars??
Lit FORM
The Contact Form, CodeIgniter-style! Use AJAX and MVC to write data to the database.
Lit SITE
Put it all together into a SITE, with accounts and sessions. This project will provide you with all the basics you need to start developing your own CodeIgniter MVC Projects.
Lit RESET
Fix the Flaming FORGOT! Reset a forgotten password the CodeIgniter way.