ºÝºÝߣ

ºÝºÝߣShare a Scribd company logo
Symfony 2 Best Practices
Speaker: Bao Nguyen
bao.nguyen@semantics.vn
10/13/2013
10/13/2013
Why Symfony
2.3?
Why best
practices?

10/13/2013
Code Standard
? PSR-0, PSR-1, PSR-2
? Bundle Structure Best Practices
? Bundle namespace:
? SmvnSomeCoolBundle
? SmvnBundleSomeCoolBundle
? SmvnBundleSmvnSomeCoolBundle

? Service naming, Route naming
? Prefix with bundle name and vendor name (for reusable bundle)
? Use service alias (image_resizer vs. smvn_image_resizer)
10/13/2013
Only commit your own code
?
?
?
?
?
?
?
?
?
?
?

/.idea
/nbproject
/composer.phar
/vendor
/app/config/parameters.yml
/app/cache
/app/logs
/app/phpunit.xml
*.php~
/web/bundles
/web/uploads

10/13/2013
Tools
? Manage Assets (js+css) with Assetic
? Sensio Framework Extra
? Security Component (Firewall, Users, ACL ¡­)
? Twig
? Doctrine Extension
? Console component
? PHPUnit / Behat
? Configuration system (DI & Parameters)
? Jenkins Jobs for PHP (http://jenkins-php.org/)
10/13/2013
Reusability
? Template inheritance
? Template macro
? Twig Extension
? Base Controller / Embed Controller
? Service
? Form Type
? Bundle (try knpbundles.com)
? Extract bundle from project for reusability
10/13/2013
Pitfall
? Security Context: isGranted() vs. hasRole()
? Event Listener vs. Event Subscriber
? Doctrine Schema Update vs. Doctrine Schema Migration
? app/cache, app/logs write-permission: Never use umask
? Nesting limit in xdebug
? Case sensitive Annotation name (@Entity vs @entity)
? Avoid using dev-master in composer.json
? Update vendor ? Clear cache ? Clear Assetics ? Update schema
10/13/2013
Thank you for
listening!
bao.nguyen@semantics.vn

10/13/2013

More Related Content

Similar to Symfony 2 Best Practices (20)

Starting with Symfony2
Starting with Symfony2Starting with Symfony2
Starting with Symfony2
Kevin Bond
?
Kubernetes - State of the Union (Q1-2016)
Kubernetes - State of the Union (Q1-2016)Kubernetes - State of the Union (Q1-2016)
Kubernetes - State of the Union (Q1-2016)
DoiT International
?
Deep Dive Azure Functions - Global Azure Bootcamp 2019
Deep Dive Azure Functions - Global Azure Bootcamp 2019Deep Dive Azure Functions - Global Azure Bootcamp 2019
Deep Dive Azure Functions - Global Azure Bootcamp 2019
Andrea Tosato
?
Creating a Service Platform for .NET - Cle?ment Esco?er, University of Grenoble
Creating a Service Platform for .NET - Cle?ment Esco?er, University of GrenobleCreating a Service Platform for .NET - Cle?ment Esco?er, University of Grenoble
Creating a Service Platform for .NET - Cle?ment Esco?er, University of Grenoble
mfrancis
?
March 2013 (BMC: Marimba Roadmap)
March 2013 (BMC: Marimba Roadmap)March 2013 (BMC: Marimba Roadmap)
March 2013 (BMC: Marimba Roadmap)
CM-UG.com
?
Meet Magento Spain 2019 - Our Experience with Magento Cloud
Meet Magento Spain 2019 - Our Experience with Magento CloudMeet Magento Spain 2019 - Our Experience with Magento Cloud
Meet Magento Spain 2019 - Our Experience with Magento Cloud
Lyzun Oleksandr
?
Sonar En
Sonar EnSonar En
Sonar En
Aleksey Trusov
?
Minko stage3d 20130222
Minko stage3d 20130222Minko stage3d 20130222
Minko stage3d 20130222
Minko3D
?
Chris OBrien - Pitfalls when developing with the SharePoint Framework (SPFx)
Chris OBrien - Pitfalls when developing with the SharePoint Framework (SPFx)Chris OBrien - Pitfalls when developing with the SharePoint Framework (SPFx)
Chris OBrien - Pitfalls when developing with the SharePoint Framework (SPFx)
Chris O'Brien
?
AMF Testing Made Easy! DeepSec 2012
AMF Testing Made Easy! DeepSec 2012AMF Testing Made Easy! DeepSec 2012
AMF Testing Made Easy! DeepSec 2012
Luca Carettoni
?
Linux Desktop Automation
Linux Desktop AutomationLinux Desktop Automation
Linux Desktop Automation
Rui Lapa
?
Build your first DApp using Substrate Framework - Part I
Build your first DApp using Substrate Framework - Part IBuild your first DApp using Substrate Framework - Part I
Build your first DApp using Substrate Framework - Part I
Knoldus Inc.
?
§¯§à§Ó§í§Û InterSystems: open-source, §Þ§Ú§ä§Ñ§á§í, §ç§Ñ§Ü§Ñ§ä§à§ß§í
§¯§à§Ó§í§Û InterSystems: open-source, §Þ§Ú§ä§Ñ§á§í, §ç§Ñ§Ü§Ñ§ä§à§ß§í§¯§à§Ó§í§Û InterSystems: open-source, §Þ§Ú§ä§Ñ§á§í, §ç§Ñ§Ü§Ñ§ä§à§ß§í
§¯§à§Ó§í§Û InterSystems: open-source, §Þ§Ú§ä§Ñ§á§í, §ç§Ñ§Ü§Ñ§ä§à§ß§í
Timur Safin
?
The use of Symfony2 @ Overblog
The use of Symfony2 @ OverblogThe use of Symfony2 @ Overblog
The use of Symfony2 @ Overblog
Xavier Hausherr
?
One-Man Ops
One-Man OpsOne-Man Ops
One-Man Ops
Jos Boumans
?
Our Puppet Story ¨C Patterns and Learnings (sage@guug, March 2014)
Our Puppet Story ¨C Patterns and Learnings (sage@guug, March 2014)Our Puppet Story ¨C Patterns and Learnings (sage@guug, March 2014)
Our Puppet Story ¨C Patterns and Learnings (sage@guug, March 2014)
DECK36
?
Agentless System Crawler - InterConnect 2016
Agentless System Crawler - InterConnect 2016Agentless System Crawler - InterConnect 2016
Agentless System Crawler - InterConnect 2016
Canturk Isci
?
Zenoh Tutorial
Zenoh TutorialZenoh Tutorial
Zenoh Tutorial
Angelo Corsaro
?
2009ÄêÖÕ×ܽá(ÕÅÇì³Ç)
2009ÄêÖÕ×ܽá(ÕÅÇì³Ç)2009ÄêÖÕ×ܽá(ÕÅÇì³Ç)
2009ÄêÖÕ×ܽá(ÕÅÇì³Ç)
daqing1986
?
drmaatutggf12
drmaatutggf12drmaatutggf12
drmaatutggf12
tutorialsruby
?
Starting with Symfony2
Starting with Symfony2Starting with Symfony2
Starting with Symfony2
Kevin Bond
?
Kubernetes - State of the Union (Q1-2016)
Kubernetes - State of the Union (Q1-2016)Kubernetes - State of the Union (Q1-2016)
Kubernetes - State of the Union (Q1-2016)
DoiT International
?
Deep Dive Azure Functions - Global Azure Bootcamp 2019
Deep Dive Azure Functions - Global Azure Bootcamp 2019Deep Dive Azure Functions - Global Azure Bootcamp 2019
Deep Dive Azure Functions - Global Azure Bootcamp 2019
Andrea Tosato
?
Creating a Service Platform for .NET - Cle?ment Esco?er, University of Grenoble
Creating a Service Platform for .NET - Cle?ment Esco?er, University of GrenobleCreating a Service Platform for .NET - Cle?ment Esco?er, University of Grenoble
Creating a Service Platform for .NET - Cle?ment Esco?er, University of Grenoble
mfrancis
?
March 2013 (BMC: Marimba Roadmap)
March 2013 (BMC: Marimba Roadmap)March 2013 (BMC: Marimba Roadmap)
March 2013 (BMC: Marimba Roadmap)
CM-UG.com
?
Meet Magento Spain 2019 - Our Experience with Magento Cloud
Meet Magento Spain 2019 - Our Experience with Magento CloudMeet Magento Spain 2019 - Our Experience with Magento Cloud
Meet Magento Spain 2019 - Our Experience with Magento Cloud
Lyzun Oleksandr
?
Minko stage3d 20130222
Minko stage3d 20130222Minko stage3d 20130222
Minko stage3d 20130222
Minko3D
?
Chris OBrien - Pitfalls when developing with the SharePoint Framework (SPFx)
Chris OBrien - Pitfalls when developing with the SharePoint Framework (SPFx)Chris OBrien - Pitfalls when developing with the SharePoint Framework (SPFx)
Chris OBrien - Pitfalls when developing with the SharePoint Framework (SPFx)
Chris O'Brien
?
AMF Testing Made Easy! DeepSec 2012
AMF Testing Made Easy! DeepSec 2012AMF Testing Made Easy! DeepSec 2012
AMF Testing Made Easy! DeepSec 2012
Luca Carettoni
?
Linux Desktop Automation
Linux Desktop AutomationLinux Desktop Automation
Linux Desktop Automation
Rui Lapa
?
Build your first DApp using Substrate Framework - Part I
Build your first DApp using Substrate Framework - Part IBuild your first DApp using Substrate Framework - Part I
Build your first DApp using Substrate Framework - Part I
Knoldus Inc.
?
§¯§à§Ó§í§Û InterSystems: open-source, §Þ§Ú§ä§Ñ§á§í, §ç§Ñ§Ü§Ñ§ä§à§ß§í
§¯§à§Ó§í§Û InterSystems: open-source, §Þ§Ú§ä§Ñ§á§í, §ç§Ñ§Ü§Ñ§ä§à§ß§í§¯§à§Ó§í§Û InterSystems: open-source, §Þ§Ú§ä§Ñ§á§í, §ç§Ñ§Ü§Ñ§ä§à§ß§í
§¯§à§Ó§í§Û InterSystems: open-source, §Þ§Ú§ä§Ñ§á§í, §ç§Ñ§Ü§Ñ§ä§à§ß§í
Timur Safin
?
The use of Symfony2 @ Overblog
The use of Symfony2 @ OverblogThe use of Symfony2 @ Overblog
The use of Symfony2 @ Overblog
Xavier Hausherr
?
Our Puppet Story ¨C Patterns and Learnings (sage@guug, March 2014)
Our Puppet Story ¨C Patterns and Learnings (sage@guug, March 2014)Our Puppet Story ¨C Patterns and Learnings (sage@guug, March 2014)
Our Puppet Story ¨C Patterns and Learnings (sage@guug, March 2014)
DECK36
?
Agentless System Crawler - InterConnect 2016
Agentless System Crawler - InterConnect 2016Agentless System Crawler - InterConnect 2016
Agentless System Crawler - InterConnect 2016
Canturk Isci
?
2009ÄêÖÕ×ܽá(ÕÅÇì³Ç)
2009ÄêÖÕ×ܽá(ÕÅÇì³Ç)2009ÄêÖÕ×ܽá(ÕÅÇì³Ç)
2009ÄêÖÕ×ܽá(ÕÅÇì³Ç)
daqing1986
?

Recently uploaded (20)

Recruiting Tech: A Look at Why AI is Actually OG
Recruiting Tech: A Look at Why AI is Actually OGRecruiting Tech: A Look at Why AI is Actually OG
Recruiting Tech: A Look at Why AI is Actually OG
Matt Charney
?
STRING FUNCTIONS IN JAVA BY N SARATH KUMAR
STRING FUNCTIONS IN JAVA BY N SARATH KUMARSTRING FUNCTIONS IN JAVA BY N SARATH KUMAR
STRING FUNCTIONS IN JAVA BY N SARATH KUMAR
Sarathkumar Narsupalli
?
STARLINK-JIO-AIRTEL Security issues to Ponder
STARLINK-JIO-AIRTEL Security issues to PonderSTARLINK-JIO-AIRTEL Security issues to Ponder
STARLINK-JIO-AIRTEL Security issues to Ponder
anupriti
?
AuthZEN The OpenID Connect of Authorization - Gartner IAM EMEA 2025
AuthZEN The OpenID Connect of Authorization - Gartner IAM EMEA 2025AuthZEN The OpenID Connect of Authorization - Gartner IAM EMEA 2025
AuthZEN The OpenID Connect of Authorization - Gartner IAM EMEA 2025
David Brossard
?
Leadership Spectrum by Sonam Sherpa at GDG Kathmandu March Monthly Meetup
Leadership Spectrum by Sonam Sherpa at GDG Kathmandu March Monthly MeetupLeadership Spectrum by Sonam Sherpa at GDG Kathmandu March Monthly Meetup
Leadership Spectrum by Sonam Sherpa at GDG Kathmandu March Monthly Meetup
GDG Kathmandu
?
Automating Behavior-Driven Development: Boosting Productivity with Template-D...
Automating Behavior-Driven Development: Boosting Productivity with Template-D...Automating Behavior-Driven Development: Boosting Productivity with Template-D...
Automating Behavior-Driven Development: Boosting Productivity with Template-D...
DOCOMO Innovations, Inc.
?
Automated Engineering of Domain-Specific Metamorphic Testing Environments
Automated Engineering of Domain-Specific Metamorphic Testing EnvironmentsAutomated Engineering of Domain-Specific Metamorphic Testing Environments
Automated Engineering of Domain-Specific Metamorphic Testing Environments
Pablo G¨®mez Abajo
?
APAC Solutions Challenge Info Session.pdf
APAC Solutions Challenge Info Session.pdfAPAC Solutions Challenge Info Session.pdf
APAC Solutions Challenge Info Session.pdf
GDG on Campus Monash
?
202408_JAWSPANKRATION_Introduction_of_Minaden.pdf
202408_JAWSPANKRATION_Introduction_of_Minaden.pdf202408_JAWSPANKRATION_Introduction_of_Minaden.pdf
202408_JAWSPANKRATION_Introduction_of_Minaden.pdf
NTTDOCOMO-ServiceInnovation
?
Top Tips to Get Your Data AI-Ready? ? ?? ?
Top Tips to Get Your Data AI-Ready? ? ?? ?Top Tips to Get Your Data AI-Ready? ? ?? ?
Top Tips to Get Your Data AI-Ready? ? ?? ?
Precisely
?
SAP Automation with UiPath: SAP Test Automation - Part 5 of 8
SAP Automation with UiPath: SAP Test Automation - Part 5 of 8SAP Automation with UiPath: SAP Test Automation - Part 5 of 8
SAP Automation with UiPath: SAP Test Automation - Part 5 of 8
DianaGray10
?
Benefits of Moving Ellucian Banner to Oracle Cloud
Benefits of Moving Ellucian Banner to Oracle CloudBenefits of Moving Ellucian Banner to Oracle Cloud
Benefits of Moving Ellucian Banner to Oracle Cloud
AstuteBusiness
?
San Francisco Atlassian ACE - Mar 27 2025.pdf
San Francisco Atlassian ACE - Mar 27 2025.pdfSan Francisco Atlassian ACE - Mar 27 2025.pdf
San Francisco Atlassian ACE - Mar 27 2025.pdf
Matt Doar
?
All-Data, Any-AI Integration: FME & Amazon Bedrock in the Real-World
All-Data, Any-AI Integration: FME & Amazon Bedrock in the Real-WorldAll-Data, Any-AI Integration: FME & Amazon Bedrock in the Real-World
All-Data, Any-AI Integration: FME & Amazon Bedrock in the Real-World
Safe Software
?
Research Data Management (RDM): the management of dat in the research process
Research Data Management (RDM): the management of dat in the research processResearch Data Management (RDM): the management of dat in the research process
Research Data Management (RDM): the management of dat in the research process
HeilaPienaar
?
Innovative Web Design | Malachite Technologies
Innovative Web Design | Malachite TechnologiesInnovative Web Design | Malachite Technologies
Innovative Web Design | Malachite Technologies
malachitetechnologie1
?
GDG Cloud Southlake #41: Shay Levi: Beyond the Hype:How Enterprises Are Using AI
GDG Cloud Southlake #41: Shay Levi: Beyond the Hype:How Enterprises Are Using AIGDG Cloud Southlake #41: Shay Levi: Beyond the Hype:How Enterprises Are Using AI
GDG Cloud Southlake #41: Shay Levi: Beyond the Hype:How Enterprises Are Using AI
James Anderson
?
UiPath NY AI Series: Session 4: UiPath AutoPilot for Developers using Studio Web
UiPath NY AI Series: Session 4: UiPath AutoPilot for Developers using Studio WebUiPath NY AI Series: Session 4: UiPath AutoPilot for Developers using Studio Web
UiPath NY AI Series: Session 4: UiPath AutoPilot for Developers using Studio Web
DianaGray10
?
Solana Developer Hiring for Enterprises Key Considerations.pdf
Solana Developer Hiring for Enterprises Key Considerations.pdfSolana Developer Hiring for Enterprises Key Considerations.pdf
Solana Developer Hiring for Enterprises Key Considerations.pdf
Lisa ward
?
How Telemedicine App Development is Revolutionizing Virtual Care.pptx
How Telemedicine App Development is Revolutionizing Virtual Care.pptxHow Telemedicine App Development is Revolutionizing Virtual Care.pptx
How Telemedicine App Development is Revolutionizing Virtual Care.pptx
Dash Technologies Inc
?
Recruiting Tech: A Look at Why AI is Actually OG
Recruiting Tech: A Look at Why AI is Actually OGRecruiting Tech: A Look at Why AI is Actually OG
Recruiting Tech: A Look at Why AI is Actually OG
Matt Charney
?
STRING FUNCTIONS IN JAVA BY N SARATH KUMAR
STRING FUNCTIONS IN JAVA BY N SARATH KUMARSTRING FUNCTIONS IN JAVA BY N SARATH KUMAR
STRING FUNCTIONS IN JAVA BY N SARATH KUMAR
Sarathkumar Narsupalli
?
STARLINK-JIO-AIRTEL Security issues to Ponder
STARLINK-JIO-AIRTEL Security issues to PonderSTARLINK-JIO-AIRTEL Security issues to Ponder
STARLINK-JIO-AIRTEL Security issues to Ponder
anupriti
?
AuthZEN The OpenID Connect of Authorization - Gartner IAM EMEA 2025
AuthZEN The OpenID Connect of Authorization - Gartner IAM EMEA 2025AuthZEN The OpenID Connect of Authorization - Gartner IAM EMEA 2025
AuthZEN The OpenID Connect of Authorization - Gartner IAM EMEA 2025
David Brossard
?
Leadership Spectrum by Sonam Sherpa at GDG Kathmandu March Monthly Meetup
Leadership Spectrum by Sonam Sherpa at GDG Kathmandu March Monthly MeetupLeadership Spectrum by Sonam Sherpa at GDG Kathmandu March Monthly Meetup
Leadership Spectrum by Sonam Sherpa at GDG Kathmandu March Monthly Meetup
GDG Kathmandu
?
Automating Behavior-Driven Development: Boosting Productivity with Template-D...
Automating Behavior-Driven Development: Boosting Productivity with Template-D...Automating Behavior-Driven Development: Boosting Productivity with Template-D...
Automating Behavior-Driven Development: Boosting Productivity with Template-D...
DOCOMO Innovations, Inc.
?
Automated Engineering of Domain-Specific Metamorphic Testing Environments
Automated Engineering of Domain-Specific Metamorphic Testing EnvironmentsAutomated Engineering of Domain-Specific Metamorphic Testing Environments
Automated Engineering of Domain-Specific Metamorphic Testing Environments
Pablo G¨®mez Abajo
?
APAC Solutions Challenge Info Session.pdf
APAC Solutions Challenge Info Session.pdfAPAC Solutions Challenge Info Session.pdf
APAC Solutions Challenge Info Session.pdf
GDG on Campus Monash
?
Top Tips to Get Your Data AI-Ready? ? ?? ?
Top Tips to Get Your Data AI-Ready? ? ?? ?Top Tips to Get Your Data AI-Ready? ? ?? ?
Top Tips to Get Your Data AI-Ready? ? ?? ?
Precisely
?
SAP Automation with UiPath: SAP Test Automation - Part 5 of 8
SAP Automation with UiPath: SAP Test Automation - Part 5 of 8SAP Automation with UiPath: SAP Test Automation - Part 5 of 8
SAP Automation with UiPath: SAP Test Automation - Part 5 of 8
DianaGray10
?
Benefits of Moving Ellucian Banner to Oracle Cloud
Benefits of Moving Ellucian Banner to Oracle CloudBenefits of Moving Ellucian Banner to Oracle Cloud
Benefits of Moving Ellucian Banner to Oracle Cloud
AstuteBusiness
?
San Francisco Atlassian ACE - Mar 27 2025.pdf
San Francisco Atlassian ACE - Mar 27 2025.pdfSan Francisco Atlassian ACE - Mar 27 2025.pdf
San Francisco Atlassian ACE - Mar 27 2025.pdf
Matt Doar
?
All-Data, Any-AI Integration: FME & Amazon Bedrock in the Real-World
All-Data, Any-AI Integration: FME & Amazon Bedrock in the Real-WorldAll-Data, Any-AI Integration: FME & Amazon Bedrock in the Real-World
All-Data, Any-AI Integration: FME & Amazon Bedrock in the Real-World
Safe Software
?
Research Data Management (RDM): the management of dat in the research process
Research Data Management (RDM): the management of dat in the research processResearch Data Management (RDM): the management of dat in the research process
Research Data Management (RDM): the management of dat in the research process
HeilaPienaar
?
Innovative Web Design | Malachite Technologies
Innovative Web Design | Malachite TechnologiesInnovative Web Design | Malachite Technologies
Innovative Web Design | Malachite Technologies
malachitetechnologie1
?
GDG Cloud Southlake #41: Shay Levi: Beyond the Hype:How Enterprises Are Using AI
GDG Cloud Southlake #41: Shay Levi: Beyond the Hype:How Enterprises Are Using AIGDG Cloud Southlake #41: Shay Levi: Beyond the Hype:How Enterprises Are Using AI
GDG Cloud Southlake #41: Shay Levi: Beyond the Hype:How Enterprises Are Using AI
James Anderson
?
UiPath NY AI Series: Session 4: UiPath AutoPilot for Developers using Studio Web
UiPath NY AI Series: Session 4: UiPath AutoPilot for Developers using Studio WebUiPath NY AI Series: Session 4: UiPath AutoPilot for Developers using Studio Web
UiPath NY AI Series: Session 4: UiPath AutoPilot for Developers using Studio Web
DianaGray10
?
Solana Developer Hiring for Enterprises Key Considerations.pdf
Solana Developer Hiring for Enterprises Key Considerations.pdfSolana Developer Hiring for Enterprises Key Considerations.pdf
Solana Developer Hiring for Enterprises Key Considerations.pdf
Lisa ward
?
How Telemedicine App Development is Revolutionizing Virtual Care.pptx
How Telemedicine App Development is Revolutionizing Virtual Care.pptxHow Telemedicine App Development is Revolutionizing Virtual Care.pptx
How Telemedicine App Development is Revolutionizing Virtual Care.pptx
Dash Technologies Inc
?

Symfony 2 Best Practices

  • 1. Symfony 2 Best Practices Speaker: Bao Nguyen bao.nguyen@semantics.vn 10/13/2013
  • 4. Code Standard ? PSR-0, PSR-1, PSR-2 ? Bundle Structure Best Practices ? Bundle namespace: ? SmvnSomeCoolBundle ? SmvnBundleSomeCoolBundle ? SmvnBundleSmvnSomeCoolBundle ? Service naming, Route naming ? Prefix with bundle name and vendor name (for reusable bundle) ? Use service alias (image_resizer vs. smvn_image_resizer) 10/13/2013
  • 5. Only commit your own code ? ? ? ? ? ? ? ? ? ? ? /.idea /nbproject /composer.phar /vendor /app/config/parameters.yml /app/cache /app/logs /app/phpunit.xml *.php~ /web/bundles /web/uploads 10/13/2013
  • 6. Tools ? Manage Assets (js+css) with Assetic ? Sensio Framework Extra ? Security Component (Firewall, Users, ACL ¡­) ? Twig ? Doctrine Extension ? Console component ? PHPUnit / Behat ? Configuration system (DI & Parameters) ? Jenkins Jobs for PHP (http://jenkins-php.org/) 10/13/2013
  • 7. Reusability ? Template inheritance ? Template macro ? Twig Extension ? Base Controller / Embed Controller ? Service ? Form Type ? Bundle (try knpbundles.com) ? Extract bundle from project for reusability 10/13/2013
  • 8. Pitfall ? Security Context: isGranted() vs. hasRole() ? Event Listener vs. Event Subscriber ? Doctrine Schema Update vs. Doctrine Schema Migration ? app/cache, app/logs write-permission: Never use umask ? Nesting limit in xdebug ? Case sensitive Annotation name (@Entity vs @entity) ? Avoid using dev-master in composer.json ? Update vendor ? Clear cache ? Clear Assetics ? Update schema 10/13/2013