On Mon, 19 Nov 2001 [EMAIL PROTECTED] wrote:

> Should this be included in HTML::Template.pm or as a separate file like
> HTML::Template::Expr?  I don't know what the protocol here is.

I think it should be a separate module.  That way it can be developed
quickly - HTML::Template is basically stable these days and I only release
new versions when I fix bugs.

> I would actually love to work on this although I have never really
> worked on an Open Source(R) project before.  In saying that, I also
> don't really know the protocol on that either.  I'm not saying I need
> hand holding or anything, I just need a direction to run in.

Hmmmm, can you wait until August?  I'm writing a book called "Writing Perl
Modules for CPAN" that will be (hopefully) out then. ;)  Until then you
could poke around on cpan.org and in Perl's documentation and probably
learn enough to get your bearings.

> As for the module, I don't think a filter will do it for this one
> (although you may know more than me on that).

I think you could base your implementation on a filter that picks out
<tmpl_comp>s but certainly there would be more to it than that...
Actually, I think the implementation could be quite similar to
HTML::Template::Expr except that instead of building a parse tree you'd be
building a module call.  In fact, one way to do it might be to transform a
<tmpl_comp> block into a equivalent <tmpl_expr> that calls a function like
"call_component(...)".

> I would like to use it with HTML::Template::Expr, so if it is a
> separate module that calls or inherits an HTML::Template object, I
> would like the object it inherits to be configurable.  How much am I
> dreaming?  A lot.  But who knows, it might work.

Maybe it could take an argument to new like "parent" that could be set to
"HTML::Template::Expr" but would default to "HTML::Template".  If you did
that I would be willing to modify HTML::Template::Expr to do the same.

> If you want time tables, I can't give them right now.  If you need time
> tables, let me know and I'll look at what I can do here at work.

No, I don't need any time-tables.  If I ever have a pressing need for it
I'll just write it myself, but I don't anticipate that happening anytime
soon.

-sam




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to