First step — design patterns• MVC• MVP• MVVMApplication architecture
MVCApplication architecture• Input is directed to controller• Many-to-many relationshipbetween View and Controller• View doesn’t have anyknowledge about Controller• View is aware of the Model it isexpecting to pass on it
MVPApplication architecture• Input is directed to View• One-to-One relationshipbetween View and Presenter• View holds the reference to it’sPresenter and Presenter is awareof this View• View is not aware of the Model.Presenter updates the Model
MVVMApplication architecture• Input is directed to View• One-to-Many relationshipbetween ViewModel and View• ViewModel haven’t anyknowledge about View• View is not aware of the Model.ViewModel updates the View.
Data presentation in templateFeaturesModel Data Static resources