cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Giacomo Pati <pati_giac...@yahoo.com>
Subject Re: Code formatting thought...
Date Thu, 08 Jun 2000 12:57:09 GMT

--- Berin Loritsch <bloritsch@infoplanning.com> wrote:
> I know this may be early to think about this now, but if we are
> doing server side compiling, why are we concerned about the
> format of the source code?
> 
> In other words, if XSP is compiled behind the scenes and noone
> is really going to see the resultant code, why use a code formatter
> at all?
> 
> The only reason I can think of is for debugging.  But once an XSP
> page is properly debugged (and the system is properly debugged),
> then the JStyle code formatting becomes unnecessary overhead
> that only serves to increase the latency with the first access.

Exactly, the code-formatter is for debugging purposes only. You can easily remove that parameter
from the sitemap.

Giacomo

> 
> Is there currently a way to turn it off for deployment?  If not, will
> there be plans to do so?  I suppose, if we also had a method to
> cause the site to detect (via sitemap) all the XSP pages and
> compile them on startup that this whole question becomes moot.
> 
> Anyhoo, It's just a thought.
> 


=====
--
PWR GmbH, Organisation & Entwicklung      Tel:   +41 (0)1 856 2202
Giacomo Pati, CTO/CEO                     Fax:   +41 (0)1 856 2201
Hintereichenstrasse 7                     Mailto:Giacomo.Pati@pwr.ch
CH-8166 Niederweningen                    Web:   http://www.pwr.ch

__________________________________________________
Do You Yahoo!?
Yahoo! Photos -- now, 100 FREE prints!
http://photos.yahoo.com

Mime
View raw message