On Thu, Jun 12, 2008 at 7:56 PM, Nathan Bubna <[EMAIL PROTECTED]> wrote: > Yeah, if we were to make RuntimeInstance or VelocityEngine do this, it > would be in 2.0. Though, perhaps an IoC assembler could be built > around the existing APIs, hiding them. Spring may already be doing > this to integrate Velocity, though i haven't looked at that lately.
After so many years, it finally dawned on me yesterday that it made more sense for me to get away from the Template/ResourceManager concept and just manage retrieving the VTL data and caching those parsed instances directly. This is because my CMS's templates do not map very well to a path-based pattern. So I'm reading through the guts of RuntimeInstance to see how to manage my own parsers and generate SimpleNodes, and yeah, it seems like it would be pretty straight-forward to create an IoC assembler that models the current API. I haven't seen if/how Spring is accessing it right now beyond just helping to set a VelocityEngine instance. -- Serge Knystautas Lokitech >> software . strategy . design >> http://www.lokitech.com p. 301.656.5501 e. [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
