RE: Barracuda Performance Questions
Xue-Feng Yang <[email protected]>
| Newsgroups | gmane.comp.java.enhydra.barracuda.general |
|---|---|
| Message-ID | <[email protected]> |
Hi Christian, Thank you for your suggestions. I will make a masive research on this. Xue-Feng --- Christian Cryder <[email protected]> wrote: > Hi Xue, > > > To be honest, I am not sure if I will work on > this. It > > depends if it is worth to do. > > Hey, I understand ;-) Only you are going to be able > to make the decision > whether its easier to build on something existing > (like Barracuda), or to > roll your own solution. Barracuda does have a fairly > steep learning > curve, -but- its also incredibly flexible...you > could plug in your own DOM > structure, plug in custom renderers, or as Jake > said, you could even roll > your own components. Actually, you wouldn't even > have to use the component > model at all if you didn't want to - the various > Barracuda layers were > designed to be able to be used independently of one > another, so if you > wanted to use the Event and Form models, and then > use something else for > actually rendering responses back to the client, you > could totally do that. > I don't think you'll find many other frameworks that > are that flexible... > > ...but then again I am a bit biased too ;-) > > At any rate, we'll be happy to help answer any > questions you might have, so > feel free to holler. > > Christian > > (ps - I am trusting that you have downloaded a > recent copy of the source > from cvs...that will make playing with the examples > and benchmarking much > easier) > ---------------------------------------------- > Christian Cryder [[email protected]] > Internet Architect, ATMReports.com > Barracuda - http://barracudamvc.org > ---------------------------------------------- > "Coffee? I could quit anytime, just not today" > > > -----Original Message----- > > From: [email protected] > > [mailto:[email protected]]On Behalf > Of Xue-Feng Yang > > Sent: Monday, March 17, 2003 4:13 PM > > To: [email protected] > > Subject: RE: [Barracuda] Barracuda Performance > Questions > > > > > > Hi Christian, > > > > To be honest, I am not sure if I will work on > this. It > > depends if it is worth to do. I will look at > > Barracuda's event model carefully before I make > any > > decision. > > > > > So one possibility is to consider writing > > > a) a custom DOM Loader - to create a DOM from > your > > > structure > > > b) a DOM Wrapper - to make your structure > look/act > > > like a DOM > > > > > > If you were to do that then the Barracuda > components > > > could work with your > > > "custom" DOM, which you could in turn use to > > > significantly reduce the number > > > of DOM nodes. I've thought of doing this very > thing > > > for flat text documents, > > > thereby making it possible for Barracuda to > > > manipulate a text file or .rtf > > > format. The key is making the document in > question > > > look like a DOM so that > > > Barracuda can work with it. > > > > > > > Assume that I will do something in Barracuda. I am > > sure that I will not go b). It makes too much > > unnecessary function calls between two data trees. > It > > only can be a temporary solution. For a), a new > dom > > implemetation has to be introduced in order to > store > > squeezed data or deal with some text files as you > > mentioned. The dom operations should skip this > part > > automatically. So it is unnecessary to use my data > > struture. From the current framework, I don't see > > anyway to use my data struture natually. > > > > Cheers, > > > > Xue-Feng > > > > > > > > > > > > > ______________________________________________________________________ > > Post your free ad now! http://personals.yahoo.ca > > _______________________________________________ > > Barracuda mailing list > > [email protected] > > http://barracudamvc.org/lists/listinfo/barracuda > > _______________________________________________ > Barracuda mailing list > [email protected] > http://barracudamvc.org/lists/listinfo/barracuda ______________________________________________________________________ Post your free ad now! http://personals.yahoo.ca