Chapter 6
Project: MVC in Dart

In this chapter, you’ll get your first real feel for what it means to write Dart code. Until now, our discussion has not strayed far from the familiar—or at least from what is similar to JavaScript.

We’ll take the very simple comic book collection application from Chapter 1, Project: Your First Dart Application and convert it to an MVC design pattern. Since this will be client based, it won’t be Model-View-Controller. Rather, it will be Model-Collection-View, plus a Router, similar to Backbone.js.

We’ll start by implementing collections of objects in Dart and then describe the objects themselves. Once we have the foundation in place, we’ll take a look at views and templates.

This is another “project” chapter, so we’ll gloss over some Dart details to focus on writing code.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.145.91.254