Upload
intersog
View
462
Download
2
Embed Size (px)
Citation preview
Campaign
proposal
Symfony2: Quick Start
What is Symfony2 ?
What is Symfony2 ?
Symfony is a set of PHP Components, a Web Application framework, a Philosophy, and a Community — all working together in harmony.
“
What is Symfony2 ?
Symfony Framework
Symfony Components
Symfony Community
Symfony Philosophy
What is Symfony2 ?
Symfony Framework The leading PHP framework to create websites and web applications. Built on top of the Symfony Components.
Symfony Components
Symfony Community
Symfony Philosophy
What is Symfony2 ?
Symfony Framework The leading PHP framework to create websites and web applications. Built on top of the Symfony Components.
Symfony Components A set of decoupled and reusable components on which the best PHP applications are built on, such as Drupal, phpBB and eZ Publish.
Symfony Community
Symfony Philosophy
What is Symfony2 ?
Symfony Framework The leading PHP framework to create websites and web applications. Built on top of the Symfony Components.
Symfony Components A set of decoupled and reusable components on which the best PHP applications are built on, such as Drupal, phpBB and eZ Publish.
Symfony Community A huge community of Symfony fans committed to take PHP to the next level.
Symfony Philosophy
What is Symfony2 ?
Symfony Framework The leading PHP framework to create websites and web applications. Built on top of the Symfony Components.
Symfony Components A set of decoupled and reusable components on which the best PHP applications are built on, such as Drupal, phpBB and eZ Publish.
Symfony Community A huge community of Symfony fans committed to take PHP to the next level.
Symfony Philosophy Embracing and promoting professionalism, best practices, standardization and interoperability of applications.
Symfony 2 Framework
Is Symfony2 an MVC framework?
Symfony2 is an HTTP framework; it is a Request/Response framework. That's the big deal. The fundamental principles of Symfony2 are centered around the HTTP specification.
“ Fabien Potencier
Symfony2 architecture is based on two key subsystems: - Event Dispatcher - Dependency Injection Container (DIC)
How it works?
Event Dispatcher
Request/Response flow
Dispatch the Event
Dependency Injection Container
What is DI?
In software engineering, dependency injection is a software design pattern that implements inversion of control for resolving dependencies. Dependency injection means giving an object its instance variables.
“
Constructor Injection
Service class definition
Service config definition
Setter Injection
Service class definition
Service config definition
Symfony Standard Edition
l l l l SensioFrameworkExtraBundle – templates, routing, annotations l DoctrineBundle – integration with Doctrine ORM l TwigBundle – integration with Twig l SecurityBundle – security component integration l SwiftmailerBundle – bridge to swiftmailer library l MonologBundle - logging l AsseticBundle – asset processing l
Symfony Standard package
¿ Questions ?
THANK YOU