[cgi-wiki-dev] Formatters reorg

Justin Kao cgi-wiki-dev@earth.li
Thu, 30 Sep 2004 15:43:45 -0700 (PDT)

On Thu, 30 Sep 2004, Tom Insam wrote:

> On Sep 30, 2004, at 14:51, Kake L Pugh wrote:
> > On Thu 30 Sep 2004, Kake L Pugh <kake@earth.li> wrote:
> >> 22:30 <jerakeen> or more generally, Formatter::<to>::<from>
> >
> > You know, I am going to have great trouble remembering which way round
> > these are; and it's also not going to be at all obvious to someone
> > seeing it for the first time.
> The rationale is that 90% of the time, you want, say, HTML, and you
> want to accept anything. So you can look in the Formatter::HTML::*
> modules using Module::Pluggable or something.

I could imagine the opposite: if I'm given something in a particular
format (e.g., Pod), I'm willing to accept a variety of relatively
interchangable outputs (e.g. plain text or HTML for viewing online, PDF or
HTML for printing) but I absolutely *must* understand the source format.

Plus, swapping input and output makes my brain hurt. :p