Index

Symbols & Numerics

$actsAs property2nd, 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->data2nd

$this identifier

$this->params array2nd

.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 controller2nd

          Events controller2nd

          file upload feature2nd

          Posts controller, 2nd3rd

     add() scaffolded

     admin, linking with admin views

     App controller and

     beforeFilter()2nd

     callback

     Comments Add, blocking spam in2nd

     delete() scaffolded

     Edit2nd, 3rd, 4th5th

     edit() scaffolded

     Events controller

          Add and Edit2nd

          Index2nd

          View2nd

     Feed

     getList()

     index() scaffolded

     Login2nd

     Logout

     naming

     overview of

     plugin, running

     Post controller

          beforeFilter()

          Chat

          Edit2nd, 3rd

          PDF2nd

          Posts Index, home page for application, creating with

          Read

          requesting

          Text2nd

          variables, using in

          View, with children() function

          Vote2nd

activating admin routing

$actsAs property2nd, 3rd

Add action

     Comments controller2nd

     Events controller2nd

     Posts controller

          file upload feature2nd

          overview of, 2nd3rd

          save() function2nd

Add Comments form2nd

Add link (Users controller)

Add view, adjusting and testing

add() scaffolded action

addCrumbs function (HTML helper)2nd

add_success.ctp file

admin routing2nd

afterFilter() callback action

Ajax Chat plugin (Pseudocoder), installing and using2nd

Ajax framework

     asynchronous sequences and2nd

     frameworks

     jQuery framework for

          installing

          overview of

          uploading files with2nd

     overview of, 2nd, 3rd

Ajax helper

     Add Comments form2nd

     App helper for blog and

     Comments controller

          Add action2nd

          render() function2nd

     displaying comments2nd

     functions2nd

     link() function

          copying CSS2nd

          overview of

          in View

          Vote action2nd

          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

          creating2nd

          extending2nd

          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, editing2nd

app/config/routes.php file2nd

AppController object, extending

app/controllers/components directory

App::import() function

     file names and

     including vendors using2nd

     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

          designing2nd

          dynamic navigation, generating

     running on remote host2nd

     starting

          in CodeIgniter

          overview of2nd

          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 and2nd

arrays

     $components

     $xml configuration

associationForeignKey parameter ("has and belongs to many" relationship)

asynchronous sequence2nd

attach() function

attributes parameter, and form elements

Auth component

     checking user's role2nd

     logging in2nd

     logging out

     parameters2nd

     parameters, setting2nd

     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, baking2nd

          views, baking

     launching

     overview of

     views,creating with

          configuring console's profile to run2nd

          overview of

Bakery web site

baking

     controllers2nd

     Tags controller2nd

     views

beforeFilter() callback action

beforeFilter() controller action, and Auth component2nd

beforeRender() callback action

beforeSave() function

behaviors

     ACL and Translate

     built-in

     Containable2nd

     custom

          creating

          file, setting up2nd

          performing callbacks in2nd

          using DataSources in

          writing functions

     functions

          disable() and detach()

          enable() and attach()

          enabled()

     naming

     overview of

     Tree

          baking Tags controller and views2nd

          fetching related posts when viewing

          tag2nd

          functions2nd

          inserting fields into tags table2nd

          Tags views, adjusting2nd

          using in Tag model2nd

          working with

     working with

"belongs to" relationship2nd

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" relationship2nd

     blocking spam in Comments Add action2nd

     Calendar plugin

          Event model

          Events controller2nd

          events table

          files and folders, setting up

     controller actions

          callback

          requesting

          variables, using in

     controllers and models, overview of

     conventions for

     database design2nd

     explanation of

     "has and belongs to many" relationship2nd

     "has many" relationship2nd

     "has one" relationship

     outputting posts as PDF files2nd

     overview of

     RSS feed

          controller action

          creating

          extension layouts

          Feed view

     tags table

     testing associations2nd

     uploading files using jQuery and Form plugin2nd

     views

          default.ctp file2nd

          individual, creating2nd

          overview of

     writing posts with Textile

