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

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 visually represent the model, and showed a simple modeling framework called Dartlero. In this chapter, we will discuss the full blown domain modeling framework dartling, which can take the JSON export of model concepts as an 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...