CyberCinema: The Rosetta Stone Meets the Web

Let's consider our previous example of the CyberCinema Web site. The considerations here are a bit more complex, but the same basic process applies: Start by roughing out some XML instances and then move on to DTD design. The complexity is introduced when we consider our user population and how users are going to interact with the XML instances in the system.

Let's start by listing a few assumptions, derived from our requirements document (see Chapter 3) and subsequent data model (see Chapter 4):

  1. For CyberCinema, each review is represented by a single XML instance.

  2. Each review is stored in a database.

  3. In this database, we also track movies, review authors, actors, and directors.

  4. Review authors can refer ...

Get XML and SQL: Developing Web Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.