BlogHelper class2nd

built-in behaviors

built-in components

     ACL

     Auth

          checking user's role2nd

          logging in2nd

          logging out

          parameters2nd

          parameters, setting2nd

          password() function

          setting up users table

     Cookie2nd

     Email2nd

     overview of

     RequestHandler

     Security

     Session

          deleting and destroying sessions

          helpers and

          reading and writing session variables

built-in DataSources, working with2nd

built-in helpers

     Ajax

          Add Comments form2nd

          App helper for blog and

          Comments controller2nd

          displaying comments2nd

          functions2nd

          link() function2nd

          options array, passing JavaScript with

          overview of, 2nd, 3rd

          Prototype framework2nd

          submit() function

     Form

          create function2nd

          end function

          input function2nd

          label function

          overview of2nd

          secure function2nd

     HTML

          addCrumbs function2nd

          charset function

          css function2nd

          div function

          docType function2nd

          getCrumbs function2nd

          image function2nd

          link function2nd

          meta function

          nestedList function

          overview of

          para function

          style function2nd

          tableCells function2nd

          tableHeaders function2nd

          tags array

          using in default layout2nd

     JavaScript2nd

     Number

     overview of2nd

     Paginator2nd

     RSS

     Session

     Text

     Time2nd

     XML

built-in rules for validating data2nd

C

cake folder, contents of

Cake Software Foundation

cake/libs/controller/components folder

cake/libs/model/datasources/dbo folder

CakePHP

     advantages of2nd

     community for, 2nd

     convention aspect of2nd

     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, rendering2nd

     overview of2nd

     week four, rendering

     weeks five and six, rendering

     weeks two and three, rendering2nd

Calendar plugin

     Event model

     Events controller

          Add and Edit actions2nd

          Index action2nd

          overview of2nd

          View action2nd

     events table

     files and folders, setting up

callback actions

callbacks, performing in behaviors2nd

calling helper class object

charset function (HTML helper)

Chat action (Posts controller)

checking user's role, and Auth component2nd

childCount() function (Tree behavior)

children() function (Tree behavior)2nd

chmod() function (Folder utility)

classes

     See also utilities

     AppModel

     BlogHelper2nd

     DATABASE_CONFIG2nd, 3rd, 4th

     File utility2nd, 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 framework2nd

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 in2nd

Comments controller

     Add action2nd

     creating

     render() function2nd

     Vote action2nd

comments() function (BlogHelper class)2nd

comments section of blog

     Add Comments form2nd

     Ajax and2nd

     Comments controller2nd

     displaying comments2nd

     link() function

          copying CSS2nd

          overview of

          in View

          Vote action2nd

          Votes view

     submit() function

     table to store comments, creating2nd

comments table, 2nd

community for CakePHP, 2nd

components

     See also Auth component

     App controller and

     as extending MVC structure2nd

     built-in

          ACL

          Auth2nd

          Cookie2nd

          Email2nd

          overview of

          RequestHandler

          Security

          Session, 2nd3rd

     controllers and, 2nd

     custom, creating2nd

     naming

     purpose of

     third-party

     using

     writing vendor files instead of

     Zend Framework

$components array

conditions for find() function2nd

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 Bake2nd

conflicting names2nd

connect() function2nd

ConnectionManager utility, instantiating DataSource in behavior using

console profile aliases

_construct() function, and DataSource

Containable behavior2nd

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 to2nd

     baking2nd

     components and, 2nd

     Form helper and

     naming2nd

     Pages2nd

     Tags, 2nd3rd

     for to-do list application, creating2nd

     using routes, rather than

     using vendor content in

     utilities and

convenience functions

     DataSources and

     e()

     pr()

convention aspect of Cake2nd. See also naming conventions

Cookie component2nd

copy() function (Folder utility)

create() function

     File utility

     Folder utility

     Form helper2nd

create() model function2nd

cross-site request forgery (CSRF) attacks, preventing

CRUD operations, and CakePHP

CRUD views, generating using Bake

     controller, baking2nd

     views, baking

