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 data maintenance screen to present and change link data using the web components for displaying, adding, editing, removing, and saving data, as shown in the following screenshot:
Note
You can get the code with the following command:
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), edit
(to edit an element of the list); they can be found in the web\component
folder. In the Spiral s01
section, only the Category
entity is defined as ConceptEntity
together with its categories collection. The test\categories_entities_test.dart
script applies unittest
on this model. In spiral s01,...