What features does the PHP framework need in addition to automatic class loading and routing ?? What features does the PHP framework need in addition to automatic class loading and routing ??
Reply content:
What features does the PHP framework need in addition to automatic class loading and routing ??
In fact, I have never used Yii and thinkphp. I have only used Symfony1.x and Symfony2.x.
So let's just talk about Symfony2 (in fact, you just want to know what the framework can do for you). First, you have already mentioned two points: autoload and route, then let me talk about what features I have when using Symfony2:
Includes the template language twig
Dependency injection, which is known to users who have used service iner.
Database abstraction layer or ORM or ODM (Doctrine is commonly used in Symfony)
Cache
Form components (one of my favorite components)
6 .....
Or you can visit the official Symfony website.
Cache. MVC. Some common methods are encapsulated. Familiar with frameworks and quick development projects