Re: CompileBL Scenario

Marcel van der Boom <[email protected]> Wed, 23 Sep 2009 08:38:32 +0200
Newsgroups gmane.comp.cms.xaraya.devel
Organization HS-Development BV
Message-ID <[email protected]>
On Sat, 19 Sep 2009 12:27:30 +0200
"[email protected]" <[email protected]> wrote:

> The thinking here is that in the future, when a module installs, any
> custom tags it has defined should be moved to
> lib/blocklayout/xslt/tags/xaraya. Of course, we still need to
> implement such a mechanism. At present this would need to be done
> manually. Any ideas as to where we should park say the
> <xar:articles /> tag in the odule's directory structure?

I look at the tags definitions the same ways as object methods. They get
into scope when an object is (lazy) loaded.  Tags could get loaded
dynamically when the module(-part) gets into scope.

Especially because in a running system a 'compile' or 'transform'
action is likely to be run once to its cache and not much again
there-after there's no need to load them all statically.

As for location, I'd definitely keep them within the module area and
not move them about.

marcel

-- 
Marcel van der Boom  -- http://hsdev.com/mvdb.vcf
HS-Development BV    -- http://www.hsdev.com
So! web applications -- http://make-it-so.info
Cobra build          -- http://cobra.mrblog.nl

_______________________________________________
Xaraya_devel mailing list
[email protected]
http://xaraya.com/mailman/listinfo/xaraya_devel