Re: Live reload in production?

2011-12-13 Thread trsvax
what the recommendations for development are and how to change them. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Live-reload-in-production-tp4313825p5072072.html Sent from the Tapestry - User mailing list archive at Nabble.com

Re: Live reload in production?

2011-12-13 Thread Bård Magnus Kvalheim
For 5.4, we can introduce yet another level of indirection that indicates that live reloading is desired in production mode; perhaps an enum to define what gets reloaded. Is there a JIRA issue yet? Thanks Howard - that sounds great. Created issue:

Re: Live reload in production?

2011-12-12 Thread Magnus Kvalheim
Any update on this? We're about to upgrade to T5.3, but conveniently use template reload in production on rare occasions. From prior discussions a symbol would/could be introduced, but don't seem like it has..? Any way of supporting reload(without production=false)? Or is the dynamic component

Re: Live reload in production?

2011-12-12 Thread Howard Lewis Ship
On Mon, Dec 12, 2011 at 1:20 PM, Magnus Kvalheim mag...@kvalheim.dk wrote: Any update on this? We're about to upgrade to T5.3, but conveniently use template reload in production on rare occasions. From prior discussions a symbol would/could be introduced, but don't seem like it has..? Any

Re: Live reload in production?

2011-04-22 Thread Vangel V. Ajanovski
On 20.04.2011 21:03, Thiago H. de Paula Figueiredo wrote: On Wed, 20 Apr 2011 15:21:10 -0300, LLTYK ll...@mailinator.com wrote: Disabled, so you automatically get better performance. I don't think you should have to tweak Tapestry options to get better performance. Good point. But a similar

Re: Live reload in production?

2011-04-21 Thread Michal Gruca
: http://tapestry-users.832.n2.nabble.com/Live-reload-in-production-tp6288037p6293772.html Sent from the Tapestry Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional

Re: Live reload in production?

2011-04-21 Thread Mark
On Wed, Apr 20, 2011 at 4:07 PM, Howard Lewis Ship hls...@gmail.com wrote: That's my intention. Live class reloading would be disabled in production, and enable in development. I think that is reasonable, but I think it should be treated similar to tapestry.secure-enabled. By default it is

Re: Live reload in production?

2011-04-20 Thread antalk
or needs to be changed i have to create a new version with the changes and this needs to be re-deployed. If this is not possible we shutdown the app instead of changing a production webapp. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Live-reload-in-production

Re: Live reload in production?

2011-04-20 Thread Vangel V. Ajanovski
On 19.04.2011 19:11, Howard Lewis Ship wrote: Out of curiosity ... does anyone out there rely on live class (template, message catalog, whatever) reloading in their live, production application? Now, normally, I'd think not, because the deployed app will be packaged in a WAR and the unit of

Re: Live reload in production?

2011-04-20 Thread Vangel V. Ajanovski
On 20.04.2011 01:36, Howard Lewis Ship wrote: Well, then, you're screwed in Tapestry 5.3 :-) Looks like we'll Ouch. How about letting the community vote on this? I would hate to go back to JSP or PHP. probably have to introduce a new symbol to allow this to be enabled in production. But I

Re: Live reload in production?

2011-04-20 Thread Thiago H. de Paula Figueiredo
On Wed, 20 Apr 2011 06:26:12 -0300, Vangel V. Ajanovski a...@ii.edu.mk wrote: On 20.04.2011 01:36, Howard Lewis Ship wrote: Well, then, you're screwed in Tapestry 5.3 :-) Looks like we'll Ouch. How about letting the community vote on this? I would hate to go back to JSP or PHP. You can

Re: Live reload in production?

2011-04-20 Thread Adam Zimowski
probably have to introduce a new symbol to allow this to be enabled in production. But I think the vast majority of deployments will not need At the very least, can there be a patch that could be applied to 5.3 source on this ? On Wed, Apr 20, 2011 at 7:56 AM, Thiago H. de Paula

Re: Live reload in production?

