Cover image for CodeIgniter 2 Cookbook.
CodeIgniter 2 Cookbook.
Title:
CodeIgniter 2 Cookbook.
Author:
Foster, Rob.
ISBN:
9781782162315
Personal Author:
Physical Description:
1 online resource (306 pages)
Contents:
Cover -- Copyright -- Credits -- About the Author -- About the Reviewers -- www.PacktPub.com -- Table of Contents -- Preface -- Chapter 1: CodeIgniter Basics -- Introduction -- Downloading and installing CodeIgniter -- Basic configuration options -- Managing CodeIgniter on different environments -- Managing database settings on different environments -- Securing the system files -- Removing index.php from the address bar using .htaccess -- Installing and using Sparks -- Chapter 2: User Management -- Introduction -- Viewing users -- Creating users -- Editing users -- Deleting users -- Generating passwords with CodeIgniter -- Generating passwords with CodeIgniter - the bare bones -- Forgot password? - resetting passwords with CodeIgniter -- Chapter 3: Creating E-commerce Features -- Introduction -- Amending configuration settings to run sessions in a database -- Creating a basic cart -- Adding and searching by product categories -- Saving the cart to the database -- Chapter 4: Email, HTML Table, and Text Libraries -- Introduction -- Sending plain e-mails with CodeIgniter Email -- Sending HTML e-mails with CodeIgniter Email -- Sending attachments with CodeIgniter Email -- Sending bulk e-mails with CodeIgniter Email -- Using an HTML table with DataTable -- Using an HTML table with DataTable and a database -- Using word_limiter() for table output -- Using word_censor() for cleaning input -- Chapter 5: Managing Data In and Out -- Introduction -- Sending different data to multiple views -- Validating user input -- Preparing user input -- Sticky form elements in CodeIgniter -- Displaying errors next to form items -- Reading files from the filesystem -- Writing files to the filesystem -- Creating and downloading ZIP files -- Uploading files with CodeIgniter -- Creating and using validation callbacks -- Using the language class.

Confirming cookie acceptance from the user -- Chapter 6: Working with Databases -- Introduction -- Configuring CodeIgniter for databases -- Connecting to multiple databases -- Active Record - create (insert) -- Active Record - read (select) -- Active Record - update -- ActiveRecord - delete -- Looping through the database results -- Counting the number of returned results with num_rows() -- Counting the number of returned results with count_all_results() -- Query binding -- Finding the last insert id -- Finding the number of affected rows -- Finding the last database query -- Using CodeIgniter database migrations -- Moving to the current version with current() -- Rolling back/stepping forward with version() -- Generating an XML from a database result -- Generating a CSV from a database result -- Chapter 7: Creating a Secure User Environment -- Introduction -- Escaping user input -- Preventing cross-site request forgery -- Escaping data - for a database -- Using HTTPS with CodeIgniter -- Chapter 8: Calendaring, Right Place, and Right Time -- Introduction -- Building a CodeIgniter Calendar helper with database results -- Building an appointment manager with Calendar Library -- Creating a helper to work with a person's date of birth -- Working with fuzzy dates in CodeIgniter -- Chapter 9: Extending the Core -- Introduction -- Using CodeIgniter Sparks -- Creating PDFs with the DOMPDF Spark -- Creating Hooks in CodeIgniter -- Clearing dead sessions from the database -- Extending your controllers -- Uploading a file with FTP -- Creating libraries and giving them access to CodeIgniter resources -- Making your own configuration files and using the settings -- Using the language class - switching language on the go -- Chapter 10: Working with Images -- Introduction -- Installing ImageMagick on MAC with Cactuslab -- Uploading images with CodeIgniter.

Generating thumbnails - resizing -- Rotating images -- Cropping images -- Adding watermarks with text -- Adding watermarks with image overlays -- Submitting a form with CodeIgniter CAPTCHA -- Chapter 11: SEO, Caching, and Logging -- Introduction -- Using SEO-friendly URLs in CodeIgniter -- Using CodeIgniter caching -- Logging errors with CodeIgniter -- Benchmarking your application -- Index.
Abstract:
Presented in a recipe-based format, you are led step-by-step through each aspect of CodeIgniter, allowing you to dip in and out as you choose.CodeIgniter 2 Cookbook is for intermediate to advanced PHP developers who want to begin using the powerful CodeIgniter framework to create web applications. Familiarity with CodeIgniter isn't essential, but it will be useful if you have been introduced to the framework before.
Local Note:
Electronic reproduction. Ann Arbor, Michigan : ProQuest Ebook Central, 2017. Available via World Wide Web. Access may be limited to ProQuest Ebook Central affiliated libraries.
Electronic Access:
Click to View
Holds: Copies: