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

The dartling domain modeling framework


The dartling (https://github.com/dzenanr/dartling) is a domain model framework for the development of complex models with many concepts and relationships. It takes care of a lot of functionality, greatly reducing the amount of code you would need to write. A dartling model is first designed in the graphical tool model concepts, as shown in Chapter 4, Modeling Web Applications with Model Concepts and Dartlero. A dartling model consists of concepts, concept attributes, and concept neighbors. Two neighbors make a relationship between two concepts. A relationship has two directions; each direction going from one concept to another neighbor concept. Standard one-to-many, many-to-many, and is-a relationships are supported. When both concepts are the same, the relationship is reflexive. When there are two relationships between the same but different concepts, the relationships are twins.

The code for a dartling model is generated from the JSON representation...