Up and Running with PHP CodeIgniter

1h 30m – Intermediate

Speed up your development with CodeIgniter, a fast and powerful PHP web application framework. Author Jon Peck shows how to build a magazine cataloging system while describing how to use a MVC (Model-View-Controller) framework like CodeIgniter.

Starting with the what and why of CodeIgniter, Jon introduces key concepts such as the MVC pattern and libraries by demonstrating how to create static pages, then storing and displaying magazine info in a database. Advanced topics like classes and helpers are explored to validate user input, upload files, and much more. By creating a complete system, you’ll have the foundation to build your own applications with CodeIgniter.

Topics include:
What is CodeIgniter?
Creating a static page controller
Generating output with a view
What is a model?
Saving data with Active Records
Creating forms
Validating user input
Listing records in tables
Uploading images
Viewing and deleting records

Introduction – 5m 32s
Welcome – 48s
Exercise files – 3m 14s
What you should know – 1m 30s

1. First Steps with CodeIgniter – 16m 34s
What is CodeIgniter and why should I use it? – 3m 11s
Introducing the MVC development pattern – 2m 28s
Installing CodeIgniter – 3m 14s
Creating a static page controller – 4m 14s
Generating output with a view – 3m 27s

2. Modeling Magazines in the Database – 24m 3s
What is a model and how is it used? – 1m 29s
Modeling a magazine – 4m 11s
Saving magazines using active records – 13m 14s
Displaying a magazine – 5m 9s

3. Adding Functionality with Libraries – 22m 2s
What are CodeIgniter libraries? – 1m 7s
Creating a form to add magazines – 6m 4s
Validating user input with the form validation library – 6m 56s
Getting user input securely – 2m 28s
Listing magazines with tables – 5m 27s

4. Saving Time with Helpers – 19m 55s
Using a helper to perform tasks – 50s
Avoid reinventing the wheel with the Form Helper – 4m 9s
Uploading images with the File Uploading class – 6m 36s
Viewing and deleting magazines – 8m 20s

Conclusion – 2m 27s
Where to go from here – 1m 46s
Farewell – 41s

Facebook Comments