An Internet forum is a web application for holding discussions and posting user-generated content. This functionality is found in several types of applications, including message boards and blogs that allow for posting of comments.

One approach to creating a message board and blog web application is to abstract out the shared functionality. First, we have to define the functionality, then see where the overlap is. If the functionality differs greatly, then sharing a common web service won’t make sense. If there is a lot of shared functionality, or we design our applications with this goal of shared functionality in mind, then a web service component would result in an effective software design

Let’s look at what might be common across blogging and message board applications:

  • Posts, including subject, author, and meta-data (reply-to, last modified, date created, etc…)
  • Post buckets, which could take the form of a forum or blog post and comments.

URIs:

  • List buckets: GET /appbase
  • List posts: GET /appbase/1
  • Retrieve post: GET /appbase/1/2

Supported methods:

  • GET
  • HEAD
  • PUT
  • DELETE

Where have I seen something like this before???  Hmmm…

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • email
  • Reddit
  • StumbleUpon
Trackback

no comment untill now

Sorry, comments closed.