Skip to main content
deleted 5 characters in body; edited tags
Source Link
Jamal
  • 34.9k
  • 13
  • 133
  • 237

I've been trying to understand the original MVC implementation (the Xerox Parc's one). I'm sure it has flaws, but it's a simple code to practice/learn the original MVC.

My model is the mental object model. My controller handles events and update the Model. The view is "dumb" and just presents the content ...

I've been trying to understand the original MVC implementation (the Xerox Parc's one). I'm sure it has flaws, but it's a simple code to practice/learn the original MVC.

My model is the mental object model. My controller handles events and update the Model. The view is "dumb" and just presents the content ...

I've been trying to understand the original MVC implementation (the Xerox Parc's one). I'm sure it has flaws, but it's simple code to practice/learn the original MVC.

My model is the mental object model. My controller handles events and update the Model. The view is "dumb" and just presents the content.

edited title
Link
Jamal
  • 34.9k
  • 13
  • 133
  • 237

Is it a classical MVC (Xerox Xerox Parc) MVC implementation?

Please do not add "thanks" - show them with upvotes after 15 rep
Source Link
Jamal
  • 34.9k
  • 13
  • 133
  • 237

I've been trying to understand the original MVC implementation (the Xerox Parc's one: http://heim.ifi.uio.no/~trygver/2003/javazone-jaoo/MVC_pattern.pdfthe Xerox Parc's one). I'm sure it has flaws, but it's a simple code to practice/learn the original MVC.

Working example: http://jsfiddle.net/2D4ST/Working example

View (index.html):View (index.html):

Model (model-person.js):Model (model-person.js):

Controller (controller-person.js):Controller (controller-person.js):

Instantiation (main.js):Instantiation (main.js):

Do you think it's like the original MVC? What's wrong? What am I missing?

Thanks!

I've been trying to understand the original MVC implementation (the Xerox Parc's one: http://heim.ifi.uio.no/~trygver/2003/javazone-jaoo/MVC_pattern.pdf). I'm sure it has flaws, but it's a simple code to practice/learn the original MVC.

Working example: http://jsfiddle.net/2D4ST/

View (index.html):

Model (model-person.js):

Controller (controller-person.js):

Instantiation (main.js):

Do you think it's like the original MVC? What's wrong? What am I missing?

Thanks!

I've been trying to understand the original MVC implementation (the Xerox Parc's one). I'm sure it has flaws, but it's a simple code to practice/learn the original MVC.

Working example

View (index.html):

Model (model-person.js):

Controller (controller-person.js):

Instantiation (main.js):

Do you think it's like the original MVC? What's wrong? What am I missing?

Source Link
Loading