|
|
|
|
|
|
|
|
|
1. |
Record Nr. |
UNINA9910789856303321 |
|
|
Autore |
Iglesias Mariano |
|
|
Titolo |
CakePHP 1.3 application development cookbook [[electronic resource] ] : over 60 great recipes for developing, maintaining, and deploying web applications / / Mariano Iglesias |
|
|
|
|
|
|
|
Pubbl/distr/stampa |
|
|
Olton, Birmingham, : Packt Pub. Ltd., 2011 |
|
|
|
|
|
|
|
ISBN |
|
1-283-37664-4 |
9786613376640 |
1-84951-193-4 |
|
|
|
|
|
|
|
|
Descrizione fisica |
|
1 online resource (360 p.) |
|
|
|
|
|
|
Disciplina |
|
|
|
|
|
|
|
|
Soggetti |
|
PHP (Computer program language) |
Internet programming |
Web sites - Design |
|
|
|
|
|
|
|
|
Lingua di pubblicazione |
|
|
|
|
|
|
Formato |
Materiale a stampa |
|
|
|
|
|
Livello bibliografico |
Monografia |
|
|
|
|
|
Note generali |
|
|
|
|
|
|
Nota di contenuto |
|
Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Preface; Chapter 1: Authentication; Introduction; Setting up a basic authentication system; Using and configuring the Auth component; Allowing logins with username or e-mail; Saving the user details after login; Getting the current user's information; Using prefixes for role-based access control; Setting up Access Control Layer-based; authentication; Integrating with OpenID; Chapter 2: Model Bindings; Introduction; Adding Containable to all models; Limiting the bindings returned in a find |
Modifying binding parameters for a findModifying binding conditions for a find; Changing the JOIN type of one-to-one; associations; Defining multiple associations to the; same model; Adding bindings on the fly; Chapter 3: Pushing the Search; Introduction; Performing GROUP and COUNT queries; Using virtual fields; Building queries with ad-hoc JOINs; Searching for all items that match; search terms; Implementing a custom find type; Paginating a custom find type; Implementing AJAX based pagination; Chapter 4: Validation and Behaviors; Introduction; |
|
|
|
|
|
|
|
|
|
|
|
Adding multiple validation rules |
Creating a custom validation ruleUsing callbacks in behaviors; Using behaviors to add new fields for saving; Using the Sluggable behavior; Geocoding addresses with the Geocodable; behavior; Chapter 5: Datasources; Introduction; Improving the SQL datasource query log; Parsing CSV files with a datasource; Consuming RSS feeds with a datasource; Building a Twitter datasource; Adding transaction and locking support; to the MySQL datasource; Chapter 6: Routing Magic; Introduction; Using named and GET parameters; Using routes with prefixes; Working with route elements |
Adding catch-all routes for profile pagesAdding validation for catch-all routes; Creating custom Route classes; Chapter 7: Creating and Consuming Web Services; Introduction; Creating an RSS feed; Consuming a JSON service; Building REST services with JSON; Adding authentication to REST services; Implementing token-based authorization; for API access; Chapter 8: Working with Shells; Introduction; Building and running a shell; Parsing command line parameters; Creating reusable shell tasks; Sending e-mails from shells; Non-interactive tasks with the robot plugin |
Chapter 9: Internationalizing ApplicationsIntroduction; Internationalizing controller and view texts; Internationalizing model validation; messages; Translating strings with dynamic content; Extracting and translating text; Translating database records with the; Translate behavior; Setting and remembering the language; Chapter 10: Testing; Introduction; Setting up the test framework; Creating fixtures and testing model methods; Testing controller actions and their views; Using mocks to test controllers; Running tests from the command line; Chapter 11: Utility Classes and Tools; Introduction |
Working with the Set class |
|
|
|
|
|
|
Sommario/riassunto |
|
Over 70 great recipes for developing, maintaining, and deploying web applications |
|
|
|
|
|
|
|
| |