Raise your level of abstraction
In order to simplify the concept of what is a model and what we can do in a practical way, I will explain how to use a simple HTML form as a model.
An HTML form can provide us a simple and practical model to generate code from.
Looking to the DOM of a HTML form we can extract two main characteristics:
- Form name;
- Form fields;
Form fields by itself provide us other properties:
Added by Adilson de Almeida Pedro on October 24, 2010 at 1:30 — No Comments