Skip to content

a simple program using the model-view-controller design pattern in JavaScript, with detailed explanations

License

Notifications You must be signed in to change notification settings

beitist/mvc-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mvc-test

This is a simple website that makes use of the MVC design pattern. It implements it as follows:

  • data is a simple array containing objects that hold only a number and an is-highlighted-tag
  • view renders the objects in the array and attaches them to a ul-node
  • controller handles the information exchange between data and view, and implements the alter-highlight-function.

You can click the button at each list item to highlight it. All other items are then displayed normally (not being highlighted).

About

a simple program using the model-view-controller design pattern in JavaScript, with detailed explanations

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published