What is a model and why we need it in programming

Most applications that go beyond simple exercises are too complex to be developed from the start; a model that describes the entities in the application domain and their relations is needed. To fully support such a domain-driven development, we need three things:

  • A graphical tool for model design and the import/export of the model definitions; this is the Model Concepts tool
  • A domain model framework—Dartlero for simple cases and dartling for more complicated business domains
  • A web component framework for the rapid development of dynamic web applications: the Polymer.dart package

The first two were developed by Dzenan Ridjanovic, one of the authors, and the third was developed by the Google Dart team. All are written in Dart and are available as free, open source software. The remainder of this chapter will show how to use model concepts and Dartlero, and we will apply them in constructing a simple model of categories and links. Web components, which are essentially chunks of the reusable HTML5, are explained in Chapter 9, Modeling More Complex Applications with dartling. We will also build a web component application for the category links model. The dartling is discussed in depth in Chapter 10, Local Data and Client-Server Communication. Both of them will be used in the projects from Chapter 10, Local Data and Client-Server Communication, onwards. First, we will explore the model concepts.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.17.76.72