[Home] [By Thread] [By Date] [Recent Entries]
> Joshua Allen wrote: > > > The forward-only "pull model" is quite important because many > > of our low-level scenarios involve pipelined processing of XML, > > where performance and working set are critical. > > "Pull to read, push to write" makes it easy for developers to > > write components which automatically "just works" in a pipelined > > environment. > > Could you elaborate on this? I'm confused. > > If every component follows this model, how do you plug > two of them together? I'm confused too. IMO, XML processing pipelines are much easier to implement in SAX that with the .NET APIs (this is actually the 1-out-of-10 scenario I alluded to in my previous post). Since the same interface, ContentHandler, was used for both reading and writing, it was trivial to plug them together. This is not the case in .NET. Do you mean a pipeline of readers or a pipeline of writers, but not where one feeds into the other? -aaron ...................................................... . Aaron Skonnard, DevelopMentor (http://skonnard.com). . Essential XML Quick Reference available online! . . Download PDFs: http://www.develop.com/books . ......................................................
|

Cart



