What kind of projects are PHP frameworks suitable for? -
I am creating a site such as PHP using a personal project. I started writing flat PHP files (mixed with HTML with SQL queries) After a few pages I saw that it was becoming difficult to maintain. So I started using an ORM (Pelva) then I was introduced to Symphony.
I started resuming my code to fit Symphony's MVC pattern. For me, it seems that a small project, such as this symphony has actually made things more complicated and actually has slow development. Are large apps designed by many teams to be outlined? Or am I doing something wrong?
Any framework or new technique will be a learning curve, during which you start slowing down if you If you follow MVC patterns and best practices for your framework, you will usually end up with a cleaner, more satisfying code. There is some overhead for MVC and for structuring things well. This overhead will pay more for big projects, projects which will last for long (site age as well as development time), and for projects with more developers. For small sites that will not be maintained, meaningful for overhead can be very big.
If you are going to write a PHP professional, or you want to write seriously, then your time is spent learning well on the popular framework or two.
In addition, any method "is a site" which is a "small project".
Comments
Post a Comment