Index
Symbols & Numerics
$actsAs property–2nd, 3rd
: (colon)
arguments and
magic variables and
route parameters and
$components array
.ctp file extension
<div> element
$html->link() function
$post variable, debug() function displaying contents of
.profile file
$rss->document() function
.rss file extension
$scaffold attribute
<span> element
$this->data–2nd
$this identifier
$this->params array–2nd
.thtml file extension
_ (underscore) character
__() function
$xml configuration array
403 HTTP server error
A
access control lists, managing
ACL behavior
ACL component
action parameters, passed arguments compared to
actions
See also Index action; View action
Add
Comments controller–2nd
Events controller–2nd
file upload feature–2nd
Posts controller, 2nd–3rd
add() scaffolded
admin, linking with admin views
App controller and
beforeFilter()–2nd
callback
Comments Add, blocking spam in–2nd
delete() scaffolded
Edit–2nd, 3rd, 4th–5th
edit() scaffolded
Events controller
Add and Edit–2nd
Index–2nd
View–2nd
Feed
getList()
index() scaffolded
Login–2nd
Logout
naming
overview of
plugin, running
Post controller
beforeFilter()
Chat
Edit–2nd, 3rd
PDF–2nd
Posts Index, home page for application, creating with
Read
requesting
Text–2nd
variables, using in
View, with children() function
Vote–2nd
activating admin routing
$actsAs property–2nd, 3rd
Add action
Comments controller–2nd
Events controller–2nd
Posts controller
file upload feature–2nd
overview of, 2nd–3rd
save() function–2nd
Add Comments form–2nd
Add link (Users controller)
Add view, adjusting and testing
add() scaffolded action
addCrumbs function (HTML helper)–2nd
add_success.ctp file
admin routing–2nd
afterFilter() callback action
Ajax Chat plugin (Pseudocoder), installing and using–2nd
Ajax framework
asynchronous sequences and–2nd
frameworks
jQuery framework for
installing
overview of
uploading files with–2nd
overview of, 2nd, 3rd
Ajax helper
Add Comments form–2nd
App helper for blog and
Comments controller
Add action–2nd
render() function–2nd
displaying comments–2nd
functions–2nd
link() function
copying CSS–2nd
overview of
in View
Vote action–2nd
Votes view
options array, passing JavaScript with
overview of, 2nd, 3rd
Prototype framework installing
JavaScript helper, including in App controller file
making helpers available for whole application
submit() function
Ajax operations
ajaxLogin parameter (Auth component)
Akismet component (Zend Framework)–2nd
aliases, console profile
Apache AllowOverride error at launch
Apache Friends, XAMPP
API documentation, online
App controller file
actions and
Calendar plugin
components and
including JavaScript helper in
plugin controller extending
uses of
app folder
contents of
MVC structure and
structure of
App helper for blog
Ajax helper, including
BlogHelper class, creating
comments function
creating–2nd
extending–2nd
placement of
_construct() function
creating
Helper file, creating
specifying outside helper functions
tags array
App model
Calendar plugin
plugin model extending
app/config/core.php file, global variables and
app/config/database.php.default file, editing–2nd
app/config/routes.php file–2nd
AppController object, extending
app/controllers/components directory
App::import() function
file names and
including vendors using–2nd
nested folders and
app/layouts/rss/default.ctp file
applications
See also specific applications
changing folder structure to secure
debugging
designing, order of creation for
home page for
customizing design of
designing–2nd
dynamic navigation, generating
running on remote host–2nd
starting
in CodeIgniter
overview of–2nd
in Symfony
AppModel class
AppModel object, extending
app/models/post.php file
app/plugins directory
app/views/helpers directory
app/views/layouts/flash.ctp file
app/views/posts/rss/feed.ctp file
app/views/users/login.ctp file
app/webroot folder
arguments, and routing and–2nd
arrays
$components
$xml configuration
associationForeignKey parameter ("has and belongs to many" relationship)
asynchronous sequence–2nd
attach() function
attributes parameter, and form elements
Auth component
checking user's role–2nd
logging in–2nd
logging out
parameters–2nd
parameters, setting–2nd
password() function
setting up users table
authentication. See Auth component Automagic responses of input function (Form helper)
autoRedirect parameter (Auth component)
B
Bake
admin routes and
commands
customizing views
editing baked views
generating CRUD views using
controller, baking–2nd
views, baking
launching
overview of
views,creating with
configuring console's profile to run–2nd
overview of
Bakery web site
baking
controllers–2nd
Tags controller–2nd
views
beforeFilter() callback action
beforeFilter() controller action, and Auth component–2nd
beforeRender() callback action
beforeSave() function
behaviors
ACL and Translate
built-in
Containable–2nd
custom
creating
file, setting up–2nd
performing callbacks in–2nd
using DataSources in
writing functions
functions
disable() and detach()
enable() and attach()
enabled()
naming
overview of
Tree
baking Tags controller and views–2nd
fetching related posts when viewing
tag–2nd
functions–2nd
inserting fields into tags table–2nd
Tags views, adjusting–2nd
using in Tag model–2nd
working with
working with
"belongs to" relationship–2nd
bindModel() function
blog application example
See also App helper for blog; comments section of blog; Post model; Posts controller; Tree behavior to categorize blog posts; XML DataSource for blog application Auth component and
"belongs to" relationship–2nd
blocking spam in Comments Add action–2nd
Calendar plugin
Event model
Events controller–2nd
events table
files and folders, setting up
controller actions
callback
requesting
variables, using in
controllers and models, overview of
conventions for
database design–2nd
explanation of
"has and belongs to many" relationship–2nd
"has many" relationship–2nd
"has one" relationship
outputting posts as PDF files–2nd
overview of
RSS feed
controller action
creating
extension layouts
Feed view
tags table
testing associations–2nd
uploading files using jQuery and Form plugin–2nd
views
default.ctp file–2nd
individual, creating–2nd
overview of
writing posts with Textile
BlogHelper class–2nd
built-in behaviors
built-in components
ACL
Auth
checking user's role–2nd
logging in–2nd
logging out
parameters–2nd
parameters, setting–2nd
password() function
setting up users table
Cookie–2nd
Email–2nd
overview of
RequestHandler
Security
Session
deleting and destroying sessions
helpers and
reading and writing session variables
built-in DataSources, working with–2nd
built-in helpers
Ajax
Add Comments form–2nd
App helper for blog and
Comments controller–2nd
displaying comments–2nd
functions–2nd
link() function–2nd
options array, passing JavaScript with
overview of, 2nd, 3rd
Prototype framework–2nd
submit() function
Form
create function–2nd
end function
input function–2nd
label function
overview of–2nd
secure function–2nd
HTML
addCrumbs function–2nd
charset function
css function–2nd
div function
docType function–2nd
getCrumbs function–2nd
image function–2nd
link function–2nd
meta function
nestedList function
overview of
para function
style function–2nd
tableCells function–2nd
tableHeaders function–2nd
tags array
using in default layout–2nd
JavaScript–2nd
Number
overview of–2nd
Paginator–2nd
RSS
Session
Text
Time–2nd
XML
built-in rules for validating data–2nd
C
cake folder, contents of
Cake Software Foundation
cake/libs/controller/components folder
cake/libs/model/datasources/dbo folder
CakePHP
advantages of–2nd
community for, 2nd
convention aspect of–2nd
CRUD operations and Bake script
customizable elements
features of, 2nd
helper code
scaffolding abilities
Calendar helper
event details, rendering
events function
first week of month, rendering–2nd
overview of–2nd
week four, rendering
weeks five and six, rendering
weeks two and three, rendering–2nd
Calendar plugin
Event model
Events controller
Add and Edit actions–2nd
Index action–2nd
overview of–2nd
View action–2nd
events table
files and folders, setting up
callback actions
callbacks, performing in behaviors–2nd
calling helper class object
charset function (HTML helper)
Chat action (Posts controller)
checking user's role, and Auth component–2nd
childCount() function (Tree behavior)
children() function (Tree behavior)–2nd
chmod() function (Folder utility)
classes
See also utilities
AppModel
BlogHelper–2nd
DATABASE_CONFIG–2nd, 3rd, 4th
File utility–2nd, 3rd
Item
ItemsController
Set utility
className parameter
"belongs to" relationship
"has and belongs to many" relationship
"has one" relationship
close() function
CocoaMySQL
code
See also listings
helper
PHP shorthand in examples of
CodeIgniter framework–2nd
colon (:)
arguments and
magic variables and
route parameters and
command-line interface, using
command-line tools, Bake script
commands, Bake
Comment model
creating
vote() model function
Comments Add action, blocking spam in–2nd
Comments controller
Add action–2nd
creating
render() function–2nd
Vote action–2nd
comments() function (BlogHelper class)–2nd
comments section of blog
Add Comments form–2nd
Ajax and–2nd
Comments controller–2nd
displaying comments–2nd
link() function
copying CSS–2nd
overview of
in View
Vote action–2nd
Votes view
submit() function
table to store comments, creating–2nd
comments table, 2nd
community for CakePHP, 2nd
components
See also Auth component
App controller and
as extending MVC structure–2nd
built-in
ACL
Auth–2nd
Cookie–2nd
Email–2nd
overview of
RequestHandler
Security
Session, 2nd–3rd
controllers and, 2nd
custom, creating–2nd
naming
purpose of
third-party
using
writing vendor files instead of
Zend Framework
$components array
conditions for find() function–2nd
conditions parameter
"belongs to" relationship
"has and belongs to many" relationship
"has one" relationship
Configure utility
Configure::write() function
configuring console's profile to run Bake–2nd
conflicting names–2nd
connect() function–2nd
ConnectionManager utility, instantiating DataSource in behavior using
console profile aliases
_construct() function, and DataSource
Containable behavior–2nd
content, localizing
Controller object, default behaviors of
controllers
See also App controller; Comments controller; Posts controller; Users controller
actions of
callback
requesting
variables, using in
adding actions to–2nd
baking–2nd
components and, 2nd
Form helper and
naming–2nd
Pages–2nd
Tags, 2nd–3rd
for to-do list application, creating–2nd
using routes, rather than
using vendor content in
utilities and
convenience functions
DataSources and
e()
pr()
convention aspect of Cake–2nd. See also naming conventions
Cookie component–2nd
copy() function (Folder utility)
create() function
File utility
Folder utility
Form helper–2nd
create() model function–2nd
cross-site request forgery (CSRF) attacks, preventing
CRUD operations, and CakePHP
CRUD views, generating using Bake
controller, baking–2nd
views, baking
css() function, 2nd–3rd
.ctp file extension
custom behaviors–2nd
custom components–2nd
custom DataSources
creating
database configuration, setting up–2nd
disconnecting from XML file
parsing XML file–2nd
reading XML file–2nd
skeleton, starting with–2nd
using in model–2nd
viewing data–2nd
XML DataSource file, creating
custom expressions, and route parameters
custom helpers, creating
App helper for blog–2nd
overview of
custom model functions, writing–2nd
custom plugins–2nd. See also Calendar plugin
customizing
Bake views
CakePHP
design of home page for application
helper variables–2nd
view files from scratch
HTML form–2nd
HTML helper–2nd
Cygwin command-line interface, 2nd
D
data, validating
built-in rules for–2nd
multiple rules, using–2nd
Post model and–2nd
database schema, designing–2nd
database tables. See tables
databases
See also designing databases
normalization of
for to-do list application
adding new item to
designing and creating–2nd
DATABASE_CONFIG class–2nd, 3rd, 4th
DataSources
built-in, working with–2nd
custom
creating
database configuration, setting up–2nd
disconnecting from XML file
parsing XML file–2nd
reading XML file–2nd
skeleton, starting with–2nd
using in model–2nd
viewing data–2nd
XML DataSource file, creating
naming
overview of
using in behaviors
working with–2nd
date() function
debug() function–2nd, 3rd, 4th
debugging application
default layout, using HTML helper in–2nd
default ports, for MySQL
default.ctp file–2nd
delete() function (Folder utility)
delete() scaffolded action
deleting
cookies
folders
sessions
deny parameter (Auth component)
dependent parameter
"has many" relationship
"has one" relationship
designing
application, order of creation
database schema–2nd
home page for application–2nd
designing databases
feature creep and
importance of good design–2nd
overview of
table associations
"belongs to" relationship–2nd
conventions for
"has and belongs to many" relationship–2nd
"has many" relationship–2nd
"has one" relationship
tables for–2nd
testing–2nd
for to-do list application–2nd
destroying sessions
_destruct() function, and DataSource
detach() function
dirsize() function (Folder utility)
disable() function
disconnecting from XML file
displaying
comments–2nd
menus
most recent posts
related posts as links in view
vote total with Votes view
voting links and total votes
<div> element
div function (HTML helper)
docs folder, contents of
docType function (HTML helper)–2nd
Don't Repeat Yourself (DRY) programming principle
downloading
Cake
Textile
driver options, and DataSources
DRY (Don't Repeat Yourself) programming principle
E
e() convenience function
echo() function
Edit action
Events controller–2nd
Posts controller–2nd, 3rd
Edit view, adjusting and testing
edit() scaffolded action
editing
baked views
form fields–2nd
saved events
element functions, of input function (Form helper)–2nd
elements
<div>
helpers compared to
naming–2nd
<span>
Email component
layouts, setting up
sending–2nd
template for, creating–2nd
email() function (Email component)–2nd
enable() function
enabled() function
end function (Form helper)
error messages
setting when validating data
in views
Event model for Calendar plugin
Events controller for Calendar plugin
Add and Edit actions–2nd
Index action–2nd
overview of–2nd
View action–2nd
events() function, Calendar helper
events table for Calendar plugin
expressions, custom, and route parameters
extending
comments function–2nd
model
MVC structure–2nd
extends statement
F
FCKeditor, as plugin
feature creep
Feed action (Posts controller)
Feed function (Post model)
Feed view
fields, inserting into tags table–2nd
fields parameter
Auth component
"belongs to" relationship
"has and belongs to many" relationship
"has one" relationship
file extensions
.ctp
parsing files with extensions other than .php
process of
RSS feed, creating–2nd
.rss
.thtml
file names of vendors
File utility
create() function
overview of
read() function, 2nd
write() function
files
See also App controller file; file extensions; individual view files
add_success.ctp
app/config/core.php
app/config/database.php.default–2nd
app/config/routes.php–2nd
app/layouts/rss/default.ctp
app/models/post.php
app/views/layouts/flash.ctp
app/views/posts/rss/feed.ctp
app/views/users/login.ctp
for Calendar plugin
for custom plugins
default.ctp–2nd
httpd.conf
include
index.ctp
items.php
items_controller.php–2nd
naming conventions for
PDF, outputting posts as–2nd
.profile
public
routes.php
uploading with jQuery
Posts Add action, creating–2nd
Posts Text action, creating–2nd
Text view, creating–2nd
vendor, writing instead of components
XML, disconnecting from
filtering methods, and Containable behavior–2nd
find() function
Folder utility
Index action in Posts controller
conditions, setting for–2nd
displaying most recent posts
overview of
parameters–2nd
find() model function
findAll() function
findByYear() function
finderQuery parameter, "has many" relationship
fixtures
folder structure, changing to secure application
Folder utility
chmod() function
copy() function
create() function
delete() function
dirsize() function
find() function
overview of
read() function
tree() function
folders
app, 2nd, 3rd
app/webroot, 2nd
cake
cake/libs/controller/components
cake/libs/model/datasources/dbo
for Calendar plugin
for custom plugins
docs
layouts
nested, and vendors
tmp, preparing
vendors
views, 2nd
webroot, 2nd
foreignKey parameter
"belongs to" relationship
"has and belongs to many" relationship
"has one" relationship
form elements, and options or attributes parameters
Form helper
Calendar plugin Events controller and
controller and
create function–2nd
end function
input function
Automagic responses
element functions–2nd
options parameter–2nd
overview of
type option–2nd
label function
overview of, 2nd, 3rd–4th, 5th–6th
secure function–2nd
form submission sequence
editing or updating records–2nd
saving forms–2nd
$this->data helper–2nd
forms
Add Comments–2nd
HTML, customizing–2nd
saving–2nd
simple
403 HTTP server error
frameworks
advantages of
Ajax, 2nd–3rd, 4th–5th
CakePHP as
CodeIgniter–2nd
comparison of–2nd
implementing with Cake
Symfony
Zend, 2nd–3rd, 4th
friendly URLs, 2nd
functions
See also helpers
addCrumbs, HTML helper–2nd
Ajax helper–2nd, 3rd–4th
App::import()
file names and
including vendors using–2nd
nested folders and
attach()
beforeSave()
behaviors
disable() and detach()
enable() and attach()
enabled()
bindModel()
Calendar helper
events()
render()
Calendar plugin, render()–2nd
callback, in behaviors
charset, HTML helper
chmod(), Folder utility
close()
comments(), BlogHelper class–2nd
Configure::write()
connect()–2nd
for controllers
convenience, 2nd, 3rd
copy(), Folder utility
create()
File utility
Folder utility
Form helper–2nd
create() model–2nd
css(), 2nd–3rd
custom model, writing–2nd
DataSource, __construct() and __destruct()
date()
debug()–2nd, 3rd, 4th
delete(), Folder utility
dirsize(), Folder utility
div, HTML helper
docType, HTML helper–2nd
echo()
email()–2nd
end, Form helper
Feed
find()
conditions, setting for–2nd
displaying most recent posts
Folder utility
overview of
parameters–2nd
find() model
findAll()
findByYear()
Form helper, input(), 2nd
$html->link()
image, HTML helper–2nd
include(), 2nd
initialize()–2nd
for internalization
isAuthorized()
isSpam()
JavaScript helper
label, Form helper
link()
Ajax helper–2nd
HTML helper–2nd
overview of
reverse routing and
loadConfig()
meta, HTML helper
mktime()
nestedList, HTML helper
Number helper
paginate()
Paginator helper–2nd
para, HTML helper
password(), Auth component
PHP, names of
read()
File utility, 2nd
Folder utility
View action in Posts controller
read() model
receiver
redirect()–2nd
render(), 2nd–3rd, 4th, 5th
requestAction()
Router::connect()–2nd
Router::parseExtensions()
$rss->document()
RSS helper
save(), 2nd–3rd
save() model–2nd
secure, Form helper–2nd
send()–2nd
Session helper
Set::extract()–2nd, 3rd
setFlash(), 2nd–3rd Set::reverse(), 4th
startup()–2nd
strftime()
strtotime()
style, HTML helper–2nd
submit()
supplier
tableCells, HTML helper–2nd
tableHeaders, HTML helper–2nd
text helper
Time helper–2nd
Tree behavior
childCount()
children()–2nd
generateTreeList()
getParentNode() and GetPath()
moveUp and moveDown
overview of, 2nd
recover()
removeFromTree()
setParent()
setup()
verify()
tree(), Folder utility
unbindModel()–2nd
__()
vote() model
voteDownLink()
voteUpLink()
write(), File utility
writing
behavior functions
custom model functions–2nd
XML helper
xmlFindAll()
G
generateTreeList() function (Tree behavior)
generating
CRUD views using Bake–2nd
dynamic navigation for home page
getCrumbs function (HTML helper)–2nd
getList() action
getParentNode() and getPath() functions (Tree behavior)
global variables
Gutmans, Andi
H
"has and belongs to many" relationship
applying and testing–2nd
parameters–2nd
"has many" relationship–2nd
"has one" relationship
hash insertion technique
hashed passwords, and Auth component
hashPasswords parameter (Auth component)
HeidiSQL
helper code
helpers
See also Ajax helper
built-in–2nd
Calendar
event details, rendering
events function
first week of month, rendering–2nd
overview of–2nd
week four, rendering
weeks five and six, rendering
weeks two and three, rendering–2nd
creating custom
App helper for blog–2nd
overview of
customizing variables–2nd
elements compared to, 2nd
as extending MVC structure–2nd
Form
Calendar plugin, Events controller and
controller and
create function–2nd
end function
input function–2nd
label function
overview of, 2nd, 3rd–4th, 5th–6th
secure function–2nd
HTML
addCrumbs function–2nd
charset function
css function–2nd
div function
docType function–2nd
getCrumbs function–2nd
image function–2nd
link function–2nd
meta function
nestedList function
overview of–2nd, 3rd
para function
style function–2nd
tableCells function–2nd
tableHeaders function–2nd
tags array
using in default layout–2nd
installing–2nd
JavaScript, 2nd–3rd
making available for whole application
naming
Number
overview of–2nd
Paginator–2nd
RSS
Session
specifying outside helper functions
syntax for
Text
third-party
$this->data–2nd
Time–2nd
views and
XML
home page for application
customizing design of
designing
Pages controller, using–2nd
Posts Index action, using
dynamic navigation, generating
HTML form, customizing–2nd
HTML helper
addCrumbs function–2nd
charset function
css function–2nd
div function
docType function–2nd
getCrumbs function–2nd
image function–2nd
link function–2nd
meta function
nestedList function
overview of–2nd, 3rd
para function
style function–2nd
tableCells function–2nd
tableHeaders function–2nd
tags array
using in default layout–2nd
$html->link() function
HTTP Socket utility–2nd
httpd.conf file, and Apache AllowOverride error
I
id value for records
Iglesias, Mariano
image function (HTML helper)–2nd
include files, and MVC structure
include() function, 2nd
including
Textile–2nd
vendors–2nd
Index action
Events controller
Calendar helper–2nd
finishing–2nd
overview of
Posts controller, find() function conditions, setting for–2nd
displaying most recent posts
overview of
parameters–2nd
listing
paginate() function
recursive attribute
Index action view
creating
launching
post listings in
index() scaffolded action
Index view, adjusting
index.ctp file
individual view files
controller, adding actions to–2nd
creating
customizing from scratch
HTML form–2nd
HTML helper–2nd
writing
debug() function–2nd
overview of–2nd
initialize() function, creating custom
components–2nd
initializing Ajax helper
input() function (Form helper)
Automagic responses
element functions–2nd
options parameter–2nd
overview of, 2nd, 3rd
type option–2nd
inserting fields into tags table–2nd
installing
helpers–2nd
jQuery and Form plugin
localhost server
configuring on computer–2nd
Mac OS X, setting up on–2nd
Windows, setting up on–2nd
MySQL, running
settings for
tools for
Prototype framework for Ajax
third-party plugins–2nd
vendors–2nd
instantiating Textile
interacting with web sites. See Ajax framework
internalization, functions for
internalization standards for utilities
inversion control
isAuthorized() function
isSpam() function (Akismet component)
Item class
Item model, creating–2nd
item.php file, code for
items table, and scaffolding feature–2nd
ItemsController class
items_controller.php file, creating–2nd
J
JavaScript, passing with options array (Ajax helper)
JavaScript helper
including in App controller file
overview of–2nd
joinTable parameter ("has and belongs to many" relationship)
jQuery framework for Ajax–2nd
L
label function (Form helper)
language, switching
launching
Bake
Cake
Apache AllowOverride error
overview of–2nd
permissions error
to-do list application–2nd
layouts
default.ctp file–2nd
naming
plugin, using
layouts folder, contents of
limit parameter
"has and belongs to many" relationship
"has many" relationship
link() function
Ajax helper
copying CSS–2nd
overview of
in View
Vote action–2nd
Votes view
HTML helper–2nd
overview of
reverse routing and
linking admin actions and views
links, managing with HTML helper
Linux, and command-line interface
listings
Add action
file upload feature
Posts controller
Add Comments form
Add view, rebuilding from scratch
add_success.ctp file
Ajax helper submit() function
Akismet component
in Comments Add action
importing
App helper
creating
tags array
app/controllers/items_controller.php file
app/layouts/rss/default.ctp file
app/models/item.php file
app/plugins/calendar/views/events/add.ctp file
app/plugins/calendar/views/events/edit.ctp file
app/views/elements/menu.ctp element
app/views/posts/rss/feed.ctp file
app/views/users/login.ctp file
Auth component
parameters in beforeFilter() action
in Users controller
Baked contents of Posts Add View file
basic component file
beforeFilter() callback action
behavior file example
"belongs to" relationship
Calendar helper
closing out render() function
event details
events function
first week of month
initializing variables for
week four
weeks five and six
weeks two and three
Calendar plugin, Index view contents
CalendarEvent model
chats table for Ajax Chat plugin
close() function
Comment model
creating
vote() model function
Comments controller
Add action
creating
Vote action
comments table, creating
comments() function
BlogHelper class–2nd
options array–2nd
components
including in controller with $components array
running in controller
startup() function
ConnectionManager utility, instantiating DataSource in behavior using
controller action, basic
controller class, naming
CSS code for default layout
CSS markup for voting tool
data.xml file, contents to be added to
Database Configuration File
adding localhost settings to
code
DATABASE_CONFIG class
DataSource files, main skeleton for
displaying
related posts as links in view
session Flash messages
English locale file content
Events controller
Add and Edit actions
Index action
initial contents of
View action
View action's view
events table for Calendar plugin
findAll() function
Form helper input() function
form, simple
"has many" relationship, assigning
"has one" relationship, assigning
HTML helper
link() function
tags array
using in default layout
HTML layout
importing utility and instantiating class object
Index action in Posts controller
initial
revised
Index view, creating
model, naming
parent_id select menu in Add and Edit views
plugin controller extending App controller
plugin file structure
plugin layout, using in plugin controller
plugin model extending App model
Post model
custom findByYear() function in
Feed function
"has and belongs to many" relationship
isAuthorized() function
overview of
validation rules for
Posts controller
Add action
baking–2nd
Edit action–2nd
Feed action
Index action, adding
isAuthorized() function
PDF action–2nd
Read action
Text action
View action
Posts view
adding comments section to
comments loop in
PostsController file
posts_tags table, creating
.profile file, editing
replacing text parameter with vote tag
returned array from findByYear() function
SQL table structures
starting new Textile class
Tag model
creating
with Tree behavior
Tags controller
baked–2nd
creating
tags table
creating
with required fields
Text view
$this->data, contents of
unbindModel() function
Users controller, Logout action
users table, adding role field in
vendors
including
including Textile as
using in controller
View action
adjusted, to provide associated comments for view
with children() function
in Posts controller
view file
View code to display voting links and total votes
view, simplified
voteDownLink() function
Votes view, creating
voteUpLink() function
webroot/index.php file, changing for remote host
$xml configuration array
XML DataSource, 2nd
xmlFindAll() function
Living-e, MAMP
loadConfig() function
localhost environment, running Cake on
downloading
launching–2nd
overview of
troubleshooting–2nd
localhost server
configuring on computer–2nd
setting up
on Mac OS X–2nd
on Windows–2nd
localization standards for utilities
localizing
content
web sites
logging in
Auth component and–2nd
MVC structure and
logging out, and Auth component
Login action (Users controller)–2nd
loginAction parameter (Auth component)
loginError parameter (Auth component)
loginRedirect parameter (Auth component)
Logout action (Users controller)
L10n utility
localizing content
localizing web sites
overview of
translating strings
M
Mac OS
command-line interface and
localhost setup for–2nd
magic variables, and route parameters–2nd
MAMP (Living-e)
MAMP main application screen (Mac OS X)
managing
access control lists
links with HTML helper
"many-to-many" relationship. See "has and belongs to many" relationship
menu system for application, creating
message key
meta function (HTML helper)
MinGW command-line interface, 2nd
mktime() function
model functions
create()–2nd
read()
save()–2nd
Model object, default behaviors of
Model-View-Controller (MVC) structure
benefits of
Cake areas
CodeIgniter
default behaviors–2nd
extending–2nd
login process in
overview of–2nd, 3rd, 4th
to-do list application
models
See also DataSources; Post model
App–2nd
Comment, 2nd
Event
extending, resources for
Item–2nd
naming–2nd
Tag, 2nd
for to-do list application, creating–2nd
moveUp and moveDown() functions (Tree behavior)
multiple rules for validating data, using–2nd
multiple word names
MVC (Model-View-Controller) structure
benefits of
Cake areas
CodeIgniter
default behaviors–2nd
extending–2nd
login process in
overview of–2nd, 3rd, 4th
to-do list application
MySQL
connection settings, entering–2nd
running
settings for
tools for
MySQL DataSource, extending model with
MySQL Query Browser
N
naming conventions
best practices for–2nd
controllers–2nd
files
models–2nd
multiple word names
overview of
for plugin elements–2nd
resources
behaviors
components
datasources
elements–2nd
helpers
layouts
table associations
table of
views
navigation for home page, generating dynamic
nested folders, and vendors
nestedList function (HTML helper)
New Item screen
New Post screen
normalization of database
Number helper
O
on parameter, and validating data
"one-to-many" ("has many") relationship–2nd
"one-to-one" ("has one") relationship
online communities
CakePHP, 2nd
Symfony
open source projects, PHP frameworks as
options array
Ajax helper, passing JavaScript with
comments() function of BlogHelper class–2nd
options parameter
form elements and
of input function (Form helper)–2nd
order parameter
"has and belongs to many" relationship
"has many" relationship
P
page request, simple
customizing view file from scratch–2nd
debug() function and–2nd
View action and–2nd, 3rd, 4th
Pages controller, creating home page for application with–2nd
paginate() function, Index action in Posts controller
Paginator helper–2nd
para function (HTML helper)
parameters
See also specific parameters
Auth component–2nd, 3rd–4th
find() function–2nd
form elements and
passed arguments compared to
read() function
redirect() function
route–2nd
save() function
separating
setFlash() function
parsing
files with extensions other than .php
process of
RSS feed, creating–2nd
XML file–2nd
Pass key, and route parameters
passedArgs array
passing
JavaScript with options array (Ajax helper)
variables through routing engine–2nd
password function(), Auth component
path strings for connecting application to MySQL socket
paths for remote setup
PDF files, outputting posts as–2nd
performance issues, and App controller file and
permissions, changing with Folder utility
permissions error at launch
PHP frameworks. See frameworks
PHP function names
PHP language, advantages of–2nd
PHP object, extending
PHP scripting, typical flow for
PHP shorthand
echo() function
in code examples
PHPMyAdmin
plugins
Ajax Chat–2nd
Calendar
Event model
Events controller–2nd
events table
files and folders, setting up
custom
creating
layouts, using
naming convention for elements–2nd
running actions
description of
FCKeditor
resources for
third-party–2nd
ports, default, for MySQL
Post model
Feed function
isAuthorized() function
validating data
built-in rules for–2nd
multiple rules, using–2nd
multiple validations, using
on parameter
overview of–2nd
required fields
setting error messages
writing custom functions for–2nd
xmlFindAll() function
$post variable, debug() function displaying contents of
Posts controller
Add action
file upload feature–2nd
overview of, 2nd–3rd
save() function–2nd
baking–2nd
baking views off
beforeFilter() action
Chat action
Edit action–2nd, 3rd
Feed action
Index action
adding
find() function–2nd
listing
paginate() function
recursive attribute
isAuthorized() function
PDF action–2nd
Read action
Router::connect() function and
Text action–2nd
View action
with children() function
overview of, 2nd
read() function
redirect() function–2nd
setFlash() function–2nd
Posts Index action, creating home page for
application with
posts table for blog, creating
pr() convenience function
.profile file
Prototype framework for Ajax
Ajax helper and
installing
JavaScript helper, including in App controller file
making helpers available for whole application
Prototype JavaScript library, and Ajax Chat plugin
Pseudocoder Ajax Chat plugin–2nd
public files
Q
query results, trimming
bindModel() function
unbindModel() function–2nd
R
Read action (Posts controller)
read() function
File utility, 2nd
Folder utility
View action in Posts controller
read() model function
reading
cookies
global variables
session variables
XML files–2nd
receiver functions
recent posts, displaying using find() function
records, id value for
recover() function (Tree behavior)
recursive attribute (Index action in Posts controller)
redirect() function (View action in Posts controller)–2nd
redundancy and MVC
remote host, running application on–2nd
removeFromTree() function (Tree behavior)
render() function
Calendar helper
Calendar plugin
Comments controller–2nd
overview of
request handling, HTTP Socket utility–2nd
requestAction() function
RequestHandler component
requesting controller actions
required fields, when validating data
resolving URLs
resources, naming
behaviors
components
datasources
elements–2nd
helpers
layouts
resources that extend MVC structure–2nd. See also behaviors; DataSources reverse routing
URL lookups and
verbose linking
role field, adding in users table
Router::connect() function–2nd
Router::parseExtensions() function
routes, using, rather than controllers
routes.php file
routing
admin–2nd
app/config/routes.php file–2nd
arguments and–2nd
overview of
parameters–2nd
parsing files with extensions other than .php
process of
RSS feed, creating–2nd
reverse
URL lookups and
verbose linking
$rss->document() function
RSS feed
controller action
creating
extension layouts
Feed view
.rss file extension
RSS helper
running
See also running Cake
application on remote host–2nd
MySQL
settings for
tools for
plugin actions
Textile
running Cake
database schema, designing–2nd
on localhost environment
downloading
launching–2nd
overview of
troubleshooting–2nd
MySQL connection settings, entering–2nd
setup routines–2nd
S
Sanitize utility
save() function, 2nd–3rd
save() model function–2nd
saving forms–2nd
$scaffold attribute
scaffolded actions–2nd
scaffolding
creating for to-do list application–2nd
overview of–2nd
scaffolding feature
moving beyond
testing associations with–2nd
secure function (Form helper)–2nd
securing application for running on remote host
Security component
Security.salt value, changing–2nd
send() function (Email component)–2nd
separating parameters
Session component
deleting and destroying sessions
helpers and
reading and writing session variables
session handling, adding security to
Session helper
Set utility class
Set::extract() function–2nd, 3rd
setFlash() function, 2nd–3rd
Set::reverse() function
setParent() function (Tree behavior)
setup routines, running–2nd
setup() function (Tree behavior)
slashes, URLs and
socket
spam, blocking in Comments Add action–2nd
<span> element
starting. See launching
startup() function, creating custom components–2nd
status parameter for redirect() parameter
storing global variables
strftime() function
strings, translating
strtotime() function
Struts, Cake compared to
style function (HTML helper)–2nd
style sheet, creating–2nd
submit() function (Ajax helper)
supplier functions
Suraski, Zeev
Symfony framework
T
table associations
belongs to relationship–2nd
conventions for
database design–2nd
"has and belongs to many" relationship–2nd
"has many" relationship–2nd
"has one" relationship
testing–2nd
table structure for to-do list application
tableCells function (HTML helper)–2nd
tableHeaders function (HTML helper)–2nd
tables
chats
comments, 2nd
events
items–2nd
naming, 2nd
posts
posts_tags
tags, 2nd–3rd
users, 2nd, 3rd
Tag model, 2nd–3rd
Tags Add view
tags array
App helper
HTML helper
Tags controller, baking–2nd
tags table for blog application, 2nd–3rd
Tags views, adjusting–2nd
test suite
testing
"has and belongs to many" relationship for tags and posts
table associations–2nd
unit testing
views
Text action (Posts controller), file upload feature–2nd
Text helper
Text view–2nd
Textile–2nd
third-party components
third-party plugins–2nd
third-party scripts. See vendors
$this->data helper–2nd
$this identifier
$this->params array–2nd
.thtml file extension
Time helper–2nd
tmp folder, preparing
to-do list application
controllers for, creating–2nd
database for, designing and creating–2nd
launching–2nd
models for, creating–2nd
MVC structure and
scaffolding, creating–2nd
tools. See Bake; utilities
Translate behavior
translating strings
Tree behavior
to categorize blog posts
baking Tags controller and views–2nd
fetching related posts when viewing tag–2nd
inserting fields into tags table–2nd
Tags views, adjusting–2nd
using in Tag model–2nd
functions–2nd
tree() function (Folder utility)
trimming query results–2nd
troubleshooting launch–2nd
type option of input function (Form helper)–2nd
U
unbindModel() function–2nd
underscore (_) character
_() function
unidirectional scripting
unit testing, benefits of
updating form fields–2nd
uploading files with jQuery
Posts Add action, creating–2nd
Posts Text action, creating–2nd
Text view, creating–2nd
URL lookups
URL parameter for redirect() function
URLs
friendly
resolving
user interactions
asynchronous sequence–2nd
form submission sequence
editing or updating records–2nd
saving forms–2nd
$this->data helper–2nd
overview of
simple page request–2nd
user's role, checking, and Auth component–2nd
userModel parameter (Auth component)
Users controller
Add link
Login action–2nd
Logout action
users table
adding role field in
Auth component and
users table for blog, creating
users table, and Auth component
utilities
Configure
ConnectionManager
controllers and
File
create() function
overview of
read() function
write() function
Folder
chmod() function
copy() function
create() function
delete() function
dirsize() function
find() function
overview of
read() function
tree() function
HTTP Socket–2nd
internationalization standards for
localization standards and
L10n
content, localizing
overview of
translating strings
web sites, localizing
overview of
Sanitize
V
validating data, Post model and
built-in rules for–2nd
multiple rules, using–2nd
multiple validations, using
on parameter
overview of–2nd
required fields
setting error messages
var $helpers array
variables
global
helper, customizing–2nd
magic, and route parameters–2nd
session, reading and writing
using in controller actions
vendor files, writing instead of components
vendors
assumptions made about–2nd
description of
file names
including–2nd
installing–2nd
nested folders and
unidirectional scripting and
vendors folder, contents of
verbose linking
verify() function (Tree behavior)
View action
with children() function
Events controller–2nd
Posts controller
overview of, 2nd
read() function
redirect() function–2nd
setFlash() function–2nd
view() scaffolded action
View view, adjusting
viewing XML data in data.xml–2nd
views
Add, adjusting and testing
admin, linking with admin actions
Bake
commands
configuring console's profile to run–2nd
creating with
customizing
editing baked views
generating CRUD views using–2nd
launching
default.ctp file, 2nd
Edit, adjusting and testing
elements and
error messages in
Feed
helpers and, 2nd
Index, adjusting
Index action–2nd, 3rd
individual, creating–2nd
naming
overview of
simplified
Tags, adjusting–2nd
Text–2nd
user interactions
asynchronous sequence–2nd
form submission sequence–2nd
simple page request–2nd
using vendor content in
View, adjusting
Vote
writing individual files
customizing from scratch–2nd
customizing HTML form–2nd
debug() function–2nd
overview of–2nd
views folder
directories
MVC structure and
Vote action (Comments controller)–2nd
vote() model function
voteDownLink() function
Votes view
voteUpLink() function
W
Web 2.0
web sites
Ajax frameworks
API documentation
Bakery
Cake PHP community
CodeIgniter user guide
command-line interface for Windows
interacting with
localizing
MAMP (Living-e)
MySQL tools
PHP frameworks
Pseudocoder
Symfony community
Textile
third-party helpers
XAMPP (Apache Friends)
Zend Framework
webroot folder, 2nd
welcome screen
Bake
checking
tmp folder and
with existing database
Windows
command-line interface and
localhost setup for–2nd
write() function (File utility)
writing
behavior functions
to cookie
custom model functions–2nd
global variables
individual view files
customizing from scratch–2nd
customizing HTML form–2nd
debug() function–2nd
overview of–2nd
posts with Textile
session variables
vendor files instead of components
X
XAMPP (Apache Friends)
XAMPP Control Panel screen (Windows)
$xml configuration array
XML DataSource for blog application
building
database configuration, setting up–2nd
disconnecting from XML file
file, creating
parsing XML file–2nd
reading XML file–2nd
skeleton, starting with–2nd
using in model–2nd
viewing data–2nd
XML helper
xmlFindAll() function
Z
Zend Framework
Cake compared to
community support
features of
founders of
PDF component–2nd
web service library–2nd