Categories
Ebooks
-
Business and economy
- Bitcoin
- Businesswoman
- Coaching
- Controlling
- E-business
- Economy
- Finances
- Stocks and investments
- Personal competence
- Computer in the office
- Communication and negotiation
- Small company
- Marketing
- Motivation
- Multimedia trainings
- Real estate
- Persuasion and NLP
- Taxes
- Social policy
- Guides
- Presentations
- Leadership
- Public Relation
- Reports, analyses
- Secret
- Social Media
- Sales
- Start-up
- Your career
- Management
- Project management
- Human Resources
-
For children
-
For youth
-
Education
-
Encyclopedias, dictionaries
-
E-press
- Architektura i wnętrza
- Biznes i Ekonomia
- Home and garden
- E-business
- Finances
- Personal finance
- Business
- Photography
- Computer science
- HR & Payroll
- Computers, Excel
- Accounts
- Culture and literature
- Scientific and academic
- Environmental protection
- Opinion-forming
- Education
- Taxes
- Travelling
- Psychology
- Religion
- Agriculture
- Book and press market
- Transport and Spedition
- Healthand beauty
-
History
-
Computer science
- Office applications
- Data bases
- Bioinformatics
- IT business
- CAD/CAM
- Digital Lifestyle
- DTP
- Electronics
- Digital photography
- Computer graphics
- Games
- Hacking
- Hardware
- IT w ekonomii
- Scientific software package
- School textbooks
- Computer basics
- Programming
- Mobile programming
- Internet servers
- Computer networks
- Start-up
- Operational systems
- Artificial intelligence
- Technology for children
- Webmastering
-
Other
-
Foreign languages
-
Culture and art
-
School reading books
-
Literature
- Antology
- Ballade
- Biographies and autobiographies
- For adults
- Dramas
- Diaries, memoirs, letters
- Epic, epopee
- Essay
- Fantasy and science fiction
- Feuilletons
- Work of fiction
- Humour and satire
- Other
- Classical
- Crime fiction
- Non-fiction
- Fiction
- Mity i legendy
- Nobelists
- Novellas
- Moral
- Okultyzm i magia
- Short stories
- Memoirs
- Travelling
- Narrative poetry
- Poetry
- Politics
- Popular science
- Novel
- Historical novel
- Prose
- Adventure
- Journalism, publicism
- Reportage novels
- Romans i literatura obyczajowa
- Sensational
- Thriller, Horror
- Interviews and memoirs
-
Natural sciences
-
Social sciences
-
School textbooks
-
Popular science and academic
- Archeology
- Bibliotekoznawstwo
- Cinema studies
- Philology
- Polish philology
- Philosophy
- Finanse i bankowość
- Geography
- Economy
- Trade. World economy
- History and archeology
- History of art and architecture
- Cultural studies
- Linguistics
- Literary studies
- Logistics
- Maths
- Medicine
- Humanities
- Pedagogy
- Educational aids
- Popular science
- Other
- Psychology
- Sociology
- Theatre studies
- Theology
- Economic theories and teachings
- Transport i spedycja
- Physical education
- Zarządzanie i marketing
-
Guides
-
Game guides
-
Professional and specialist guides
-
Law
- Health and Safety
- History
- Road Code. Driving license
- Law studies
- Healthcare
- General. Compendium of knowledge
- Academic textbooks
- Other
- Construction and local law
- Civil law
- Financial law
- Economic law
- Economic and trade law
- Criminal law
- Criminal law. Criminal offenses. Criminology
- International law
- International law
- Health care law
- Educational law
- Tax law
- Labor and social security law
- Public, constitutional and administrative law
- Family and Guardianship Code
- agricultural law
- Social law, labour law
- European Union law
- Industry
- Agricultural and environmental
- Dictionaries and encyclopedia
- Public procurement
- Management
-
Tourist guides and travel
- Africa
- Albums
- Southern America
- North and Central America
- Australia, New Zealand, Oceania
- Austria
- Asia
- Balkans
- Middle East
- Bulgary
- China
- Croatia
- The Czech Republic
- Denmark
- Egipt
- Estonia
- Europe
- France
- Mountains
- Greece
- Spain
- Holand
- Iceland
- Lithuania
- Latvia
- Mapy, Plany miast, Atlasy
- Mini travel guides
- Germany
- Norway
- Active travelling
- Poland
- Portugal
- Other
- Russia
- Romania
- Slovakia
- Slovenia
- Switzerland
- Sweden
- World
- Turkey
- Ukraine
- Hungary
- Great Britain
- Italy
-
Psychology
- Philosophy of life
- Kompetencje psychospołeczne
- Interpersonal communication
- Mindfulness
- General
- Persuasion and NLP
- Academic psychology
- Psychology of soul and mind
- Work psychology
- Relacje i związki
- Parenting and children psychology
- Problem solving
- Intellectual growth
- Secret
- Sexapeal
- Seduction
- Appearance and image
- Philosophy of life
-
Religion
-
Sport, fitness, diets
-
Technology and mechanics
Audiobooks
-
Business and economy
- Bitcoin
- Businesswoman
- Coaching
- Controlling
- E-business
- Economy
- Finances
- Stocks and investments
- Personal competence
- Communication and negotiation
- Small company
- Marketing
- Motivation
- Real estate
- Persuasion and NLP
- Taxes
- Guides
- Presentations
- Leadership
- Public Relation
- Secret
- Social Media
- Sales
- Start-up
- Your career
- Management
- Project management
- Human Resources
-
For children
-
For youth
-
Education
-
Encyclopedias, dictionaries
-
History
-
Computer science
-
Other
-
Foreign languages
-
Culture and art
-
School reading books
-
Literature
- Antology
- Ballade
- Biographies and autobiographies
- For adults
- Dramas
- Diaries, memoirs, letters
- Epic, epopee
- Essay
- Fantasy and science fiction
- Feuilletons
- Work of fiction
- Humour and satire
- Other
- Classical
- Crime fiction
- Non-fiction
- Fiction
- Mity i legendy
- Nobelists
- Novellas
- Moral
- Okultyzm i magia
- Short stories
- Memoirs
- Travelling
- Poetry
- Politics
- Popular science
- Novel
- Historical novel
- Prose
- Adventure
- Journalism, publicism
- Reportage novels
- Romans i literatura obyczajowa
- Sensational
- Thriller, Horror
- Interviews and memoirs
-
Natural sciences
-
Social sciences
-
Popular science and academic
-
Guides
-
Professional and specialist guides
-
Law
-
Tourist guides and travel
-
Psychology
- Philosophy of life
- Interpersonal communication
- Mindfulness
- General
- Persuasion and NLP
- Academic psychology
- Psychology of soul and mind
- Work psychology
- Relacje i związki
- Parenting and children psychology
- Problem solving
- Intellectual growth
- Secret
- Sexapeal
- Seduction
- Appearance and image
- Philosophy of life
-
Religion
-
Sport, fitness, diets
-
Technology and mechanics
Videocourses
-
Data bases
-
Big Data
-
Biznes, ekonomia i marketing
-
Cybersecurity
-
Data Science
-
DevOps
-
For children
-
Electronics
-
Graphics/Video/CAX
-
Games
-
Microsoft Office
-
Development tools
-
Programming
-
Personal growth
-
Computer networks
-
Operational systems
-
Software testing
-
Mobile devices
-
UX/UI
-
Web development
-
Management
Podcasts
E-book details
Log in, If you're interested in the contents of the item.
CakePHP 1.3 Application Development Cookbook. Over 70 great recipes for developing, maintaining, and deploying web applications
Mariano Iglesias, Cake Software Foundation, Inc.
Ebook
CakePHP is a rapid development framework for PHP that provides an extensible architecture for developing, maintaining, and deploying web applications. While the framework has a lot of documentation and reference guides available for beginners, developing more sophisticated and scalable applications require a deeper knowledge of CakePHP features, a challenge that proves difficult even for well established developers.The recipes in this cookbook will give you instant results and help you to develop web applications, leveraging the CakePHP features that allow you to build robust and complex applications. Following the recipes in this book you will be able to understand and use these features in no time. We start with setting up authentication on a CakePHP application. One of the most important aspects of a CakePHP application: the relationship between models, also known as model bindings. Model binding is an integral part of any application's logic and we can manipulate it to get the data we need and when we need. We will go through a series of recipes that will show us how to change the way bindings are fetched, what bindings and what information from a binding is returned, how to create new bindings, and how to build hierarchical data structures. We also define our custom find types that will extend the three basic ones, allowing our code to be even more readable and also create our own find type, with pagination support. This book also has recipes that cover two aspects of CakePHP models that are fundamental to most applications: validation, and behaviors.
- CakePHP 1.3 Application Development Cookbook
- Table of Contents
- CakePHP 1.3 Application Development Cookbook
- Credits
- About the Author
- About the Reviewers
- www.PacktPub.com
- Support files, eBooks, discount offers, and more
- Why Subscribe?
- Free Access for Packt account holders
- Support files, eBooks, discount offers, and more
- Preface
- What this book covers
- What you need for this book
- Who this book is for
- Conventions
- Reader feedback
- Customer support
- Errata
- Piracy
- Questions
- 1. Authentication
- Introduction
- Setting up a basic authentication system
- Getting ready
- How to do it...
- How it works...
- Hashing a password confirmation field
- See also
- Using and configuring the Auth component
- Getting ready
- How to do it...
- How it works...
- Changing the default user model
- Theres more...
- See also
- Allowing logins with username or e-mail
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Saving the user details after login
- Getting ready
- How to do it...
- How it works...
- See also
- Getting the current user's information
- Getting ready
- How to do it...
- How it works...
- See also
- Using prefixes for role-based access control
- Getting ready
- How to do it...
- How it works...
- See also
- Setting up Access Control Layer-based authentication
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Getting ready
- Integrating with OpenID
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- 2. Model Bindings
- Introduction
- Adding Containable to all models
- How to do it...
- How it works...
- See also
- Limiting the bindings returned in a find
- Getting ready
- How to do it...
- How it works...
- Format of the contain find parameter
- Reset of binding changes
- See also
- Getting ready
- Modifying binding parameters for a find
- Getting ready
- How to do it...
- How it works...
- See also
- Getting ready
- Modifying binding conditions for a find
- Getting ready
- How to do it...
- How it works...
- Changing the JOIN type of one-to-one associations
- Getting ready
- How to do it...
- How it works...
- Defining multiple associations to the same model
- Getting ready
- How to do it...
- There's more...
- Getting ready
- Adding bindings on the fly
- Getting ready
- How to do it...
- How it works...
- 3. Pushing the Search
- Introduction
- Performing GROUP and COUNT queries
- Getting ready
- How to do it...
- How it works...
- See also
- Getting ready
- Using virtual fields
- Getting ready
- How to do it...
- How it works...
- See also
- Building queries with ad-hoc JOINs
- Getting ready
- How to do it...
- How it works...
- See also
- Searching for all items that match search terms
- Getting ready
- How to do it...
- How it works...
- See also
- Implementing a custom find type
- Getting ready
- How to do it...
- How it works...
- See also
- Paginating a custom find type
- Getting ready
- How to do it...
- How it works...
- See also
- Implementing AJAX based pagination
- Getting ready
- How to do it...
- How it works...
- 4. Validation and Behaviors
- Introduction
- Adding multiple validation rules
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Creating a custom validation rule
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Using callbacks in behaviors
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Using behaviors to add new fields for saving
- Getting ready
- How to do it...
- How it works...
- See also
- Using the Sluggable behavior
- Getting ready
- How to do it...
- How it works...
- Geocoding addresses with the Geocodable behavior
- Getting ready
- How to do it...
- How it works...
- There's more...
- 5. Datasources
- Introduction
- Improving the SQL datasource query log
- Getting ready
- How to do it...
- How it works...
- Parsing CSV files with a datasource
- Getting ready
- How to do it...
- How it works...
- There's more...
- Dynamic loading of CSV files
- Consuming RSS feeds with a datasource
- Getting ready
- How to do it...
- How it works...
- There's more...
- Changing connection settings at runtime
- Building a Twitter datasource
- Getting ready
- How to do it...
- How it works...
- Adding transaction and locking support to the MySQL datasource
- Getting ready
- How to do it...
- How it works...
- 6. Routing Magic
- Introduction
- Using named and GET parameters
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Using routes with prefixes
- Getting ready
- How to do it...
- How it works...
- See also
- Working with route elements
- Getting ready
- How to do it...
- How it works...
- There's more...
- Using reverse routing
- See also
- Adding catch-all routes for profile pages
- Getting ready
- How to do it...
- How it works...
- See also
- Adding validation for catch-all routes
- Getting ready
- How to do it...
- How it works...
- See also
- Creating custom Route classes
- Getting ready
- How to do it...
- How it works...
- See also
- 7. Creating and Consuming Web Services
- Introduction
- Creating an RSS feed
- Getting ready
- How to do it...
- How it works...
- Adding view caching to an RSS feed
- See also
- Consuming a JSON service
- How to do it...
- How it works...
- See also
- Building REST services with JSON
- Getting ready
- How to do it...
- How it works...
- See also
- Adding authentication to REST services
- Getting ready
- How to do it...
- How it works...
- Implementing token-based authorization for API access
- Getting ready
- How to do it...
- How it works...
- 8. Working with Shells
- Introduction
- Building and running a shell
- Getting ready
- How to do it...
- How it works...
- Using the Auth component for hashing passwords
- See also
- Parsing command line parameters
- Getting ready
- How to do it...
- How it works...
- See also
- Creating reusable shell tasks
- Getting ready
- How to do it...
- How it works...
- Sending e-mails from shells
- Getting ready
- How to do it...
- How it works...
- See also
- Non-interactive tasks with the robot plugin
- Getting ready
- How to do it...
- How it works...
- 9. Internationalizing Applications
- Introduction
- Internationalizing controller and view texts
- Getting ready
- How to do it...
- How it works...
- Domains and categories
- See also
- Internationalizing model validation messages
- Getting ready
- How to do it...
- How it works...
- See also
- Translating strings with dynamic content
- Getting ready
- How to do it...
- How it works...
- Reordering and reusing interpolation arguments
- See also
- How it works...
- Extracting and translating text
- Getting ready
- How to do it...
- How it works...
- Translating database records with the Translate behavior
- Getting ready
- How to do it...
- How it works...
- Using separate translation tables
- See also
- Setting and remembering the language
- Getting ready
- How to do it...
- How it works...
- 10. Testing
- Introduction
- Setting up the test framework
- Getting ready
- How to do it...
- How it works...
- Creating fixtures and testing model methods
- Getting ready
- How to do it...
- How it works...
- There's more...
- Extending models to avoid testing unneeded bindings
- Analyzing code coverage
- See also
- Testing controller actions and their views
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Using mocks to test controllers
- Getting ready
- How to do it...
- How it works...
- There's more...
- Running tests from the command line
- Getting ready
- How to do it...
- How it works...
- 11. Utility Classes and Tools
- Introduction
- Working with the Set class
- Getting ready
- How to do it...
- How it works...
- There's more...
- Manipulating strings with the String class
- Getting ready
- How to do it...
- How it works...
- Sending an e-mail
- Getting ready
- How to do it...
- How it works...
- There's more...
- See also
- Detecting file types with MagicDb
- Getting ready
- How to do it...
- How it works...
- Throwing and handling exceptions
- Getting ready
- How to do it...
- How it works...
- Index
- Title: CakePHP 1.3 Application Development Cookbook. Over 70 great recipes for developing, maintaining, and deploying web applications
- Author: Mariano Iglesias, Cake Software Foundation, Inc.
- Original title: CakePHP 1.3 Application Development Cookbook. Over 70 great recipes for developing, maintaining, and deploying web applications
- ISBN: 9781849511933, 9781849511933
- Date of issue: 2011-03-08
- Format: Ebook
- Item ID: e_3c7n
- Publisher: Packt Publishing