Does one need OOP concept to understand / master MVC?
-
OOP is not equal to MVC, I'm weak in OOP, so some time I found they are similar, but actually the're not. Do I need strong OOP concept to understand MVC well?
-
Answer:
It depends on the language that you are using. For example in a language that "procedural programming" is supported like PHP you can simulate easily the MVC concept. On the whole you must understand why do you need to know MVC (model view controller). Take your time to learn OOP (syntax, concepts), study open-source apps (the fastest way to learn) and become a better programmer.
IonuÅ£ CÄtÄlin Milica at Quora Visit the source
Other answers
I think you do. I am not sure if it is because MVC is intrinsically object-oriented, or just because every implementation I've seen is OO.
Peter Gee
As you have asked this question in PHP section I will answer with PHP's prospective. Short answer YES. You need to learn OOP properly before diving into MVC although it is not necessary, you can get away with basic oo knowledge but then remember most of the time you will be memorizing framework's way that I do not believe is a good thing. I learnt it in weird way, First after learning PHP and Basic OO I started learning a framework then again stuck and back to basics. Trust me after returning back to core I started to realize that now I can build my own MVC framework rather than using someone's other. Did I build my own MVC framework ? YES. Do I use it? NO because people have already spent a lot of time perfecting the framework that you do not need to build your own but I built it as it improved my own MVC understanding. Takeaway: Today I can learn any MVC framework in half the time I would have done without proper OO knowledge. Suggestion: Try to build basic CRUD app with Object Oriented PHP , if you could do that you can learn any framework then and on top of that you can learn advance OO concepts while learning framework as some of them have very good implementation of OO PHP.
Shashi Shekhar
Related Q & A:
- I still dont understand WHERE do I type in the name to visit someones blog I need Details please.Best solution by Yahoo! Answers
- I need a job in summer and no one is hiring what do I do.Best solution by snagajob.com
- I need a nice, comfortable, and spacious backpack . Anyone know of a good one.Best solution by answers.yahoo.com
- What kinds of learning dissabilitys are there? I seem to not understand some simple things and need one to one?Best solution by Yahoo! Answers
- I need a one way cargo van.Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.