views:

161

answers:

2

Hi,

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 with me on how a small JavaScript could use the MVC design pattern?

I'm quite comfortable with JavaScript.

Thanks!

+2  A: 

Google lists numerous examples.

  1. Official Website of Javascript MVC
  2. A List Apart - Jonathan Snook on Javascript MVC
  3. CodeCube.net - MVC Pattern with Javascript
  4. StackOverflow - Is there a Javascript MVC (micro-)framework?
Jonathan Sampson
Thanks, usually I do that but a quick side to side talk is helpful. I'll do my homework though. I'll mark your answer as accepted.
Mike Gleason jr Couturier
A: 

Yeah, check out javascriptmvc. It's like rails for JavaScript. Makes very strong use of event delegation.

Justin Meyer