My Account Log in

3 options

Yii application development cookbook : a cookbook covering both practical Yii application development tips and the most important Yii features / Alexander Makarov.

EBSCOhost Academic eBook Collection (North America) Available online

View online

Ebook Central Academic Complete Available online

View online

Ebook Central College Complete Available online

View online
Format:
Book
Author/Creator:
Makarov, Aleksandr.
Language:
English
Subjects (All):
Web site development.
Application software--Development.
Application software.
Physical Description:
1 online resource (408 p.)
Edition:
2nd ed.
Place of Publication:
Birmingham, U.K. : Packt Publishing, c2013.
Language Note:
English
Summary:
This book is a collection of Yii recipes with chapters generally independent of each other. It is full of practically useful solutions and concepts explained with code and relevant screenshots and diagrams.This book is for developers with good PHP5 knowledge who have tried to develop applications using Yii. An object-oriented approach and MVC knowledge will be a great advantage as Yii uses these extensively.
Contents:
Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Under the Hood; Introduction; Using getters and setters; Using Yii events; Using import and autoloading; Using exceptions; Configuring components; Configuring widget defaults; Using Yii core collections; Working with requests; Chapter 2: Router, Controller, and Views; Introduction; Configuring URL rules; Generating URLs by path; Using regular expressions in URL rules; Creating URL rules for static pages; Providing your own URL rules at runtime; Using a base controller
Using external actionsDisplaying static pages with CViewAction; Using flash messages; Using controller context in a view; Reusing views with partials; Using clips; Using decorators; Defining multiple layouts; Paginating and sorting data; Chapter 3: AJAX and jQuery; Introduction; Loading a block through AJAX; Managing assets; Including resources in the page; Working with JSON; Passing configuration from PHP to JavaScript; Handling variable number of inputs; Rendering content at the client side; Chapter 4: Working with Forms; Introduction; Writing your own validators; Uploading files
Adding CAPTCHACustomizing CAPTCHA; Creating a custom input widget with CInputWidget; Chapter 5: Testing your Application; Introduction; Setting up the testing environment; Writing and running unit tests; Using fixtures; Testing the application with functional tests; Generating code coverage reports; Chapter 6: Database, Active Record, and Model Tricks; Introduction; Getting data from a database; Defining and using multiple DB connections; Using scopes to get models for different languages; Processing model fields with AR event-like methods; Applying markdown and HTML
Highlighting code with YiiAutomating timestamps; Setting up an author automatically; Implementing single table inheritance; Using CDbCriteria; Chapter 7: Using Zii Components; Introduction; Using data providers; Using grids; Using lists; Creating custom grid columns; Chapter 8: Extending Yii; Introduction; Creating model behaviors; Creating components; Creating reusable controller actions; Creating reusable controllers; Creating a widget; Creating CLI commands; Creating filters; Creating modules; Creating a custom view renderer; Making extensions distribution-ready
Chapter 9: Error Handling, Debugging, and LoggingIntroduction; Using different log routes; Analyzing the Yii error stack trace; Logging and using the context information; Implementing your own smart 404 handler; Chapter 10: Security; Introduction; Using controller filters; Using CHtml and CHtmlPurifier to prevent XSS; Preventing SQL injections; Preventing CSRF; Using RBAC; Chapter 11: Performance Tuning; Introduction; Following best practices; Speeding up session handling; Using cache dependencies and chains; Profiling an application with Yii; Leveraging HTTP caching
Chapter 12: Using External Code
Notes:
Includes index.
"Quick answers to common problems"--Cover.
Description based on online resource; title from title page (ebrary, viewed May 24, 2013).
ISBN:
9781782163114
1782163115
OCLC:
843192041

The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.

Find

Home Release notes

My Account

Shelf Request an item Bookmarks Fines and fees Settings

Guides

Using the Find catalog Using Articles+ Using your account