Let me begin by explaining that PHP (Personal Home Page tool) is a programming language. A framework supports that language, ensuring that the code is set up in a certain structure, and that a certain quality of code is met.
A PHP framework is a library, a structure through which you can create applications. You can access various APIs (application program interfaces) and figure out how you want to organize your app.
A framework inspires better development by ensuring compliant, structured, maintainable and upgradable code in online applications. Following the ‘rules’ of a framework means that any Symfony developer or team will be able to understand the code or project with a view to maintain or update it in the future.
In turn, a framework will provide faster and better development.
We chose, and continue to choose Symfony because it:
- has a number of inbuilt security features.
- interacts very nicely with databases such as MySQL and PostgreSQL.
- was built for performance (version 2.0, released in 2011 was written with speed in mind).
- ensures correct syntax, some features won’t function unless the code has been written correctly.
- can help speed up development, or put focus on other bespoke areas by allowing repeated code to be generated automatically.
- fantastic for testing, some areas of unit testing are taken care of. The framework allows us to break down and debug individual areas of code.
- it’s well organized and has a flexible architecture
- there’s no reinventing the wheel, it’s using existing proven components (Doctrine, PHPUnit, ...)
- it’s decoupled a lot
- has excellent documentation
- has easy usable OOP features
- has a big community
Non technical reasons include:
- Credibility: Symfony is well-established and is a brand now known globally.
- Longevity: it is essentially practical, geared toward meeting the needs of business.
- Support: from a community dedicated to rooting out bugs and solving problems that might sho up ithin the framework.
- Creativity: Symfony is built on a dedication to innovation, and that extends past the boundaries of PHP. Symfony is also aware of advancements in other frameworks and learns from them to build better functionality, as with theweb debug toolbar.
- Interoperability: Symfony is by no means intended as a closed system. It is built with customization in mind. First, the framework is built to meet commonly understood PHP standards (eg, class naming guidelines, PHPUnit).
“Furthermore, Symfony also allows you to use certain pieces of its software building blocks … without necessarily using the framework in its entirety,” notes SensioLabs (reators of the framework). “Symfony is so interoperable that, at the core, it uses external software building blocks itself.”
Symfony has been around since 2005, and is very well established. It is trusted by big names such as TED, BBC and Yahoo, and has been used to create many huge websites and applications. The Symfony framework has a large following and an active community of developers, contributors and users. It is open source, which means anyone can use it, and it isn’t hidden behind high entry and accreditation costs. These make it an amazing, flexible tool for the development of whatever software you may need.