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:
Posted on February 9, 2011 at 19:16 — 2 Comments
Posted on October 24, 2010 at 1:30