Thursday, 25 August 2016

why should we use framework php ?

A framework is a structure thats gives you a complete standard to solve your typical problems. like you are building a website with the login functionality than the session management will be done with the framework.For a beginners framework will offer a simplicity as well stability so it may be a good idea to use PHP frameworks. It will help reduce the bad coding and speed up the build process. Some people say that the Framework is a used by weak programmers those don't understand how to write a clean and stable code. It is a big debate question whether we used framework or not . But core langauge knowledge is important for starting into a framework.

The big advantages of using a frameworks are:

You don't need to build the whole code again like common query , session etc.

The frameworks code are contributed by a huge community so it is very safe to work with a stable framework.

If you build from a scratch than fewer security leaks are remain.

Model View Controller or MVC as it is popularly called is a software design pattern.Separation of presentation and logic aids in maintainability clean code is easy, understandable code.

Enforcing of good coding standards.

PHP has many input and output filtering functions which can add extra security layer to protect your website against certain attacks.

More Features like:

  • Form Validation are very easy with framework on server as well as client side.
  • Database Abstraction layer for database query.
  • Input/Output filtering.
  • Session And Cookie handling.
  • Pagination logic etc and attribute labaling.
  • The debug panel accelerates debugging by displaying all the information the developer.
  • Routing rule are pretty simple with the framework.
  • Output esacping for security reasons.
  • Command line interface for cron jobs and data migrations.

List of Popular PHP Frameworks:
  • Laravel
  • Yii
  • Zend Framwork
  • Symfony
  • CakePHP
  • CodeIgniter
  • Phalcon

Featured post

How to create dynamic schema in mongodb

Sometime what we need in our application is to create mongodb schema for collection and some of our collection schema are same but names are...

Popular Posts