2011-04-20 Thread Massimo Lusetti
On Wed, Apr 20, 2011 at 1:36 AM, Howard Lewis Ship hls...@gmail.com wrote: On Tue, Apr 19, 2011 at 4:22 PM, Adam Zimowski zimowsk...@gmail.com wrote: Excuse me asking, but with class reloading disabled in production, template reloading still works, correct? My designer who mostly does TML's

Re: Live reload in production?

2011-04-20 Thread Mark
Does anyone out there rely on live class (template, message catalog, whatever) reloading in their live, production application? and what critical benefit does this offer? I've used live class reloading on a production system a few times, but it always felt wrong to me. :) However, keep

Re: Live reload in production?

2011-04-20 Thread Thiago H. de Paula Figueiredo
On Wed, 20 Apr 2011 13:32:17 -0300, Mark mark-li...@xeric.net wrote: I understand the problems with giving people too many options. However it can be really tricky to decide what should be configurable and what need to be fixed. I wouldn't want to use a word processor that only allowed me to

Re: Live reload in production?

2011-04-20 Thread Adam Zimowski
What I think should be discussed is what's the best default value for it: enabled or disabled? That, to us makes no difference, as long as the option is there in 5.3 :-) On Wed, Apr 20, 2011 at 12:11 PM, Thiago H. de Paula Figueiredo thiag...@gmail.com wrote: On Wed, 20 Apr 2011 13:32:17

Re: Live reload in production?

2011-04-20 Thread LLTYK
Disabled, so you automatically get better performance. I don't think you should have to tweak Tapestry options to get better performance. -- View this message in context: http://tapestry-users.832.n2.nabble.com/Live-reload-in-production-tp6288037p6291747.html Sent from the Tapestry Users mailing

Re: Live reload in production?

2011-04-20 Thread Thiago H. de Paula Figueiredo
On Wed, 20 Apr 2011 15:21:10 -0300, LLTYK ll...@mailinator.com wrote: Disabled, so you automatically get better performance. I don't think you should have to tweak Tapestry options to get better performance. Good point. But a similar argument can be used: enabled, so you get a faster

Re: Live reload in production?

2011-04-20 Thread Mark
Good point. But a similar argument can be used: enabled, so you get a faster development environment without tweaking options. My gosh, these decisions are hard. :) Couldn't it be enabled by default in development mode and disabled by default in production mode? Isn't that how HTTPS and some

Re: Live reload in production?

2011-04-20 Thread Kalle Korhonen
On Wed, Apr 20, 2011 at 10:03 PM, Thiago H. de Paula Figueiredo thiag...@gmail.com wrote: On Wed, 20 Apr 2011 15:21:10 -0300, LLTYK ll...@mailinator.com wrote: Disabled, so you automatically get better performance. I don't think you should have to tweak Tapestry options to get better

Re: Live reload in production?

2011-04-20 Thread Howard Lewis Ship
On Wed, Apr 20, 2011 at 12:37 PM, Mark mark-li...@xeric.net wrote: Good point. But a similar argument can be used: enabled, so you get a faster development environment without tweaking options. My gosh, these decisions are hard. :) Couldn't it be enabled by default in development mode and

Re: Live reload in production?

2011-04-20 Thread Nikla Ratinen
Hi, In a busy live environment I would prefer disabled by default but still doable programmatically for occasional critical patching. This would allow reloading to be hooked for example to some administrative web service and result in better atomicity if multiple files need to be patched. That

Live reload in production?

2011-04-19 Thread Howard Lewis Ship
Out of curiosity ... does anyone out there rely on live class (template, message catalog, whatever) reloading in their live, production application? Now, normally, I'd think not, because the deployed app will be packaged in a WAR and the unit of redeployment is the entire WAR ... but I suppose

Re: Live reload in production?

2011-04-19 Thread Thiago H. de Paula Figueiredo
I'm not using 5.2 yet (sigh), but I do use exploded WARs in deployment. -- Thiago H. de Paula Figueiredo Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor Owner, Ars Machina Tecnologia da Informação Ltda. http://www.arsmachina.com.br