css() function, 2nd3rd

.ctp file extension

custom behaviors2nd

custom components2nd

custom DataSources

     creating

     database configuration, setting up2nd

     disconnecting from XML file

     parsing XML file2nd

     reading XML file2nd

     skeleton, starting with2nd

     using in model2nd

     viewing data2nd

     XML DataSource file, creating

custom expressions, and route parameters

custom helpers, creating

          App helper for blog2nd

          overview of

custom model functions, writing2nd

custom plugins2nd. See also Calendar plugin

customizing

     Bake views

     CakePHP

     design of home page for application

     helper variables2nd

     view files from scratch

          HTML form2nd

          HTML helper2nd

Cygwin command-line interface, 2nd

D

data, validating

     built-in rules for2nd

     multiple rules, using2nd

     Post model and2nd

database schema, designing2nd

database tables. See tables

databases

     See also designing databases

     normalization of

     for to-do list application

          adding new item to

          designing and creating2nd

DATABASE_CONFIG class2nd, 3rd, 4th

DataSources

     built-in, working with2nd

     custom

          creating

          database configuration, setting up2nd

          disconnecting from XML file

          parsing XML file2nd

          reading XML file2nd

          skeleton, starting with2nd

          using in model2nd

          viewing data2nd

          XML DataSource file, creating

     naming

     overview of

     using in behaviors

     working with2nd

date() function

debug() function2nd, 3rd, 4th

debugging application

default layout, using HTML helper in2nd

default ports, for MySQL

default.ctp file2nd

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 schema2nd

     home page for application2nd

designing databases

     feature creep and

     importance of good design2nd

     overview of

     table associations

          "belongs to" relationship2nd

          conventions for

          "has and belongs to many" relationship2nd

          "has many" relationship2nd

          "has one" relationship

          tables for2nd

          testing2nd

     for to-do list application2nd

destroying sessions

_destruct() function, and DataSource

detach() function

dirsize() function (Folder utility)

disable() function

disconnecting from XML file

displaying

     comments2nd

     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 controller2nd

     Posts controller2nd, 3rd

Edit view, adjusting and testing

edit() scaffolded action

editing

     baked views

     form fields2nd

     saved events

element functions, of input function (Form helper)2nd

elements

     <div>

     helpers compared to

     naming2nd

     <span>

Email component

     layouts, setting up

     sending2nd

     template for, creating2nd

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 actions2nd

     Index action2nd

     overview of2nd

     View action2nd

events() function, Calendar helper

events table for Calendar plugin

expressions, custom, and route parameters

extending

     comments function2nd

     model

     MVC structure2nd

extends statement

F

FCKeditor, as plugin

feature creep

Feed action (Posts controller)

Feed function (Post model)

Feed view

fields, inserting into tags table2nd

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, creating2nd

     .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.default2nd

     app/config/routes.php2nd

     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.ctp2nd

     httpd.conf

     include

     index.ctp

     items.php

     items_controller.php2nd

     naming conventions for

     PDF, outputting posts as2nd

     .profile

     public

     routes.php

     uploading with jQuery

          Posts Add action, creating2nd

          Posts Text action, creating2nd

          Text view, creating2nd

     vendor, writing instead of components

     XML, disconnecting from

filtering methods, and Containable behavior2nd

find() function

     Folder utility

     Index action in Posts controller

          conditions, setting for2nd

          displaying most recent posts

          overview of

          parameters2nd

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 function2nd

     end function

     input function

          Automagic responses

          element functions2nd

          options parameter2nd

          overview of

          type option2nd

     label function

     overview of, 2nd, 3rd4th, 5th6th

     secure function2nd

form submission sequence

     editing or updating records2nd

     saving forms2nd

     $this->data helper2nd

forms

     Add Comments2nd

     HTML, customizing2nd

     saving2nd

     simple

403 HTTP server error

frameworks

     advantages of

     Ajax, 2nd3rd, 4th5th

     CakePHP as

     CodeIgniter2nd

     comparison of2nd

     implementing with Cake

     Symfony

     Zend, 2nd3rd, 4th

