Tesugen

Burger components and plug-ins

Jonas sent me a Movable Type style calendar object he’d written for Burger, which gave me the idea to, besides generating Page objects, also generating Component objects that can be included on pages.

Calendar would be a Component, that would be sent consider with each Entry object. So for each Entry, it would “mark” that day so that it will be a hyperlink in the calendar, pointing to the archive for that day. Then a template can include the calendar by something equivalent of #{blog.calendar.to_html}.

Then I thought that such components could be loaded as plug-ins, which would redefine Burger as a simple “machine” that can be extended by dropping in plug-ins of different types. Component objects would definitely be plug-ins, and perhaps should respond to prepare and conclude so that it can set up themselves before, and clean up afterwards.

The above was posted to my personal weblog on July 5, 2002. My name is Peter Lindberg and I am a thirtysomething software developer and dad living in Stockholm, Sweden. Here, you’ll find posts in English and Swedish about whatever happens to interest me for the moment.

Posted around the same time:

The seven most recent posts:

  1. Tesugen Replaced (October 7)
  2. My Year of MacBook Troubles (May 16)
  3. Tesugen Turns Five (March 21)
  4. Gustaf Nordenskiöld om keramik kontra kläddesign (December 10, 2006)
  5. Se till att ha två buffertar för oförutsedda utgifter (October 30, 2006)
  6. Bra tips för den som vill börja fondspara (October 7, 2006)
  7. Light-Hearted Parenting Tips (September 16, 2006)
Bloggtoppen.se