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

Dartlero – a simple domain model framework


We will now discuss Dartlero to get an idea of what a domain model framework is all about and how you can build upon it. Dartlero is a limited model framework used in teaching and learning basic data structures in Dart. It will give you a better understanding of the more encompassing dartling framework. How dartling works together with model concepts is explained in detail in Chapter 9, Modeling More Complex Applications with dartling.

Get your copy of Dartlero with the following command:

git clone git://github.com/dzenanr/dartlero.git

Open the dartlero folder in your Dart Editor. Dartlero's code sits in the lib folder and the dartlero.dart library file, referencing three part files in the model subdirectory (lines (2) to (5)):

library dartlero;

part 'model/action_reactions.dart';                           (2)
part 'model/concept_model.dart';                              (3)
part 'model/concept_entities.dart';                           (4)
part 'model...