Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more ➡
Download
Standard view
Full view
of .
Add note
Save to My Library
Sync to mobile
Look up keyword or section
Like this
1Activity
×

Table Of Contents

Why yet another book?
About this book
Acknowledgments
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
Column
Model Methods
Default Parameters
Final Thoughts
Enhance your Productivity
Start Faster: Customize the Project Creation Process
Chapter 3: Enhance your Productivity 31
installDir()
runTask()
Loggers
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
Configuration
The Delivery Strategy
TherealtimeStrategy
Thesingle_addressStrategy
ThespoolStrategy
ThenoneStrategy
The Mail Transport
Sending an Email from a Task
Debugging
Testing
Email Messages as Classes
Recipes
Sending Emails viaGmail
Customizing the Mailer Object
UsingSwift Mailer Plugins
Customizing the Spool Behavior
Custom Widgets and Validators
Widget and Validator Internals
sfWidgetFormInternals
sfValidatorBase Internals
Chapter 5: Custom Widgets and Validators 55
TheoptionsAttribute
Building a Simple Widget and Validator
The Google Address Map Widget
sfWidgetFormGMapAddressWidget
sfValidatorGMapAddressValidator
Mini-Project: Products & Photos
Learn more by doing the Examples
Basic Form Setup
Embedding Forms
Refactoring
Dissecting the sfForm Object
A Form is an Array
Dissecting theProductForm
BehindsfForm::embedForm()
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
sfWebDebugPanel::setStatus()
sfWebDebugPanel::getToggler()
sfWebDebugPanel::getToggleableDebugStack()
sfWebDebugPanel::formatFileLink()
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
Overview
Reason for a new Tutorial
How to play with this Tutorial on different Windows Systems, including 32-bit
Web Server used throughout the Document
Databases
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
Options
Arguments
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
Support
Chapter 15: Working with the symfony Community 225
Fixes and new Features
Plugins
Conferences and Events
Reputation
Giving back to the Community
The Forums and Mailinglists
Contributing Code
Documentation
Presentations
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
More With Symfony 1 4 En

More With Symfony 1 4 En

Ratings: (0)|Views: 2,465|Likes:
Published by Elena Alexie

More info:

Published by: Elena Alexie on Jan 13, 2011
Copyright:Attribution Non-commercial

Availability:

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

11/12/2011

pdf

text

original

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

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