Re: Live reload in production?

2011-04-19 Thread Howard Lewis Ship
On Tue, Apr 19, 2011 at 11:23 AM, Thiago H. de Paula Figueiredo thiag...@gmail.com wrote: On Tue, 19 Apr 2011 15:21:44 -0300, Howard Lewis Ship hls...@gmail.com wrote: On Tue, Apr 19, 2011 at 11:07 AM, Thiago H. de Paula Figueiredo thiag...@gmail.com wrote: I'm not using 5.2 yet (sigh), but

Re: Live reload in production?

2011-04-19 Thread Bob Harner
On Tue, Apr 19, 2011 at 2:53 PM, Howard Lewis Ship hls...@gmail.com wrote: On Tue, Apr 19, 2011 at 11:23 AM, Thiago H. de Paula Figueiredo thiag...@gmail.com wrote: On Tue, 19 Apr 2011 15:21:44 -0300, Howard Lewis Ship hls...@gmail.com wrote: On Tue, Apr 19, 2011 at 11:07 AM, Thiago H. de

Re: Live reload in production?

2011-04-19 Thread Igor Drobiazko
I never used live reloading in production, but it might be a cool marketing weapon. We could promote it as seomthing similar to ZeroTurnaround's LiveRebel: http://www.zeroturnaround.com/liverebel/ Imagine a new slogan on Tapestry's webpage: With Tapestry you can roll out and roll back changes to

Re: Live reload in production?

2011-04-19 Thread Howard Lewis Ship
On Tue, Apr 19, 2011 at 4:00 PM, Igor Drobiazko igor.drobia...@gmail.com wrote: I never used live reloading in production, but it might be a cool marketing weapon. We could promote it as seomthing similar to ZeroTurnaround's LiveRebel: http://www.zeroturnaround.com/liverebel/ Imagine a new

Re: Live reload in production?

2011-04-19 Thread Adam Zimowski
Excuse me asking, but with class reloading disabled in production, template reloading still works, correct? My designer who mostly does TML's expects templates be reloadable in production. Adam PS. On a side note, what about a hybrid switch? Like component class reloading but disable service

Re: Live reload in production?

2011-04-19 Thread Howard Lewis Ship
On Tue, Apr 19, 2011 at 4:22 PM, Adam Zimowski zimowsk...@gmail.com wrote: Excuse me asking, but with class reloading disabled in production, template reloading still works, correct? My designer who mostly does TML's expects templates be reloadable in production. Well, then, you're screwed

Re: Live reload in production?

2011-04-19 Thread Lenny Primak
I think live reload in production is a terrible idea. Production should be locked down. Even if you are using exploded version of the application, the app server should explicitly be told to reload the app, in which case live reloading is not required. On Apr 19, 2011, at 7:36 PM, Howard

Re: Live reload in production?

2011-04-19 Thread Adam Zimowski
I plead to ask, if possible to enable a switch for template reloading. I may be screwed, literally... Adam On Tue, Apr 19, 2011 at 6:36 PM, Howard Lewis Ship hls...@gmail.com wrote: On Tue, Apr 19, 2011 at 4:22 PM, Adam Zimowski zimowsk...@gmail.com wrote: Excuse me asking, but with class

Re: Live reload in production?

2011-04-19 Thread Thiago H. de Paula Figueiredo
On Tue, 19 Apr 2011 20:39:46 -0300, Adam Zimowski zimowsk...@gmail.com wrote: I plead to ask, if possible to enable a switch for template reloading. I guess this won't be a problem, as it doesn't touch class transformations, proxies, etc. -- Thiago H. de Paula Figueiredo Independent

Re: Live reload in production?

2011-04-19 Thread Patrick Moore
Hi Howard, Maybe the question should really be: Does anyone out there rely on live class (template, message catalog, whatever) reloading in their live, production application? and what critical benefit does this offer? I am with you on the paradox of choice. When I roll out new