CodeIgniter for Rapid PHP Application Development
|Also available on:|
- Clear, structured tutorial on working with CodeIgniter
- Careful explanation of the basic concepts of CodeIgniter and its MVC architecture
- Using CodeIgniter with databases, HTML forms, files, images, sessions, and email
- Building a dynamic website quickly and easily using CodeIgniter's prepared code
Book DetailsLanguage : English
Paperback : 260 pages [ 235mm x 191mm ]
Release Date : July 2007
ISBN : 1847191746
ISBN 13 : 9781847191748
Author(s) : David Upton
Topics and Technologies : All Books, Web Development, Open Source, PHP
Table of Contents
Chapter 1: Introduction to CodeIgniter
Chapter 2: Two Minutes' Work: Setting up a CodeIgniter Site
Chapter 3: Navigating Your Site
Chapter 4: Using CI to Simplify Databases
Chapter 5: Simplifying HTML Pages and Forms
Chapter 6: Simplifying Sessions and Security
Chapter 7: CodeIgniter and Objects
Chapter 8: Using CI to Test Code
Chapter 9: Using CI to Communicate
Chapter 10: How CI Helps to Provide Dynamic Information
Chapter 11: Using CI to Handle Files and Images
Chapter 12: Production Versions, Updates, and Big Decisions
Chapter 13: Instant CRUD—or Putting it All Together
Chapter 14: The Verdict on CI
Chapter 15: Resources and Extensions
Download the code and support files for this book.
Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.
Errata- 10 submitted: last submission 11 Nov 2013
Errata type: Code | Page number: 9
The very last line on this page is incorrect:
echo anchor(start/hello/fred, Say hello to Fred);
it should read:
echo anchor('start/hello/fred', 'Say hello to Fred');
Errata type: Typo | Page number: 28
Under the MVC - Just Another Acronym? heading, second bullet point for Views, second line.
"Although they are normally HMTL views" should say "Although they are normally HTML views."
Errata type: Code | Page number: 32
In the section "Working with Views," the author says that the controller calls the "welcome_view" view.
it actually calls the "welcome_message" view.
Errata type: Typo | Page number: 42
Last para, URL should be http://127.0.0.1/index.php/start/hello/fred and the following sentence should be revised, as "it is looking for the hello function we wrote in the start controller."
Errata type: Typo | Page number: 44
Last 'real' text line should probably be:
but the callmodel function would exiSt only to call a function in the model.
Now it says exit in stead of exist.
Errata type: Code | Page number: 46
The code snippet after the first paragraph is missing a dollar sign to indicate that 'this' is a variable.
I.e., instead of
it should read:
Errata type: Typo | Page number: 48
second line below the big code block: exAplanation ? ;)
Errata type: Code | Page number: 48
The second line below the big code block has the words "exAplanation" listed incorrectly
it should be "explaination"
Errata type: Code | Page number: 57
$this->db->select('url','name','clientid','people.surname AS client');
$this->db->select ('url,name,clientid,people.surname AS client');
Errata type: Typo | Page number: 129
First paragraph, last sentence. Shouldn't it be the other way around. The first array contains files that have been added.
What you will learn from this book
- Setting up the CI package on your web server
- Understanding the Model-View-Controller (MVC) pattern for organizing a dynamic website
- Understanding the structure of a CI site
- Designing better views and controllers
- Object-oriented aspects of CI
- Integrating databases such as MySQL and simplifying your database access
- Making your site more robust and professional by using CI's built-in classes
- Creating and validating HTML forms with CI form helpers
- Handling files, images, and sessions with CI
- Sending email from CI
- Using CI for testing your code with error handling, unit testing, benchmarking, and profiling
- Getting an XML-RPC server and client working
- Generating Create, Update, Delete, and Read (C.R.U.D) entries on each database table
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.
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.
Improve your PHP coding productivity with this guide to the powerful and popular CodeIgniter framework.
This book steps you through the main features of CodeIgniter in a systematic way, explaining them clearly with illustrative code examples.
Who this book is for
This book is for developers who are new to CodeIgniter. Basic skills in PHP and MySQL are required, but only rudimentary object-oriented knowledge is required.
If you're looking for a better way to develop PHP applications, or want to find out more about the CodeIgniter framework as a viable option for one of your own projects, this book will help you.