Book Image

Learning Dart, Second Edition - Second Edition

By : Ivo Balbaert
Book Image

Learning Dart, Second Edition - Second Edition

By: Ivo Balbaert

Overview of this book

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

What is a model and why we need it in programming


Most applications that go beyond simple exercises are too complex to be developed 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 the 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 the 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...