symfony-docs-mc
Symfony2 and HTTP Fundamentals
HTTP is Simple
Requests and Responses in PHP
Requests and Responses in Symfony
The Journey from the Request to the Response
Symfony2: Build your App, not your Tools.
Symfony2 versus Flat PHP
A simple Blog in flat PHP
Adding a Blog “show” Page
A “Front Controller” to the Rescue
Better templates
Learn more from the Cookbook
Installing and Configuring Symfony
Installing a Symfony2 Distribution
Beginning Development
Using Source Control
Creating Pages in Symfony2
The “Hello Symfony!” Page
The Directory Structure
The Bundle System
Application Configuration
Environments
Summary
Controller
Requests, Controller, Response Lifecycle
A Simple Controller
Mapping a URL to a Controller
The Base Controller Class
Common Controller Tasks
Managing Errors and 404 Pages
Managing the Session
The Response Object
The Request Object
Final Thoughts
Learn more from the Cookbook
Routing
Routing in Action
Routing: Under the Hood
Creating Routes
Controller Naming Pattern
Route Parameters and Controller Arguments
Including External Routing Resources
Visualizing & Debugging Routes
Generating URLs
Summary
Learn more from the Cookbook
Creating and using Templates
Templates
Template Inheritance and Layouts
Template Naming and Locations
Tags and Helpers
Including Stylesheets and Javascripts in Twig
Global Template Variables
Configuring and using the
templating
Service
Overriding Bundle Templates
Three-level Inheritance
Output Escaping
Debugging
Template Formats
Final Thoughts
Learn more from the Cookbook
Databases and Doctrine
A Simple Example: A Product
Querying for Objects
Entity Relationships/Associations
Configuration
Lifecycle Callbacks
Doctrine Extensions: Timestampable, Sluggable, etc.
Doctrine Field Types Reference
Console Commands
Summary
Databases and Propel
A Simple Example: A Product
Querying for Objects
Relationships/Associations
Lifecycle Callbacks
Behaviors
Commands
Testing
The PHPUnit Testing Framework
Unit Tests
Functional Tests
Working with the Test Client
The Crawler
Testing Configuration
Learn more
Validation
The Basics of Validation
Configuration
Constraints
Translation Constraint Messages
Constraint Targets
Validation Groups
Validating Values and Arrays
Final Thoughts
Learn more from the Cookbook
Forms
Creating a Simple Form
Form Validation
Built-in Field Types
Field Type Guessing
Rendering a Form in a Template
Creating Form Classes
Forms and Doctrine
Embedded Forms
Form Theming
CSRF Protection
Using a Form without a Class
Final Thoughts
Learn more from the Cookbook
Security
Basic Example: HTTP Authentication
How Security Works: Authentication and Authorization
Using a Traditional Login Form
Authorization
Users
Roles
Logging Out
Access Control in Templates
Access Control in Controllers
Impersonating a User
Stateless Authentication
Final Words
Learn more from the Cookbook
HTTP Cache
Caching on the Shoulders of Giants
Caching with a Gateway Cache
Introduction to HTTP Caching
HTTP Expiration and Validation
Using Edge Side Includes
Cache Invalidation
Summary
Learn more from the Cookbook
Translations
Configuration
Basic Translation
Message Catalogues
Using Message Domains
Handling the User’s Locale
Pluralization
Translations in Templates
Forcing the Translator Locale
Translating Database Content
Translating Constraint Messages
Summary
Service Container
What is a Service?
What is a Service Container?
Creating/Configuring Services in the Container
Service Parameters
Importing other Container Configuration Resources
Referencing (Injecting) Services
Making References Optional
Core Symfony and Third-Party Bundle Services
Tags
Learn more
Performance
Use a Byte Code Cache (e.g. APC)
Use an Autoloader that caches (e.g.
ApcUniversalClassLoader
)
Use Bootstrap Files
Internals
Overview
Kernel
The Event Dispatcher
Profiler
Learn more from the Cookbook
The Symfony2 Stable API
symfony-docs-mc
Docs
»
The Book
Edit on GitHub
The Book
ΒΆ
Read the Docs
v: latest
Versions
latest
Downloads
On Read the Docs
Project Home
Builds
Free document hosting provided by
Read the Docs
.