June 2009
Intermediate to advanced
274 pages
7h 56m
English
![]()
So far you've written two models for your weblog application—Category and Entry—and set up views that will display the entries in the weblog. You still have some work to do to set up all the different views you'll want for the entries; however, before you do that, let's go back and finish up the weblog's data models by adding the final model class.
Link ModelJust as the fields on the Entry model logically broke down into groups according to how they would be used, the model you'll use to represent links—a class called Link—will need fields for several different purposes: