Tag Archives: MVVM

Back to blog home page

MVVM Deep Dive

Posted by on Jun 24, 2015

One of the key advantages of AngularJS’ implementation of two-way data binding is that it enables a true implementation of the Model-View-ViewModel (MVVM) pattern. The MVVM pattern originated as an architectural approach for Microsoft’s WPF framework, but has since evolved into a more common web-development paradigm driven by the proliferation of JavaScript frameworks. As it is focused on truly separating the user interface from the underlying data and logic, it is in many ways similar to the MVC architecture we have already discussed. However, there are a few crucial differences that make the MVVM architecture a unique selling point of frameworks like AngularJS. Below we’ll look deep into the thought process behind MVVM, and see what AngularJS provides us for implementing this architecture in a web application.

Continue reading

Back to blog home page

Model-View-Controller (MVC) Deep Dive

Posted by on Jun 16, 2015

An Introduction to MVC

The Model-View-Controller (MVC) pattern is a web application architectural pattern that focuses on one thing – separation of concerns. The goal is to separate data handling from display logic, and separate the presentation of the data from its underlying representation and tied-in application logic. MVC is a very common and very popular architectural structure for website design and development. Below we’ll dive deeper into the MVC pattern. We’ll explore each of the components, their intended use, and how they are typically used in a web application. Finally, we’ll tie it all back into AngularJS, and see how we can use the MVC pattern to greatly ease application development.

Continue reading

Back to blog home page

Are Frontends Getting Smarter?

Posted by on Jan 13, 2015

Traditional web development wisdom holds that a firm separation should be maintained between the frontend display code and backend server code. However, this often increases the costs needed to deploy and maintain a web application. As usage of the application increases, the server side processing quickly becomes a bottleneck with each request taking up additional limited resources. There are multiple standard solutions to this, but typically they involve an increase in server hardware – along with associated costs.

Continue reading