friendly URLs, 2nd

functions

     See also helpers

     addCrumbs, HTML helper2nd

     Ajax helper2nd, 3rd4th

     App::import()

          file names and

          including vendors using2nd

          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 class2nd

     Configure::write()

     connect()2nd

     for controllers

     convenience, 2nd, 3rd

     copy(), Folder utility

     create()

          File utility

          Folder utility

          Form helper2nd

     create() model2nd

     css(), 2nd3rd

     custom model, writing2nd

     DataSource, __construct() and __destruct()

     date()

     debug()2nd, 3rd, 4th

     delete(), Folder utility

     dirsize(), Folder utility

     div, HTML helper

     docType, HTML helper2nd

     echo()

     email()2nd

     end, Form helper

     Feed

     find()

          conditions, setting for2nd

          displaying most recent posts

          Folder utility

          overview of

          parameters2nd

     find() model

     findAll()

     findByYear()

     Form helper, input(), 2nd

     $html->link()

     image, HTML helper2nd

     include(), 2nd

     initialize()2nd

     for internalization

     isAuthorized()

     isSpam()

     JavaScript helper

     label, Form helper

     link()

          Ajax helper2nd

          HTML helper2nd

          overview of

          reverse routing and

     loadConfig()

     meta, HTML helper

     mktime()

     nestedList, HTML helper

     Number helper

     paginate()

     Paginator helper2nd

     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(), 2nd3rd, 4th, 5th

     requestAction()

     Router::connect()2nd

     Router::parseExtensions()

     $rss->document()

     RSS helper

     save(), 2nd3rd

     save() model2nd

     secure, Form helper2nd

     send()2nd

     Session helper

     Set::extract()2nd, 3rd

     setFlash(), 2nd3rd Set::reverse(), 4th

     startup()2nd

     strftime()

     strtotime()

     style, HTML helper2nd

     submit()

     supplier

     tableCells, HTML helper2nd

     tableHeaders, HTML helper2nd

     text helper

     Time helper2nd

     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 functions2nd

     XML helper

     xmlFindAll()

G

generateTreeList() function (Tree behavior)

generating

     CRUD views using Bake2nd

     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 testing2nd

     parameters2nd

"has many" relationship2nd

"has one" relationship

hash insertion technique

hashed passwords, and Auth component

hashPasswords parameter (Auth component)

HeidiSQL

helper code

helpers

     See also Ajax helper

     built-in2nd

     Calendar

          event details, rendering

          events function

     first week of month, rendering2nd

     overview of2nd

     week four, rendering

     weeks five and six, rendering

     weeks two and three, rendering2nd

creating custom

     App helper for blog2nd

     overview of

customizing variables2nd

elements compared to, 2nd

as extending MVC structure2nd

Form

     Calendar plugin, Events controller and

     controller and

     create function2nd

     end function

     input function2nd

     label function

     overview of, 2nd, 3rd4th, 5th6th

     secure function2nd

HTML

     addCrumbs function2nd

     charset function

     css function2nd

     div function

     docType function2nd

     getCrumbs function2nd

     image function2nd

     link function2nd

     meta function

     nestedList function

     overview of2nd, 3rd

     para function

     style function2nd

     tableCells function2nd

     tableHeaders function2nd

     tags array

     using in default layout2nd

installing2nd

JavaScript, 2nd3rd

making available for whole application

     naming

     Number

     overview of2nd

     Paginator2nd

     RSS

     Session

     specifying outside helper functions

     syntax for

     Text

     third-party

     $this->data2nd

     Time2nd

     views and

     XML

home page for application

     customizing design of

     designing

          Pages controller, using2nd

          Posts Index action, using

     dynamic navigation, generating

HTML form, customizing2nd

HTML helper

     addCrumbs function2nd

     charset function

     css function2nd

     div function

     docType function2nd

     getCrumbs function2nd

     image function2nd

     link function2nd

     meta function

     nestedList function

     overview of2nd, 3rd

     para function

     style function2nd

     tableCells function2nd

     tableHeaders function2nd

     tags array

     using in default layout2nd

