Using MVC to implement a framework in JavaScript
I'm doing .NET MVC a lot so I think I understand the MVC design pattern. I'm analyzing my projects according to the Domain Driven Design (Eric Evans) methodology. Anyways..
But in JavaScript it's hard for me to think "MVC" when I'm creating libraries.
Do you have a small example or any experience to share开发者_StackOverflow with me on how a small JavaScript could use the MVC design pattern?
I'm quite comfortable with JavaScript.
Thanks!
Google lists numerous examples.
- Official Website of Javascript MVC
- Demo Video
- A List Apart - Jonathan Snook on Javascript MVC
- CodeCube.net - MVC Pattern with Javascript
- StackOverflow - Is there a Javascript MVC (micro-)framework?
Yeah, check out javascriptmvc. It's like rails for JavaScript. Makes very strong use of event delegation.
精彩评论