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

Chapter 9. Modeling More Complex Applications with Dartling

In Chapter 4, Modeling Web Applications with Model Concepts and Dartlero, we discussed the importance of modeling the data in your domain before starting your app. We used model concepts to represent the model visually, and showed a simple modeling framework called Dartlero. In this chapter we discuss the full blown domain modeling framework Dartling, which can take the JSON export of model concepts as input to generate code for the model, as well as to generate default app code. We do this by developing the Travel Impressions model and app.

Next, we look at the Model View Controller (MVC) design pattern, and why it is a good fit for web applications. This is put into practice by developing a todomvc application in spirals. Again, model concepts and Dartling are used to generate the basic application code. So, the following are the topics of this chapter:

  • The Dartling domain modeling framework

  • Design of the Travel Impressions model...