Thank you Howard. I've been developing a very large tapestry app over the last 
year (with tapestry 3.3) and I rewrote some of the internals of tapestry 
because it was not extensible enough for what I was doing.
 
Some of the work I did with the tapestry source was making it support multiple 
sites per web app, and as such I needed to separate some context and add the 
ability to support different page templates per site.
 
I was curious about the locale/engine issue because I wanted to know if I would 
see any benefit pooling engines per template group. However, it appears that 
the engines all share the same pools anyways.
 
You did a great job with 4.0. I think you ended up adding most of the features 
I originally started hacking the source for in the first place (url/form 
persisted properties, friendly urls, etc). I look forward to moving my app over 
to the new release when I have time as well as seeing the rewind cycle removed.
 
Kris


----- Original Message ----
From: Howard Lewis Ship <[EMAIL PROTECTED]>
To: Tapestry users <[email protected]>; Kris Rasmussen <[EMAIL 
PROTECTED]>
Sent: Friday, January 06, 2006 12:12:31 PM
Subject: Re: Why is there an engine per locale?


It's something of a remanant from Tapestry 3 and earlier.  At one
time, it was useful, because you would often subclass BaseEngine in a
Tapestry application.  Nowadays, that's not a good solution, as you
can change behavior using HiveMind instead.

On 1/6/06, Kris Rasmussen <[EMAIL PROTECTED]> wrote:
> Can anyone explain to me why tapestry pools engines by locale? I beleive I 
> looked into this a year or two ago but I can't seem to remember what I found 
> and I need to know it again ;). From what I remember, all the templates are 
> fetched from the same pool with the locale included in their multi key so I 
> don't beleive it has anything to do with templating. Is it because property 
> language files are stored somewhere in the engine?
>
> Thanks,
> Kris
>


--
Howard M. Lewis Ship
Independent J2EE / Open-Source Java Consultant
Creator, Jakarta Tapestry
Creator, Jakarta HiveMind

Professional Tapestry training, mentoring, support
and project work.  http://howardlewisship.com

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

Reply via email to