Symfony framework. Introduction (Lesson 1. Familiarization)
Symfony - a web development tool, framework, application skeleton written in php 5. It supports multiple databases: MySQL, SQLite, PostgreSQL, etc. Features of Symfony 2.*:
- MVC (you can read about it here);
- Use of multiple third-party libraries. The management of them is quite convenient with Composer;
- Class caching;
- Debug, test, and production build of classes;
- Everything is a bundle =) Any web application in Symfony is created in the form of a bundle. Even the functionality of the core itself Symfony is this bundle. Bundle is something like a plugin, but a little bit broader. It is a set of files (which can be completely different, such as *.php, *.js, *.html, *.css, etc.) that implement a single task).
- Compatibility with Composer;
- Multiple php scripts for command-line project management;
- Routing - manual system for mapping addresses (requests) to controllers (in a nutshell). In some other frameworks (e.g. yii), such things are done automatically based on the file structure. But this makes Symfony more flexible;
- Bootstrap - a single entry point to the application.