July 18, 2018

From MVC to MVVM

Recently I’ve started to think about the Model-view-viewmodel(MVVM) pattern and how it’s an improvement to the Model-view-controller(MVC) I’m used to. This transition to MVVM happened for two reasons. First, I’ve worked with AngularJS for the past two years and knew intimately about its shortcomings. Second, I started to see how the view controllers in my iOS Swift project are gradually getting out of hand – they became massive view controllers. Read more

© Jing Zhou 2018

Powered by Hugo & Kiss.