Re: [Maypole] Why is moniker used instead of of table name when looking for table specific templates?

From: Simon Cozens (simon at simon-cozens.org)
Date: Mon Dec 27 2004 - 18:44:33 GMT


Peter Speltz:
> Why, when looking for templates associated with a class/table, does
> Maypole::View look in a dir named after class's moniker rather than table?

Because it made sense at the time. Because I was inspired by something else
which used moniker. Because I thought it would be useful.

> The example in its simplicity is misleading as under default class dbi a table
> like "note_card" will have a moniker like "notecard" and thus the directory
> "notecard" will be searched.
 
This has bit me several times. I think it should use the table name.

-- 
3rd Law of Computing:
	Anything that can go wr
fortune: Segmentation violation -- Core dumped

_______________________________________________ maypole mailing list maypole at lists.netthink.co.uk http://lists.netthink.co.uk/listinfo/maypole



This archive was generated by hypermail 2.1.3 : Thu Feb 24 2005 - 22:25:57 GMT