Re: Optimizing and XMLC application

Xue-Feng Yang <[email protected]>
Newsgroups gmane.comp.java.enhydra.xmlc
Message-ID <[email protected]>
I have a solution for this by separating implementing
development DOM and deployment DOM. The later is much
more smaller. I will separate static nodes from
dynamic ones, and squeeze those static together in
some bigger groups. XSLT and JSP have the same problem
as to crawl on the whole tree again and again. 

I talked this in Barracuda mailing list. General
speaking, we see a very nice separation between
designs and developments. We also see that deployments
just making a jar/war or something else. That looks
not enough. The designs and developments should just
like what we see and use in Unified Process. It should
be good OO, reusable, easy to develop and so on.
However, the deployment should care more about the
performance and stableness. It should contain the
optimization for everything, in particular, those
overhead from design and OO mechinery. Once it becomes
binary, we should not care about OO, but stableness
and performance.

However, this may not help you since I will not finish
it tomorrow.

Cheers.

   



 --- David Corbin <[email protected]> wrote: >
>>3) Pre-generate large chunks of the final DOM (a
> good majority of the
> >> duplicated "rows" are from domain data, and
> fairly static).
> >>4) Pre-generate the data has HTML at run-time, or
> even at compile time
> >> (see #3 above)
> >
> > These could be a huge win.  Not only do you avoid
> DOM work, but the
> > work of getting the data to populate the DOM.
> >
> 
> Now the trick is, HOW.  Inserting a pre-generated
> DOM at run-time is not
> too difficult, but I still pay the price of
> duplicating the DOM.  For this
> to be a really big gain, I need to be able to spit
> out "raw HTML" in the
> middle of an existing DOM.  The last time I asked
> about this (for entirely
> different reasons), I got back a "it can't be done",
> I think.
> 
> 
> _______________________________________________
> XMLC mailing list
> [email protected]
> http://www.enhydra.org/mailman/listinfo.cgi/xmlc 

______________________________________________________________________ 
Post your free ad now! http://personals.yahoo.ca
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.