Symfony:
Symfony is a one of the most popular php framework.It is very easy to learn, it is fast and flexible. Mostly it is used to build robust applications in short time.
While learning Symfony one really feels that he is learning
- Fundamentals of the web
- Best practices of web development
- How to use the latest PHP libraries in Symfony or Independently.
Symfony allows developers to build better and more easily maintainable websites with PHP.
Key features of Symfony2:
1. Dependency Injection Container for the rescue
One of the common problem faced in big application made in symfony1 was that developers used to make services, classes, helpers all over the code.
Some were found in main library, few in applications library and some in modules library folders.
In a big project, finding proper class was not so easy.
Symfony2 uses Dependency Injection Container, which unifies access to main services, which is very helpful for developer.
2. Templates are made simple
In Symfony1 the templates were written in pure PHP which was good, because it was eliminating templating engine overhead and was very handy for PHP developers to use their functions.
Developer used to add “helper functions” on top of template, but Symfony2 by default uses Twig Templating engine (PHP templating is still available).
Twig is very fast and easy to read and develop. Twig offers inheritance model, and provides many points of extensions.
Twig is very similar to Django templating engine, which is one of best.
3. Bundles systems
In Symfony2 Bundles systems is one of the core concept.
Project inner mechanisms, third-party plugins and developers code is organized into the bundles.
Bundles are easy to work with and they can be moved between applications without taking any big effort.
Another most important and nice concept is Components which is core of the framework.
Components works independent and can be used outside of Symfony2 in batch processing or even for building your own framework.
4. Doctrine2
By default Doctrine2 is bundled in Symfony. Doctrine2 offers ORM layer, as well as MongoDB mapping.
Doctrine is fast and has different approach on data accessing. Doctrine uses annotations, which is very good way of keeping metadata configuration in one place.
There are few more good features like:
- Totally new security layer,
- Full support to PHP 5.3,
- Brand new forms component,
- Independent validators,
- Code Generators,
- Support to huge amount of third party bundles,
- Helpful community.
Symfony is a one of the most popular php framework.It is very easy to learn, it is fast and flexible. Mostly it is used to build robust applications in short time.
While learning Symfony one really feels that he is learning
- Fundamentals of the web
- Best practices of web development
- How to use the latest PHP libraries in Symfony or Independently.
Symfony allows developers to build better and more easily maintainable websites with PHP.
Key features of Symfony2:
1. Dependency Injection Container for the rescue
One of the common problem faced in big application made in symfony1 was that developers used to make services, classes, helpers all over the code.
Some were found in main library, few in applications library and some in modules library folders.
In a big project, finding proper class was not so easy.
Symfony2 uses Dependency Injection Container, which unifies access to main services, which is very helpful for developer.
2. Templates are made simple
In Symfony1 the templates were written in pure PHP which was good, because it was eliminating templating engine overhead and was very handy for PHP developers to use their functions.
Developer used to add “helper functions” on top of template, but Symfony2 by default uses Twig Templating engine (PHP templating is still available).
Twig is very fast and easy to read and develop. Twig offers inheritance model, and provides many points of extensions.
Twig is very similar to Django templating engine, which is one of best.
3. Bundles systems
In Symfony2 Bundles systems is one of the core concept.
Project inner mechanisms, third-party plugins and developers code is organized into the bundles.
Bundles are easy to work with and they can be moved between applications without taking any big effort.
Another most important and nice concept is Components which is core of the framework.
Components works independent and can be used outside of Symfony2 in batch processing or even for building your own framework.
4. Doctrine2
By default Doctrine2 is bundled in Symfony. Doctrine2 offers ORM layer, as well as MongoDB mapping.
Doctrine is fast and has different approach on data accessing. Doctrine uses annotations, which is very good way of keeping metadata configuration in one place.
There are few more good features like:
- Totally new security layer,
- Full support to PHP 5.3,
- Brand new forms component,
- Independent validators,
- Code Generators,
- Support to huge amount of third party bundles,
- Helpful community.
No comments:
Post a Comment