Book Image

Learning Dart

Book Image

Learning Dart

Overview of this book

Table of Contents (19 chapters)
Learning Dart
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

What a model is and why we need it in programming


Most applications that go beyond simple exercises are too complex to start developing them from the start; a model that describes the entities in the application domain and their relations is needed. To fully support such a domain-driven development, we need three things:

  • A graphical tool for model design and import/export of the model definitions; this is the Model Concepts tool

  • A domain model framework—Dartlero for simple cases and Dartling for more complicated business domains

  • A web component framework for rapid development of dynamic web applications: the Polymer.dart package

The first two were developed by Dzenan Ridjanovic, one of the authors, and the third was developed by the Google Dart team. All are written in Dart and are available as free, open source software. The remainder of this chapter will show how to use model concepts and Dartlero, and we will apply them in constructing a simple model of categories and links. Web components...