Hypothetical Objects

Hype 2 will be object oriented. Here are some of the objects:

  • Core
  • Validator
  • Database (PEAR::DB)
  • Autolinker
  • Backlinker
  • Renderer? A wrapper layer around Smarty, similar to WAPHype and the h_drawframe functions from v0.2.

It might be worth using objects to manage the various areas of the site, e.g. one to manage the filestore, one which is the core message handler and another that builds pages with portlets. One thing that would be good about splitting off the renderer would be that this can be used to keep track of all the natural language used, making it much easier to change these strings.

Validator, Autolinker and Backlinker should be totally separate to Hype. Backlinker will basically be an implementation of some of the things suggested for Red Herring by Bluefire on Hypothetical (thanks Bluef!), by keeping it separate it should be possible to grow it until it implements all of Red Herring’s ideas.