This is going to be a fun chapter. So far, we've created two relatively simple applications. In both cases, we mainly created and read data from the browser. While it's all browser-side stuff, it's pretty static. This time, we're going to do something a lot more interesting; we're going to build a table that keeps a track of events. In an interesting twist, though, we'll build a table that will automatically update based on changes made in other browsers that have our app open.
The following are a couple of chapter spoilers:
We'll look at better code organization through multiple files
We'll write code to update and delete model instances
We'll build an app that polls the server to keep its collection up to date
Once again, we'll start with the project template; however, there are a few modifications we need to make in our last two projects. You may have noticed that our app.js
file was getting a bit lengthy; this makes it tough to navigate between our...