Skip to content

Latest commit

 

History

History
29 lines (21 loc) · 972 Bytes

4.1 Changing Expectations (MVO-model).md

File metadata and controls

29 lines (21 loc) · 972 Bytes

Changing Expectations- the MVO model

The MVO-modal consists of:

  • Modal (=DATA)
  • Octopus (=Functionality, Filtering)
  • View (=DOM)

Modal

A Modal = code the object + properties inside.

Octopus

An Octopus= bind the Modal and Viewcode together. In here you find the code logic (

  1. functionality
  2. filtering of Modal code into View

View

A viewcode = code the object + methods

NOTE: The View code NEVER changes the Modal directly. All changes related to code functionality are made within the octopus.

This is to:

  1. not mess up the code
  2. leave actual data unchanged
  3. in this way the modal gives the view only the code functionality it needs.

In short: The octopuscode, is the BINDER CODE, to get the data from the Modal to the VIEW code.

  • Always separate Modal and View, and use the Octopus to connect the functionality and filtering of the Modal into the View Code Part.