$html->link() function

HTTP Socket utility2nd

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

     Textile2nd

     vendors2nd

Index action

     Events controller

          Calendar helper2nd

          finishing2nd

          overview of

     Posts controller, find() function conditions, setting for2nd

          displaying most recent posts

          overview of

          parameters2nd

     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 to2nd

     creating

     customizing from scratch

          HTML form2nd

          HTML helper2nd

     writing

          debug() function2nd

          overview of2nd

initialize() function, creating custom

components2nd

initializing Ajax helper

input() function (Form helper)

     Automagic responses

     element functions2nd

     options parameter2nd

     overview of, 2nd, 3rd

     type option2nd

inserting fields into tags table2nd

installing

     helpers2nd

     jQuery and Form plugin

     localhost server

          configuring on computer2nd

          Mac OS X, setting up on2nd

          Windows, setting up on2nd

     MySQL, running

          settings for

          tools for

     Prototype framework for Ajax

     third-party plugins2nd

     vendors2nd

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, creating2nd

item.php file, code for

items table, and scaffolding feature2nd

ItemsController class

items_controller.php file, creating2nd

J

JavaScript, passing with options array (Ajax helper)

JavaScript helper

     including in App controller file

     overview of2nd

joinTable parameter ("has and belongs to many" relationship)

jQuery framework for Ajax2nd

L

label function (Form helper)

language, switching

launching

     Bake

     Cake

          Apache AllowOverride error

          overview of2nd

          permissions error

     to-do list application2nd

layouts

     default.ctp file2nd

     naming

     plugin, using

layouts folder, contents of

limit parameter

     "has and belongs to many" relationship

     "has many" relationship

link() function

     Ajax helper

          copying CSS2nd

          overview of

          in View

          Vote action2nd

          Votes view

     HTML helper2nd

     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 class2nd

          options array2nd

     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

          baking2nd

          Edit action2nd

          Feed action

          Index action, adding

          isAuthorized() function

          PDF action2nd

          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

          baked2nd

          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

     launching2nd

     overview of

     troubleshooting2nd

localhost server

     configuring on computer2nd

     setting up

          on Mac OS X2nd

          on Windows2nd

localization standards for utilities

localizing

     content

     web sites

logging in

     Auth component and2nd

     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 for2nd

magic variables, and route parameters2nd

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 behaviors2nd

     extending2nd

     login process in

     overview of2nd, 3rd, 4th

     to-do list application

models

     See also DataSources; Post model

     App2nd

     Comment, 2nd

     Event

     extending, resources for

     Item2nd

     naming2nd

     Tag, 2nd

     for to-do list application, creating2nd

moveUp and moveDown() functions (Tree behavior)

multiple rules for validating data, using2nd

multiple word names

MVC (Model-View-Controller) structure

     benefits of

     Cake areas

     CodeIgniter

     default behaviors2nd

     extending2nd

     login process in

     overview of2nd, 3rd, 4th

     to-do list application

MySQL

     connection settings, entering2nd

     running

          settings for

          tools for

MySQL DataSource, extending model with

MySQL Query Browser

N

naming conventions

     best practices for2nd

     controllers2nd

     files

     models2nd

     multiple word names

     overview of

     for plugin elements2nd

     resources

          behaviors

          components

          datasources

          elements2nd

          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") relationship2nd

"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 class2nd

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 scratch2nd

     debug() function and2nd

     View action and2nd, 3rd, 4th

Pages controller, creating home page for application with2nd

paginate() function, Index action in Posts controller

Paginator helper2nd

para function (HTML helper)

parameters

     See also specific parameters

     Auth component2nd, 3rd4th

     find() function2nd

     form elements and

     passed arguments compared to

     read() function

     redirect() function

     route2nd

     save() function

     separating

     setFlash() function

parsing

     files with extensions other than .php

          process of

          RSS feed, creating2nd

     XML file2nd

