|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: events vs callbacks
From: David Megginson <david@m...> >In two or three years, I fully expect to see people (unknowingly) >using SAX on the next-generation of palmtops with wireless Internet >access, choosing a new sweater to buy from Eddie Bauer while they're >riding the bus back to campus -- at least, I hope to see that, as long >as we're smart enough not to kill off SAX's original advantages in >round two. David, It is hard to make a definitive case when there are so many right answers. And with monolithic parsers, you are right. But with event objects, we can go with a layered approach and achieve a better integration between applications and parsers. And in palmtops, you know those applications will need that close integration just to keep the footprint small. So for the very applications you are concerned with, the larger jar file needed by an event-object approach could be offset by that tighter integration. I hate bloat, but there's more than one way it creeps into the code. MDSAX would be smaller with event objects. Total application bloat is significantly reduced when you can increase the utility of the components--you have just cut out a lot of duplication and work-arounds! And with the continued pace of hardware, the real issue isn't the size of a resident jar file, but the size of the jar files that need to be downloaded. If we can increase the utility of our components, then we will likely have those components resident on the palmtop. And the applications being downloaded will be ever so much smaller. Bill xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i... Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1 To (un)subscribe, mailto:majordomo@i... the following message; (un)subscribe xml-dev To subscribe to the digests, mailto:majordomo@i... the following message; subscribe xml-dev-digest List coordinator, Henry Rzepa (mailto:rzepa@i...)
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








