CodeIgniter 1.7 professional development


If you we`re intested in CodeIgniter 1.7 by Packt Publishing I have good news, the followup “CodeIgniter 1.7 professional development” will be released next month.

The book contains the following content:

  • Learn the Model-View-Controller design pattern to structure your code
  • Create more readable and maintainable queries using the Active Record implementation
  • Create and maintain database tables using the Database Forge class
  • Authenticate users using Twitter oAuth and Facebook Connect
  • Create your own Authentication Library for more control over your user accounts
  • Secure your application using CodeIgniter’s built-in functionality and some quick tips to help further
  • Build a RESTful Web Service, opening up your application to third-party developers
  • Create extended Controllers, grouping functionality into multiple Controllers helping to keep repeated code to a minimum
  • Learn techniques used by professionals to scale CodeIgniter over multiple servers
  • Learn top tips for releasing code to the community and giving support to the developers using your code

More information about the book can be found at

CodeIgniter 1.7 by Packt Publishing review

Pack Publishing asked me to do a review of their “CodeIgniter 1.7” book.
Since I’m familiar with Packt Publishing and books (not with reviewing) I said I’ll give it a go.

This book is for PHP programmers who are familiar or unfamiliar with model-view-controller framework CodeIgniter. After reading this book you should be able to use most of CodeIgniter`s features and make your own scripts which run on CodeIgniter.

CodeIgniter (CI for short) is an Open-Source PHP Model-View-Controller (MVC) framework. Multiple studies concluded that CodeIgniter is faster and lighter than other PHP frameworks like CakePHP and Zend Framework.  This book is targeted at PHP programmers who want to save time, effort and cost by switching to the CodeIgniter framework.

There are several benefits of CodeIgniter:

  • It runs on PHP 4 and
  • It generates clean urls (using mod_rewrite)
  • It’s extensible
  • It doesn’t require a template engine
  • It’s well documentated (especially when reading this book!)
  • It`s free!
  • It’s safer
  • It saves you loads of time

For a full list of features I recommend you read this link.

Before reading this book I had no experience with MVC. I do have some experience with PHP/SQL and much experience with HTML/XHTML.
The books requirements are basic knowledge of HTML and PHP. Basic knowledge of (My)SQL is also recommended.

The book covers the following topics:

  • Installing CodeIgniter
  • Creating a basic CodeIgniter page
  • Use CodeIgniter to connect to a database and execute read queries
  • Creating HTML pages and forms
  • Using sessions and implement security systems like a login system
  • Object-oriented programming in CodeIgniter
  • Create your own CodeIgniter plugins
  • Communicate using FTP and XML-RPC
  • Using CodeIgniter to provide dynamic information (for the constructions of calendars and translations)
  • Handle files (up and downloading) and images
  • Putting your site online, useful tips and trick to avoid errors
  • Advice about upgrading CodeIgniter
  • Create, Read, Update, Delete; create your first fully database powered script
  • In general, how codeigniter works and what the benefits are
  • Writers recommendation plugins
  • Additional resources (browser plugins, webserver software, literature)
  • Appendix: using codeigniter`s cart function to create a shopping cart

After reading the book I’m able to create and enhance websites with features found in the book. I can now tell my customers I make some “advanced” script myself.

The book still leaves me with few questions about advanced topics like database query caching. The book points to the CodeIgniter user guide (online), which fed my information hunger.

The book fulfilled my expectations.

I’ve placed the book in reach of my desktop. Programming can be overwhelming although CodeIgniter makes life easier. I’m happy to have this book in my bookcase! I’m very sure I’m going to use it on my next big PHP project.

I recommend this book to all PHP programmers who are looking for a framework to lower the workload. After reading this book you’re ready to replace most PHP scripts by your own custom made scripts based on CodeIgniter.

A sample chapter can be found here. It’s chapter 3: “Navigating your site”.

If you’re interested and read more, or buy the book you should check out this link.

CodeIgniter 1.7


I`ve decided to go with CodeIgniter as PHP Model-View-Controller framework.
To learn the basics of this open source framework I`ve chosen for the CodeIgniter 1.7 book by Packt Publishing.

The book describes how to start with CodeIgniter beginning with the installation. The first steps followed by connecting databases, creating HTML pages and forms, using sessions and add security etcetera. The final chapters include more advanced features like dynamic information and uploads.

My review of this book will be online somewhere in january.

A sample chapter, which describes the basics of MVC and CodeIngiter can be found here.

More information about the book and and a link to buy it can be found here.