Should I learn asp.NET MVC 3 without knowledge of MVC 1 or 2?
FYI, I know asp.NET and planning to learn asp.NET MVC. I heard that asp.NET MVC 3 has开发者_JS百科 been released . Should I learn MVC 3 right now? or should I start with MVC 1 or 2?
Thanks
The core principles are all the same so learning MVC 3 would be the way to go. "Learning" 1 or 2 first would just mean you'd initial knowledge of the framework is already out of date. I always advice against learning older versions of frameworks because you often have to unlearn things when you get to the newest version of the framework
Start with 3 - it's in iterative build upon 2 which was iterative upon 1. If you learn 1 you will learn ways to do things that have been streamlined and improved in 2 and 3.
You should learn version 3; it's a superset of the first two versions.
However, I'm not sure how much introductory material has been written for 3 yet.
I think perhaps "should" is a little subjective. But I can say, I am learning MVC 3 without having first learnt 1 or 2, and not having too hard a time with it.
Scott Guthrie's blog is a must though ;-)
You should get stuck into MVC3. The frameworks are iterations and improvements to the same basic programming paradigm.
Jon Galloway has re-coded his MvcMusicStore example for MVC3. All the tools you need are free, links are provided and you get to use NuGet!
I think, you should choose your own destiny. Try to learn MVC 3, with Razor View Engine also, you will see that you can. By the way, it depends on the framework version you will use.
精彩评论