Re: CompileBL Scenario

"[email protected]" <[email protected]> Wed, 23 Sep 2009 08:53:19 +0200
Newsgroups gmane.comp.cms.xaraya.devel
Organization Xaraya
Message-ID <[email protected]>
Marcel van der Boom wrote:
> 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
> 

True enough. I was being short sighted. Since at present we do not yet 
have dynamic loading, having them all in one place makes static loading 
easier. Any thoughts on how to implement dynamic loading?

Marc