List of Figures

 

Chapter 1. A better way to build apps

Figure 1.1. The Meteor stack runs applications powered by smart packages on top of Node.js and MongoDB.

Figure 1.2. Synchronous and asynchronous events when heating up a pizza

Figure 1.3. The Node.js event loop

Figure 1.4. The difference between traditional and modern rich web applications

Figure 1.5. Traditional client-server architectures compared to distributed application platforms

Figure 1.6. Applications consist of business logic and various packages, which are compiled for the target platform using Isobuild.

Figure 1.7. Communication between the server and client

Figure 1.8. Data flow using latency compensation

Figure 1.9. The file structure for a simple application

Figure 1.10. Data exchange between server and client via HTTP and DDP

Figure 1.11. A basic Meteor application created with the Meteor CLI tool

Figure 1.12. Every new Meteor project is a simple application with a single button.

Chapter 2. My fridge! A reactive game

Figure 2.1. Only business logic is required for the My fridge! application.

Figure 2.2. The final state of the My fridge! application

Figure 2.3. The meteor command automatically restarts the server when application code changes.

Figure 2.4. The three main DIV containers for the My fridge! layout

Figure 2.5. Using the browser’s JavaScript console to insert and look up data in the database

Figure 2.6. The fridge shows an image of a loaf of bread.