Chapter 5. Its All About the View

The UI layer, or View, is the most visible component of any application. No matter what is going on underneath the hood, be it REST, Websockets, MQTT, or SOAP, the view is where everything culminates for a full, interactive application experience. Just as with the server side, the view has its own set of complexities and myriad of architectural choices to make from a development perspective. We will now explore some of these choices along with some different design patterns that can be used in the all-encompassing view layer.

In this chapter, we will cover the following images:

  • The differences among various JavaScript templating engines
  • The advantages of precompiling JavaScript templates
  • How to optimize your application ...

Get Mastering JavaScript Single Page Application Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.