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

Summary


This was a deep chapter. We used the domain modeling framework, Dartling, to build an app, from designing the model to generating and testing application code. Then, we discussed the universally applied MVC pattern and used it together with Dartling to build a complete and usable Todo app. In this process, the following advantages of using a domain modeling framework became apparent:

  • Once a model is designed, its code is generated, which is a big deal for large models

  • Although the code for the model is generated, a programmer may add some specific code that will not be lost if the model is regenerated

  • The API of Dartling, for example, for entities, is rich, and it allows handling of identifiers and relationships, which is not done in Dartlero

  • The code in the TodoMVC application clearly shows that, after the code is generated, there is not much model programming left to do, allowing a developer to focus on the UI

In the next chapter we’ll get an overview of MVC and UI frameworks built...