An overview of Symfony.
Symfony is a PHP framework for web projects.
Speed up the creation and maintenance of your PHP web applications. Replace the repetitive coding tasks by power, control and pleasure.
2. What is Symfony?
a web application framework for PHP5 projects.
➔
- Opensource, MIT license
- OOP
- MVC
by Fabien Potencier,
SensioLabs (France)
➔
- 2005. first version was released
- 2007. symfony 1.0
- 2011. Symfony2
- ATM Symfony 2.3.4 (LTS)
3. Framework
➔
➔
A software framework is a
universal, reusable software
platform to develop
applications, products and
solutions.
Why?
➔
Avoid “reinventing the
wheel”
➔
➔
➔
Use proven, tested code
Maintainability
When?
➔
general vs. specific needs
➔
➔
➔
packaged software
CMS (content
management system)
framework
4. MVC
(Model–view–controller)
The model consists of
application data, business
rules, logic, and functions.
➔
A view can be any output
representation of data,
such as a chart or a
diagram.
➔
Model
Controller
The controller mediates
input, converting it to
commands for the model
or view.
➔
View
5. some Symfony features...
Support for multiple platforms
Scaffolding - for CRUD templates
multilingualism and I18N support
Database Engine Independent
cache management
6. Reasons to use Symfony
1. Reputation
2. Permanence
3. References
4. Innovation
5. Resources
6. Interoperability