Using Polymer for the category links project
On top of the Category Links model that was discussed in Chapter 4, Modeling Web Applications with Model Concepts and Dartlero (the model is contained in the lib
folder), we will now build a typical master-detail screen to present and change its data using web components for displaying, adding, editing, removing, and saving data, as shown in the following screenshot:
Note
Get the code with: git clone git://github.com/dzenanr/polymer_category_links.git
In the final spiral, there are three web components per concept of the model: table
(for a list), add
(to add an element to the list), and edit
(to edit an element of the list); they can be found in the web\component
folder. In spiral s00, only the Category entity is defined as ConceptEntity together with its collection Categories. The script test\categories_entities_test.dart
applies unittest
on this model. In spiral s01, we build a component for the Category entity:...