Register now or log in to join your professional community.
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.
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.
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.
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
Frameworks have their both advantages and disadvantages and we use them for their advantages. Follwings are some frameworks advantages due to them we use:
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.
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!!!!!
none senseeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee