Page 1 of 1

learn mvc design pattern before learning framework?

Posted: Sat Oct 23, 2010 12:53 pm
by s.dot
Should I learn MVC extensively to learn the ins and outs of how it works before I jump into learning a framework like Zend Framework or Symfony?

I would most likely learn by writing a web site from scratch using MVC design pattern (such as a blog, or ticketer.. something simple).

I just want to know if it would be practical to jump into learning frameworks before I fully understand the pattern? Or, if by learning the framework I can do both at once?

By the way, I didn't know if this should go here or in the newly created frameworks section. I figured here because it didn't have to do with a specific framework.

Re: learn mvc design pattern before learning framework?

Posted: Sat Oct 23, 2010 1:55 pm
by josh
I know the Zend documentation for one describes it to you, so yes & no. http://framework.zend.com/manual/en/lea ... intro.html

As soon as you get a 'hello world' you'll already sort of get it if you've been programming a while, it just seems obvious after learning it (and you'll kick yourself for not using it earlier). Its nowhere near as complex as people make it sound. Its like drinking wine, anyone can do it - but some people will just go on for hours describing how great the wine is.

Re: learn mvc design pattern before learning framework?

Posted: Sat Oct 23, 2010 6:29 pm
by Christopher
The only thing you really need to know is that Models should not depend on any Controller/View code. The framework will dictate where the separation between the Controller and View lies.

Re: learn mvc design pattern before learning framework?

Posted: Sat Oct 23, 2010 9:18 pm
by Jonah Bron
josh wrote:[...] it just seems obvious after learning it [...]
+1 :)