On 7 Jun 2006, at 18:06, Frederic Daoud wrote:
It is simply applying the Decorator design pattern to templates. See
example.
Interesting, interesting..
So you decorate your Template object, but how do you decorate the
HTML template?
Or, put another way, how do you encapsulate how you lay out the
information
"title", "description", etc? Do you put this in a separate HTML
template, and
then use an include in the parent templates when you want to use it?
Just want to make sure I understand..
Thanks!
Frederic
I don't. Each decorator applies to a particular use-case; in the
example, it is the listing of tasks.
Eddy
--
http://coding.mu
http://priscimon.com/blog
_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users