Book Image

CodeIgniter for Rapid PHP Application Development

By : David Upton
Book Image

CodeIgniter for Rapid PHP Application Development

By: David Upton

Overview of this book

<p>CodeIgniter (CI) is a powerful open-source PHP framework with a very small footprint, built for PHP coders who need a simple and elegant toolkit to create full-featured web applications. CodeIgniter is an MVC framework, similar in some ways to the Rails framework for Ruby, and is designed to enable, not overwhelm.<br /><br />This book explains how to work with CodeIgniter in a clear logical way. It is not a detailed guide to the syntax of CodeIgniter, but makes an ideal complement to the existing online CodeIgniter user guide, helping you grasp the bigger picture and bringing together many ideas to get your application development started as smoothly as possible.</p>
Table of Contents (21 chapters)
CodeIgniter for Rapid PHP Application Development
Credits
About the Author
About the Reviewers
Preface
Index

Summary


We've looked at ways in which CI generates 'views', and how it allows you to create 'mini-views', which you can nest inside other views. This means that you can set up a title page, or a part of your display, once, and then use it over and over again, keeping your display separated from your content.

We've also seen how CI helps you through the chore of writing HTML forms, with a set of helpers that simplify the process and cut down on actual coding.

Lastly, we've looked at CI's validation class, which is a powerful tool for keeping an eye on what your users actually try to enter. Nothing's perfect, but this goes a long way towards stopping users form entering rubbish, or trying to exploit security holes in your site. It also looks much more professional when your site politely but firmly catches out user mistakes, rather than silently accepting meaningless entries.

On the way, we've also looked at the MVC process again, and made a choice between the strict application of MVC principles...