MVC Architecture

  • Model: Store Data, Implement Rules
  • View: Display to User, Provide Interactivity
  • Controller: Link User Actions to Methods

Word Processor

  • Model: Document Text
  • View: GUI Display
  • Controller: Interpret Keyboard Events to Modify Document

Video Game

  • Model: World and Sprites
  • View: User GUI & HUD
  • Controller: Interpret Controller Events to Move Character
"/js/highlight.pack.js"