142 messages in org.apache.cocoon.devRe: Lazy mode (was Re: [RT] Is Cocoon...
FromSent OnAttachments
4 earlier messages
Berin LoritschSep 30, 2005 4:27 pm 
Tony CollenSep 30, 2005 4:47 pm 
Niclas HedhmanSep 30, 2005 10:20 pm 
Andrew SavoryOct 1, 2005 7:23 am 
Stefano MazzocchiOct 1, 2005 1:51 pm 
Jaka JaksicOct 1, 2005 6:41 pm 
Niclas HedhmanOct 1, 2005 9:42 pm 
Niclas HedhmanOct 1, 2005 10:11 pm 
Joerg HeinickeOct 2, 2005 1:13 am 
Sylvain WallezOct 2, 2005 1:51 am 
Daniel FagerstromOct 2, 2005 4:02 am 
Luca MorandiniOct 2, 2005 4:29 am 
Daniel FagerstromOct 2, 2005 5:53 am 
Luca MorandiniOct 2, 2005 6:43 am 
Andreas PetterOct 2, 2005 7:03 am 
Torsten CurdtOct 2, 2005 7:32 am 
Antonio GallardoOct 2, 2005 12:01 pm 
Bertrand DelacretazOct 2, 2005 12:38 pm 
Antonio GallardoOct 2, 2005 12:48 pm 
Ross GardlerOct 2, 2005 1:11 pm 
Bertrand DelacretazOct 2, 2005 1:13 pm 
Antonio GallardoOct 2, 2005 1:41 pm 
Antonio GallardoOct 2, 2005 2:02 pm 
Pier FumagalliOct 2, 2005 3:51 pm 
Niclas HedhmanOct 2, 2005 10:11 pm 
Reinhard PoetzOct 2, 2005 10:55 pm 
Bertrand DelacretazOct 3, 2005 2:33 am 
Sylvain WallezOct 3, 2005 3:10 am 
Jorg HeymansOct 3, 2005 3:39 am 
Jorg HeymansOct 3, 2005 4:09 am 
Sylvain WallezOct 3, 2005 4:42 am 
Andrew SavoryOct 3, 2005 4:50 am 
Ralph GoersOct 3, 2005 4:52 am 
Thomas LutzOct 3, 2005 5:01 am 
Jorg HeymansOct 3, 2005 5:06 am 
Sylvain WallezOct 3, 2005 5:18 am 
Luca MorandiniOct 3, 2005 5:26 am 
Andrew SavoryOct 3, 2005 5:33 am 
Jorg HeymansOct 3, 2005 6:20 am 
Tony CollenOct 3, 2005 6:28 am 
Jorg HeymansOct 3, 2005 6:35 am 
UpayaviraOct 3, 2005 6:43 am 
Sylvain WallezOct 3, 2005 6:44 am 
Berin LoritschOct 3, 2005 7:14 am 
Luca MorandiniOct 3, 2005 7:18 am 
Jorg HeymansOct 3, 2005 7:29 am 
Sylvain WallezOct 3, 2005 8:02 am 
Jorg HeymansOct 3, 2005 8:08 am 
Steven NoelsOct 3, 2005 8:19 am 
Carsten ZiegelerOct 3, 2005 8:31 am 
Stefano MazzocchiOct 3, 2005 8:36 am 
Sylvain WallezOct 3, 2005 8:41 am 
Daniel FagerstromOct 3, 2005 8:44 am 
Sylvain WallezOct 3, 2005 8:53 am 
Carsten ZiegelerOct 3, 2005 8:57 am 
Sylvain WallezOct 3, 2005 8:59 am 
Sylvain WallezOct 3, 2005 9:00 am 
Stefano MazzocchiOct 3, 2005 9:04 am 
Luca MorandiniOct 3, 2005 9:11 am 
Andrew SavoryOct 3, 2005 9:20 am 
Berin LoritschOct 3, 2005 9:34 am 
Sylvain WallezOct 3, 2005 10:07 am 
Ross GardlerOct 3, 2005 10:17 am 
Luca MorandiniOct 3, 2005 10:30 am 
Nicola Ken BarozziOct 3, 2005 10:44 am 
Antonio GallardoOct 3, 2005 12:30 pm 
Sylvain WallezOct 3, 2005 1:38 pm 
Steven NoelsOct 4, 2005 1:08 am 
Daniel FagerstromOct 4, 2005 2:16 am 
Pier FumagalliOct 4, 2005 2:31 am 
Bertrand DelacretazOct 4, 2005 2:36 am 
Daniel FagerstromOct 4, 2005 3:01 am 
Andrew SavoryOct 4, 2005 3:13 am 
UpayaviraOct 4, 2005 3:17 am 
Bertrand DelacretazOct 4, 2005 3:29 am 
Steven NoelsOct 4, 2005 3:39 am 
Torsten CurdtOct 4, 2005 3:47 am 
hepaboluOct 4, 2005 4:00 am 
Joerg HeinickeOct 4, 2005 4:39 am 
Sylvain WallezOct 4, 2005 4:57 am 
Daniel FagerstromOct 4, 2005 5:48 am 
Arje CahnOct 4, 2005 5:55 am 
Stefano MazzocchiOct 4, 2005 9:08 am 
Sylvain WallezOct 4, 2005 9:24 am 
Carsten ZiegelerOct 4, 2005 12:43 pm 
Steven NoelsOct 5, 2005 3:57 am 
Carsten ZiegelerOct 10, 2005 5:02 am 
Joerg HeinickeOct 11, 2005 2:03 pm 
Vadim GritsenkoOct 11, 2005 8:01 pm 
Stefano MazzocchiOct 11, 2005 8:16 pm 
Vadim GritsenkoOct 11, 2005 8:35 pm 
Bertrand DelacretazOct 11, 2005 11:20 pm 
Max PfingsthornOct 12, 2005 12:31 am 
Torsten CurdtOct 12, 2005 12:32 am 
Bertrand DelacretazOct 12, 2005 12:58 am 
Sylvain WallezOct 12, 2005 1:34 am 
Carsten ZiegelerOct 12, 2005 2:21 am 
Daniel FagerstromOct 12, 2005 4:52 am 
Stefano MazzocchiOct 12, 2005 8:58 am 
Stefano MazzocchiOct 12, 2005 9:01 am 
38 later messages
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: Lazy mode (was Re: [RT] Is Cocoon Obsolete?)Actions...
From:Carsten Ziegeler (czie@apache.org)
Date:Oct 3, 2005 8:31:59 am
List:org.apache.cocoon.dev

Sylvain Wallez wrote:

Agree, but on the other hand, this lazy-loading of components mean that some buggy declarations will not be detected at startup time, which would be better in a production environment.

This leads again to the discussion about "running modes" [1] where some developer-oriented features (e.g. lazy startup, cocoon stacktraces on screen, client-side alerts in Ajax libraries) would only be enabled in development mode. IIRC, ruby on rails has this kind of modes too.

Now, considering how many things are loaded at runtime in Cocoon (sitemaps, XSLs, templates, etc), we can just consider that components are just yet another thing loaded at runtime and set lazy mode as the default one.

Thoughts, especially about running modes?

One interesting question is, what is the default mode we ship? Development or production? I think we should ship development settings as the default.

Now, for the modes, if we solve everything with properties, we can provide one directory for each mode containing different property files and then simply tell Cocoon to load all property files from a specific directory. This is already implemented in 2.2 anyway. The lazy loading is a property, too. And properties can be used inside xconf and I think sitemaps as well to replace tokens.

Carsten