Pass key, and route parameters

passedArgs array

passing

     JavaScript with options array (Ajax helper)

     variables through routing engine2nd

password function(), Auth component

path strings for connecting application to MySQL socket

paths for remote setup

PDF files, outputting posts as2nd

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 of2nd

PHP object, extending

PHP scripting, typical flow for

PHP shorthand

     echo() function

     in code examples

PHPMyAdmin

plugins

     Ajax Chat2nd

     Calendar

          Event model

          Events controller2nd

          events table

          files and folders, setting up

     custom

          creating

          layouts, using

          naming convention for elements2nd

          running actions

     description of

     FCKeditor

     resources for

     third-party2nd

ports, default, for MySQL

Post model

     Feed function

     isAuthorized() function

     validating data

          built-in rules for2nd

          multiple rules, using2nd

          multiple validations, using

          on parameter

          overview of2nd

          required fields

          setting error messages

     writing custom functions for2nd

     xmlFindAll() function

$post variable, debug() function displaying contents of

Posts controller

     Add action

          file upload feature2nd

          overview of, 2nd3rd

          save() function2nd

     baking2nd

     baking views off

     beforeFilter() action

     Chat action

     Edit action2nd, 3rd

     Feed action

     Index action

          adding

          find() function2nd

          listing

          paginate() function

          recursive attribute

     isAuthorized() function

     PDF action2nd

     Read action

     Router::connect() function and

     Text action2nd

     View action

          with children() function

          overview of, 2nd

          read() function

          redirect() function2nd

          setFlash() function2nd

     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 plugin2nd

public files

Q

query results, trimming

     bindModel() function

     unbindModel() function2nd

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 files2nd

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 on2nd

removeFromTree() function (Tree behavior)

render() function

     Calendar helper

     Calendar plugin

     Comments controller2nd

     overview of

request handling, HTTP Socket utility2nd

requestAction() function

RequestHandler component

requesting controller actions

required fields, when validating data

resolving URLs

resources, naming

     behaviors

     components

     datasources

     elements2nd

     helpers

     layouts

resources that extend MVC structure2nd. See also behaviors; DataSources reverse routing

URL lookups and

verbose linking

role field, adding in users table

Router::connect() function2nd

Router::parseExtensions() function

routes, using, rather than controllers

routes.php file

routing

     admin2nd

     app/config/routes.php file2nd

     arguments and2nd

     overview of

     parameters2nd

     parsing files with extensions other than .php

          process of

          RSS feed, creating2nd

     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 host2nd

     MySQL

          settings for

          tools for

     plugin actions

     Textile

running Cake

     database schema, designing2nd

     on localhost environment

          downloading

          launching2nd

          overview of

          troubleshooting2nd

     MySQL connection settings, entering2nd

     setup routines2nd

S

Sanitize utility

save() function, 2nd3rd

save() model function2nd

saving forms2nd

$scaffold attribute

scaffolded actions2nd

scaffolding

     creating for to-do list application2nd

     overview of2nd

scaffolding feature

     moving beyond

     testing associations with2nd

secure function (Form helper)2nd

securing application for running on remote host

Security component

Security.salt value, changing2nd

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() function2nd, 3rd

setFlash() function, 2nd3rd

Set::reverse() function

setParent() function (Tree behavior)

setup routines, running2nd

setup() function (Tree behavior)

slashes, URLs and

socket

spam, blocking in Comments Add action2nd

<span> element

starting. See launching

startup() function, creating custom components2nd

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, creating2nd

submit() function (Ajax helper)

supplier functions

Suraski, Zeev

Symfony framework

T

table associations

     belongs to relationship2nd

     conventions for

     database design2nd

     "has and belongs to many" relationship2nd

     "has many" relationship2nd

     "has one" relationship

     testing2nd

table structure for to-do list application

tableCells function (HTML helper)2nd

tableHeaders function (HTML helper)2nd

tables

     chats

     comments, 2nd

     events

     items2nd

     naming, 2nd

     posts

     posts_tags

     tags, 2nd3rd

     users, 2nd, 3rd

