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

Table Of Contents

0 of .
Results for:
No results containing your search query
P. 1
Learn Symfony for PHP quickly

Learn Symfony for PHP quickly

Ratings: (0)|Views: 265 |Likes:
Published by devotion
Its the easiest way to learn the most powerful php framwork, why to re-invent the wheel when you have such resources ?
Its the easiest way to learn the most powerful php framwork, why to re-invent the wheel when you have such resources ?

More info:

Published by: devotion on Oct 22, 2012
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

08/13/2013

pdf

text

original

 
The Cookbook
for Symfony 2.1
 generated on October 11, 2012
 
The Cookbook
(2.1)Thisworkislicensedunderthe“Attribution-ShareAlike3.0Unportedlicense(
http://creativecommons.org/ licenses/by-sa/3.0/ 
).Youarefree
toshare
(tocopy,distributeandtransmitthework),and
toremix
(toadaptthework)underthefollowing conditions:
Attribution
:Youmustattributetheworkinthemannerspecifiedbytheauthororlicensor(butnot in any way that suggests that they endorse you or your use of the work).
ShareAlike
:Ifyoualter,transform,orbuilduponthiswork,youmaydistributetheresultingworkonlyunderthesame,similaroracompatiblelicense.Foranyreuseordistribution,youmustmakeclear to others the license terms of this work.Theinformationinthisbookisdistributedonan“asisbasis,withoutwarranty.Althougheveryprecautionhasbeentakeninthepreparationofthiswork,neithertheauthor(s)norSensioLabsshallhaveanyliabilitytoanypersonorentitywithrespecttoanylossordamagecausedorallegedtobecauseddirectlyorindirectlybythe information contained in this work.Ifyoufindtyposorerrors,feelfreetoreportthembycreatingaticketontheSymfonyticketingsystem(
http://github.com/symfony/symfony-docs/issues
).Basedonticketsandusersfeedback,thisbookiscontinuously updated.
 
Contents at a Glance
How to Create and store a Symfony2 Project in git...............................................................................5How to Create and store a Symfony2 Project in Subversion..................................................................8How to customize Error Pages...........................................................................................................12How to define Controllers as Services................................................................................................14How to force routes to always use HTTPS or HTTP...........................................................................16How to allow a "/" character in a route parameter..............................................................................17How to configure a redirect to another route without a custom controller...........................................18How to use HTTP Methods beyond GET and POST in Routes...........................................................19How to Use Assetic for Asset Management........................................................................................21How to Minify JavaScripts and Stylesheets with YUI Compressor.......................................................25How to Use Assetic For Image Optimization with Twig Functions.....................................................27How to Apply an Assetic Filter to a Specific File Extension.................................................................30How to handle File Uploads with Doctrine........................................................................................32How to use Doctrine Extensions: Timestampable, Sluggable, Translatable, etc...................................40How to Register Event Listeners and Subscribers...............................................................................41How to use Doctrine's DBAL Layer...................................................................................................43How to generate Entities from an Existing Database...........................................................................45How to work with Multiple Entity Managers and Connections...........................................................49How to Register Custom DQL Functions...........................................................................................52How to Define Relationships with Abstract Classes and Interfaces......................................................53How to implement a simple Registration Form..................................................................................56How to customize Form Rendering...................................................................................................61How to use Data Transformers..........................................................................................................72How to Dynamically Generate Forms Using Form Events..................................................................78How to Embed a Collection of Forms................................................................................................81How to Create a Custom Form Field Type.........................................................................................93How to use the Virtual Form Field Option.........................................................................................98How to create a Custom Validation Constraint................................................................................101How to Master and Create new Environments.................................................................................105How to override Symfony's Default Directory Structure....................................................................110How to Set External Parameters in the Service Container.................................................................113How to use PdoSessionStorage to store Sessions in the Database......................................................116How to use the Apache Router........................................................................................................118How to create an Event Listener......................................................................................................120How to work with Scopes...............................................................................................................122How to work with Compiler Passes in Bundles................................................................................125
PDF brought to you by generated on October 11, 2012
Contents at a Glance | iii

Activity (2)

You've already reviewed this. Edit your review.
1 thousand reads
1 hundred reads

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)//-->