Check out a free preview of the full Web UI Architecture course:
The "Patterns Explained" Lesson is part of the full, Web UI Architecture course featured in this preview video. Here's what you'd learn in this lesson:

Garann discusses the concepts of a Model-View-* pattern using the Backbone.js Todo application. Presentation-Abstraction-Control takes a more observational approach with update and render methods prototyped on an object Objects in an Event-Driven Architecture subscribe to events or messages sent throughout the application. Deciding what you can usefully abstract will help narrow the decision on JavaScript architecture patterns. As long as you rule out the patterns that are a bad fit, your choice doesn’t really matter. Pull what you need from any pattern, but still maintain organization. Your code base will consist of implementation, stacked on top of utilities, stacked on top of a framework.

Get Unlimited Access Now