CodeIgniter 2 Cookbook.
In Detail As a developer, there are going to be times when you'll need a quick and easy solution to a coding problem. CodeIgniter is a powerful open source PHP framework which allows you to build simple yet powerful full-feature web applications. CodeIgniter 2 Cookbook will give you quick acces...
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
Packt Publishing,
2013.
|
Colección: | Community experience distilled.
|
Temas: | |
Acceso en línea: | Texto completo Texto completo |
Tabla de Contenidos:
- 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 bonesForgot 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 DataTableUsing 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 userChapter 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.