Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

Why you should use MVC PHP frameworks, is it worthwhile spending the time to learn a framework ?

Now a days you will often see “MVC Framework Experience” as one of the addon in most requirements. It is becoming a must-have skill set for a good web developer.

user-image
Question added by Renjith Chacko , Offshore Web Developer , Design Master
Date Posted: 2013/12/08
alireza hoseini
by alireza hoseini , PHP & Python back-end developer , Fax.ir

The short answer:

Yes.

 

The long answer:

You difinitely need to learn MVC structure if you want a coherent project in long term and if your project is medium to large in size. It separates your logic from design. In other word everything is in its proper place. In later times you don't have to roam around your index.php to make a template change inside php codes. If its about template you go right into the view part. If its related to database and other storage methods like in file you go straight to the model part.

 

 

If you get a grip on the subject and master it, I promise you a peaceful life in the code era.

Asif Ali M
by Asif Ali M , Project Lead , LiquidHub

It will help you to seperate your code into layers(Model/View/Controller) along with practicing OO programming.

- Model ( Your Business logic)

- Controller (process user requests, talks to your models and pass information to your views)

- View (all your UI(html) with less php(may be5%) code goes here )

 

Its good to learn a framework and implement because the framework comes with lot of libraries which will help you to develop the apps faster.

Its alwasy better to have core experience(without unsing framework) first then start with framework. It will help you to understand how the framework works.

 

Try learning Zend/symfony which are very popular and widely used for Enterprise level apps.Once you know either of these two, all other(codeigniter/cake/YII) become easy. You can start working on them just in a day.

 

Iltaf Hussain
by Iltaf Hussain , Head of Development , Shy7lo.com

Yes it is good to to learn an MVC framework because managing large scale applicaitons in pure php is very difficult. Frameworks also provide libraries for  common tasks like database operations, forms, web services, file processing and security. 

 

All frameworks have builtin security for attacks whcih can be used to hack a site, like xss, cross site scripting etc etc. 

 

Frameworks divides the application is three parts, Models, Views and Controllers, which are all explain in other answers. 

 

So it is extremely good to learn one or a few MVC based frameworks.

 

Thank you

Muhammad Majid Saleem
by Muhammad Majid Saleem , Senior PHP Developer / Project Manager , SwaamTech

Frameworks have their both advantages and disadvantages and we use them for their advantages. Follwings are some frameworks advantages due to them we use:

  • They provide us an environment to be stayed with and used OOP concepts in our applications.
  • They provide us an evironment to organize code in MVC layered model. Every framework developer may easily work in other framework because (s)he knows where db queries are being executed and where views are being handled.
  • They provide alot of libraries and plugins which reduces alot hardwork.
  • Development gets rapid.
  • Securities are already implemented.

Clodelio Delfino
by Clodelio Delfino , Managing Consultant , Startup Company

Yes it is worthwhile learning framework because of several reasons:

1. Code manageability.

2. Good coding practice.

3. Understanding design patterns.

4. Lastly, this avoids re-inventing the wheel because most of the task that is involved in web development are already done or created by somebody that you can easily improve, customized or modify that will fit your business needs.

Henok Gossaye
by Henok Gossaye , Book layout production -- Sr. Graphics Designer , JICA

You definetly need those freamworks if you are a developer, because all initial objects neccessary for web development is alread customize for you in MVC. So man I really recommeneded it for you to get started today!!!!!

ahmed souk oyglhg
by ahmed souk oyglhg , Facilities Flight Check Pilot , doctor

none senseeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee

More Questions Like This

Do you need help in adding the right keywords to your CV? Let our CV writing experts help you.