Tuesday, 28 February 2017

why to use framework




down voteaccepted
Framework abstracts you from low level details, makes you more productive, and protects you from low level error ( such as preventing SQL injection attacks).
A good PHP framework forces you to separate your concern and implements the proven architecture, which in the end improves your design, and makes your code much easier to read and maintain and unit test.
framework streamlines application development by automating many of the patterns employed for a given purpose. A framework also adds structure to the code, prompting the developer to write better, more readable, and more maintainable code. Ultimately, a framework makes programming easier, since it packages complex operations into simple statements.

For a simple web application or a website with basic features it’s wiser to use some good open source system. However for more complex and bespoke functionality requirement it’s more recommended to work with framework.

Huge amount of development time can be saved with the use of Frameworks due to availability of large variety of tools like input sanitization and abstraction layers in particular.
It's very common scenario in website development companies where clients are really pressurizing and so often demand quick turnaround. Frameworks can be real life savers under high pressure as they help enormously in quickly delivering repetitive and commons tasks.

There are pretty good reasons to use the Frameworks:
  • Code and file organization is extremely easy
  • Countless numbers of tools and libraries that can help you with:
    • Form validation
    • Database abstraction
    • Input/Output filtering
    • Session and Cookie handling
    • Email, Calender and pagination and much more
  • MVC (Model View Controller) Architecture
  • Less code which ultimately speeds up your development
  • Security - PHP has many input and output filtering functions which can add extra security layer to protect your website against certain attacks
  • Suitable for teamwork
  • PHP frameworks have great active community support. You will find the accurate solution of any query quickly


No comments:

Post a Comment