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.