Tag model, 2nd3rd

Tags Add view

tags array

     App helper

     HTML helper

Tags controller, baking2nd

tags table for blog application, 2nd3rd

Tags views, adjusting2nd

test suite

testing

     "has and belongs to many" relationship for tags and posts

     table associations2nd

     unit testing

     views

Text action (Posts controller), file upload feature2nd

Text helper

Text view2nd

Textile2nd

third-party components

third-party plugins2nd

third-party scripts. See vendors

$this->data helper2nd

$this identifier

$this->params array2nd

.thtml file extension

Time helper2nd

tmp folder, preparing

to-do list application

     controllers for, creating2nd

     database for, designing and creating2nd

     launching2nd

     models for, creating2nd

     MVC structure and

     scaffolding, creating2nd

tools. See Bake; utilities

Translate behavior

translating strings

Tree behavior

     to categorize blog posts

          baking Tags controller and views2nd

          fetching related posts when viewing tag2nd

          inserting fields into tags table2nd

          Tags views, adjusting2nd

          using in Tag model2nd

     functions2nd

tree() function (Folder utility)

trimming query results2nd

troubleshooting launch2nd

type option of input function (Form helper)2nd

U

unbindModel() function2nd

underscore (_) character

_() function

unidirectional scripting

unit testing, benefits of

updating form fields2nd

uploading files with jQuery

     Posts Add action, creating2nd

     Posts Text action, creating2nd

     Text view, creating2nd

URL lookups

URL parameter for redirect() function

URLs

     friendly

     resolving

user interactions

     asynchronous sequence2nd

     form submission sequence

          editing or updating records2nd

          saving forms2nd

          $this->data helper2nd

     overview of

     simple page request2nd

user's role, checking, and Auth component2nd

userModel parameter (Auth component)

Users controller

     Add link

     Login action2nd

     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 Socket2nd

     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 for2nd

     multiple rules, using2nd

     multiple validations, using

     on parameter

     overview of2nd

     required fields

     setting error messages

var $helpers array

variables

     global

     helper, customizing2nd

     magic, and route parameters2nd

     session, reading and writing

     using in controller actions

vendor files, writing instead of components

vendors

     assumptions made about2nd

     description of

     file names

     including2nd

     installing2nd

     nested folders and

     unidirectional scripting and

     vendors folder, contents of

verbose linking

verify() function (Tree behavior)

View action

     with children() function

     Events controller2nd

     Posts controller

          overview of, 2nd

          read() function

          redirect() function2nd

          setFlash() function2nd

view() scaffolded action

View view, adjusting

viewing XML data in data.xml2nd

views

     Add, adjusting and testing

     admin, linking with admin actions

     Bake

          commands

          configuring console's profile to run2nd

          creating with

          customizing

          editing baked views

          generating CRUD views using2nd

          launching

     default.ctp file, 2nd

     Edit, adjusting and testing

     elements and

     error messages in

     Feed

     helpers and, 2nd

     Index, adjusting

     Index action2nd, 3rd

     individual, creating2nd

     naming

     overview of

     simplified

     Tags, adjusting2nd

     Text2nd

     user interactions

          asynchronous sequence2nd

          form submission sequence2nd

          simple page request2nd

     using vendor content in

     View, adjusting

     Vote

     writing individual files

          customizing from scratch2nd

          customizing HTML form2nd

          debug() function2nd

          overview of2nd

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 for2nd

write() function (File utility)

writing

     behavior functions

     to cookie

     custom model functions2nd

     global variables

     individual view files

          customizing from scratch2nd

          customizing HTML form2nd

          debug() function2nd

          overview of2nd

          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 up2nd

     disconnecting from XML file

     file, creating

     parsing XML file2nd

     reading XML file2nd

     skeleton, starting with2nd

     using in model2nd

     viewing data2nd

XML helper

xmlFindAll() function

Z

Zend Framework

     Cake compared to

     community support

     features of

     founders of

     PDF component2nd

     web service library2nd

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.143.7.199