• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 13. Writing New Content Objects > Step 2: Creating the Initial Design

Step 2: Creating the Initial Design

As stated earlier in this chapter, the goal of this chapter is to develop a fully functional, though not great-looking, web-based message board application. The root object is MessageBoard, which can contain postings, or in other words Message objects, from various users. Because you want to allow people to respond to various messages, you need to allow messages to contain replies, which are in turn just other Message objects.

That means you have two container-based components. MessageBoard contains only messages and can be added to any folder or container that wants to be able to contain it. To make the message board more interesting, it also has a description, which briefly introduces the subject/theme of the discussions hosted. Message objects, on the other hand, should be contained only by message boards and other messages. Each should have a title and a body.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint