David Kinnvall wrote:
> 
> 
> All: The formatting of the inline code got messed up somehow.
> Much of the formatting white-space got thrown away. It doesn't
> look quite that "squished" in real-life... :-) I have found a
> few code improvements already, btw. Oh, well. Seems that the
> discussion soon got into the more intricate aspects of the
> Velocity development which I won't interfere with. It is a
> damn cool tool, that's for sure!

And Velocity is cool too! :)

> Geir: Sure, I could commit to at least support the code I took
> part in writing and therefor know well enough to improve on.

Great!
 
> Why I wrote it: The system I'm building is one where we are going
> to run many (as in >100) sites simultaneously, with no filesystem
> access for any of our users. The users can build, manage and
> configure their sites using only a browser. All site structure,
> pages, layouts and data are stored in a database. There are no
> files making up a site structure, rather it is all described
> via an XML document. All dynamic functionality is delivered via
> a set of reusable components which we call modules. Think something
> like a mix of Zope, HyperQbs and Jetspeed, conceptually. That's
> why I needed the DBResourceLoader.

I am very interested to see how that turns out in practice.  I have a
client who went down that road, providing content from the DB (Oracle),
and quite frankly, it doesn't work performance-wise.  DBs just don't
seem to be great at pumping bitstreams, no matter what Bill and Larry
tell you.  Finding stuff, sorting stuff, storing suff yes....

The result is a tiered data architecture where the data is maintained in
the database, but never delivered from there - when something changes, 
it is rendered out of the DB into the form needed (usually HTML files),
and cached simply as a file on disk.  All requests are fed the file
version, and it is only changed when the content changes in the db.  

> 
> Other loaders: The ServletLoader sounds cool and could definitely
> be an alternative solution for our system. Didn't think of that
> approach before. Cool idea!

JAR!  JAR!
 
JarJarLoader

> Take care!
> 
> --
> David Kinnvall
> Alert Investor Relations AB
> +46 31 802640/10, +46 31 802670 (fax), +46 705 818432 (mobile)

-- 
Geir Magnusson Jr.                               [EMAIL PROTECTED]
Velocity : it's not just a good idea. It should be the law.
http://jakarta.apache.org/velocity

Reply via email to