Refining the Object Model

Prototyping the user interface has some deficiencies in the requirements for the Forum.

Just as in reality, where it is not untypical for requirements to change or be altered during the course of a project, we have discovered some things that we want to add to the Forum.

  • We need to assign moderators to forums

  • Track the posts a user makes

  • Monitor useful statistics (such as the number of posts in a topic or forum, when a last post was made to a topic, who made that post, and who started a topic)

In this section we'll amend and refine our object model to add these capabilities.

Given that there are changes being made to the model, we should test them as we did in Chapter 9, “Prototyping with DirectToWeb,” by making these ...

Get WebObjects® Developer's Guide 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.