Welcome to Scribd. Sign in or start your free trial to enjoy unlimited e-books, audiobooks & documents.Find out more
Standard view
Full view
of .
Look up keyword or section
Like this

Table Of Contents

Why yet another book?
About this book
Before we start
Project Setup: A CMS for Many Clients
The Schema and Data
Leveraging the Custom Route
Generating the Correct Route
Route Collections
Replacing the Routes with a Route Collection
Creating a Custom Route Collection
Missing Piece: Creating New Pages
Customizing an Object Route Collection
Options on a Route Collection
Action Routes
Model Methods
Default Parameters
Final Thoughts
Enhance your Productivity
Start Faster: Customize the Project Creation Process
Chapter 3: Enhance your Productivity 31
User Interaction
Filesystem Operations
Develop Faster
Choosing your IDE
Find Documentation Faster
Online API
Cheat Sheets
Offline Documentation
Online Tools
Debug Faster
Test Faster
Record Your Functional Tests
Run your Test Suite faster
Sending Emails from an Action
The Fastest Way
The Flexible Way
The Powerful Way
Using the Symfony View
The Delivery Strategy
The Mail Transport
Sending an Email from a Task
Email Messages as Classes
Sending Emails viaGmail
Customizing the Mailer Object
UsingSwift Mailer Plugins
Customizing the Spool Behavior
Custom Widgets and Validators
Widget and Validator Internals
sfValidatorBase Internals
Chapter 5: Custom Widgets and Validators 55
Building a Simple Widget and Validator
The Google Address Map Widget
Mini-Project: Products & Photos
Learn more by doing the Examples
Basic Form Setup
Embedding Forms
Dissecting the sfForm Object
A Form is an Array
Dissecting theProductForm
Rendering Embedded Forms in the View
Rendering each Form Field withsfFormField
sfFormField Rendering Methods
Rendering the New ProductForm
Saving Object Forms
The Form Saving Process
Ignoring Embedded Forms
Creating a Custom Validator
Easily Embedding Doctrine-Related Forms
Form Events
Custom Logging viaform.validation_error
Custom Styling when a Form Element has an Error
Extending the Web Debug Toolbar
Creating a New Web Debug Panel
Chapter 7: Extending the Web Debug Toolbar 85
The Three Types of Web Debug Panels
The Icon-OnlyPanel Type
The LinkPanel Type
The ContentPanel Type
Customizing Panel Content
Other Tricks with the Web Debug Toolbar
Removing Default Panels
Accessing the Request Parameters from a Panel
Conditionally Hide a Panel
Advanced Doctrine Usage
Writing a Doctrine Behavior
The Schema
Chapter 8: Advanced Doctrine Usage 93
The Template
The Event Listener
Using Doctrine Result Caching
Our Schema
Configuring Result Cache
Sample Queries
Deleting Cache
Deleting with Events
Writing a Doctrine Hydrator
The Schema and Fixtures
Writing the Hydrator
Using the Hydrator
Taking Advantage of Doctrine Table Inheritance
Doctrine Table Inheritance
Chapter 9: Taking Advantage of Doctrine Table Inheritance 106
The Simple Table Inheritance Strategy
The Column Aggregation Table Inheritance Strategy
The Concrete Table Inheritance Strategy
Symfony Integration of Table Inheritance
Introducing the Real World Case Studies
Table Inheritance at the Model Layer
Table Inheritance at the Forms Layer
Table Inheritance at the Filters Layer
Table Inheritance at the Admin Generator Layer
The Bootstrap
Bootstrap and configuration summary
sfContextand Factories
Using therequest.filter_parameterevent
routing.load_configurationevent usage example
Taking advantage of thetemplate.filter_parametersevent
A Word on Config Handlers
The Dispatching and Execution of the Request
The Dispatching Process Summary
The Filter Chain
The Security Filter
The Cache Filter
The Execution Filter
The Rendering Filter
Summary of the filter chain execution
Global Summary
Reason for a new Tutorial
How to play with this Tutorial on different Windows Systems, including 32-bit
Web Server used throughout the Document
Windows Server Configuration
Preliminary Checks - Dedicated Server on the Internet
Installing PHP - Just a few Clicks away
Executing PHP from the Command Line Interface
Symfony Sandbox Installation and Usage
Download, create Directory, copy all Files
Execution Test
Web Application Creation
Sandbox: Web Front-end Configuration
Creation of a new symfony Project
Download, create a Directory and copy the Files
Directory Tree Setup
Creation and Initialization
Application Configuration for Internet-ready Applications
Developing for Facebook
Facebook Applications
Create the Facebook Application
Install and ConfiguresfFacebookConnectPlugin
Configure a Facebook Application
Configure a Facebook Connect Website
Connecting sfGuard with Facebook
Choosing between FBML and XFBML: Problem solved by symfony
The simple Hello You Application
Facebook Connect
How Facebook Connect works and different Integration Strategies
The Facebook Connect Filter
Clean implementation to avoid the Fatal IE JavaScript Bug
Best Practices for Facebook Applications
Using symfony’s Environments to set up multiple Facebook Connect test Servers
Using symfony’s logging System for debugging FBML
Writing your own Tasks
The Options System
Default Sets
Special Options
Accessing the Database
Sending Emails
Delegate Content Generation
Use Swift Mailer’s Decorator Plugin
Use an external Templating Library
Getting the best of both Worlds
Executing a Task inside a Task
Manipulating the Filesystem
Using Skeletons to generate Files
Using a dry-run Option
Writing unit Tests
Helper Methods: Logging
Helper Methods: User Interaction
Bonus Round: Using Tasks with a Crontab
Bonus Round: Using STDIN
Playing with symfony’s Config Cache
Form Strings
Chapter 14: Playing with symfony’s Config Cache 206
YAML: A Solution
Filtering Template Variables
Applying the YAML
The Config Cache
Cover me, I’m goin’ in!
Custom Config Handlers
Getting Fancy with Embedded Forms
Just For Fun: Bundling a Plugin
Getting the best from the Community
Chapter 15: Working with the symfony Community 225
Fixes and new Features
Conferences and Events
Giving back to the Community
The Forums and Mailinglists
Contributing Code
Organize an Event/Meetup
Become locally active
Becoming part of the Core Team
Where to start?
External Communities
JavaScript code for sfWidgetFormGMapAddress
Attribution-Share Alike 3.0 Unported License
0 of .
Results for:
No results containing your search query
P. 1
symfony 1.4

symfony 1.4

|Views: 64|Likes:
Published by artvertising

More info:

Published by: artvertising on Nov 01, 2010
Copyright:Attribution Non-commercial


Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less





You're Reading a Free Preview
Pages 6 to 16 are not shown in this preview.
You're Reading a Free Preview
Pages 22 to 186 are not shown in this preview.
You're Reading a Free Preview
Pages 192 to 195 are not shown in this preview.
You're Reading a Free Preview
Pages 201 to 218 are not shown in this preview.
You're Reading a Free Preview
Pages 224 to 253 are not shown in this preview.

You're Reading a Free Preview

/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->