On the web, you usually do not combine viewing information and the editing information like you did in DataEase for DOS (DfD) and DateEase for Windows (DfW). Like in the CMS application, It means that we usually create at least one page for editing, one for viewing one record and one for viewing a list of records. The view is often where you search for a record and the place you enter editing mode for a record as well. This pattern is often referred to as the CRUD pattern.

CRUD (Create, Read, Update and Delete) in the simplest form is what we have done for a single record of data at the time in this CMS example. This is one of the ways it can be done in DG3 and the one we will use in this book. We usually do three pages to realize this pattern as we can combine Create, Update and Delete into one page. View data is best done by not showing the data in fields, but styled in some tabular way. And the last page for showing all data in a list. You can use paging of data for the lists if the number of record is large, but usually just one list with some form of searching will do the trick.

This concludes the CMS chapter in this book. In the next we will expand on this example by making it into a blog with page security and more ways of searching for information.