You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by kranga <kr...@k2d2.org> on 2005/01/14 21:17:09 UTC

Tapestry HiveMind migration path

Talking about hivemind inclusion in Tapestry 3.1, will it be strictly for
the internal workings of Tapestry? In other words -

a) If I don't care about IoC controllers for my application, and I am using
only standard Tapestry interfaces/classes, do I need to do anything special
to use 3.1?
b) Will it preclude the use of a different IoC framework such as Spring?
c) Do I have to make changes to my .jwc file as a result of the hivemind
use?
d) What is the increase in memory footprint?



----- Original Message ----- 
From: "Michael Henderson" <mh...@mac.com>
To: "Tapestry users" <ta...@jakarta.apache.org>
Sent: Friday, January 14, 2005 1:43 PM
Subject: Re: Development mode with LESS PAIN????


> Hi,
>
> A while back I looked at the Tapestry source to see if I could patch it
> to reload templates and specifications if they have changed
> since they were last loaded and cached. This would probably work for
> development since the only files to be reloaded would be the changed
> file, the one you are editing.
>
> The cache/pool of components is partitioned so well from the loading of
> templates and specifications that I could not see a quick way of doing it.
>
> One way would be to use a custom specification resolver delegate and
> template resolver delegate, move all your components out of the standard
> locations and let the delegates load them. The delegates can cache the
> items (Tapestry does not cache specifications or templates provided by
> the delegate), but check the source  file's last-modified date on each
> request and reload if the file has changed.
>
> You would have to live with all of the Spindle errors as well.
>
> Tapestry 3.1 with integrated config via HiveMind will probably make ths
> sort of thing a lot easier to do.
>
> Mike
>
>
> Kurtis Williams wrote:
>
> >[Cue desperate wail for help]
> >
> >I run Tapestry in "development mode" with the command line switch
> >"-Dorg.apache.tapestry.disable-caching=true" on my Tomcat app server.  I
> >do this because I want to view changes to my templates and specification
> >files when I hit the refresh button on my browser.
> >
> >But (and this is a BIG but) this mode is so utterly painful to work with
> >that it almost eliminates the productivity gains I've made by switching
> >to Tapestry in the first place (OK, that's an exaggeration, but as we
> >established before, I'm desperate!)
> >
> >[Cue second pathetic cry for help]
> >
> >Is there any way to do this without paying such an enormous penalty for
> >working in "development mode?"  I've tried enabling caching and then
> >just depending on Tomcat to reload using the reloadable="true" in the
> >context, but that carries it's own set of side-effects.
> >
> >Has anybody found a good way to rapidly develop Tapestry sites without
> >the painful lag time between clicks?  (Other than buying a quad
> >processing 5Ghz development box with a hardware XML accelerator?)
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> >For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> >
> >
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org