Re: Pulling v/s Pushing
"Nikhil C. Khedkar" <[email protected]>
| Newsgroups | gmane.text.xml.xmlpull.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Alec,
thanks for your reply. But, sadly, I am still not
very clear abt this pulling v/s pushing. Can you
provide a beginner's guide or should I say a dummy's
guide :-).
Thanks,
Nikhil
--- Aleksander Slominski <[email protected]>
wrote:
> "Nikhil C. Khedkar" wrote:
>
> > Hi all,
> > Can you tell me the exact meaning of this
> pulling
> > mechanism used by the parser? What is pulling and
> > pushing?
>
> please take look on my technical report - it is a
> bit old but
> it gives an example of the same task done both with
> SAX
> and pull parser:
>
http://www.extreme.indiana.edu/xgws/papers/xml_push_pull/node3.html
>
>
> > How do you comapre them, efficiencywise and
> > memory usage wise?
>
> SAX and XmlPull are both streaming XML parsing APIs
> so efficiency wise from design point of view they
> are equivalent
> in practice however it depends completely on API
> implementation
> that you use (and for what kind of task
> implementation is coded for).
>
> i would recommend to built sample/prototype
> application and try few
> different APIs such as lower level (SAX, XmlPull),
> higher level (DOM,
> JDOM) data binding (Castor, JAXME) and compare them
> to see
> what is the most natural API and will be easier to
> maintain code
> (smaller, easier to read, better reflect application
> design).
>
> then and only then look on available API
> implementations and
> chose the best that works for you (at least that is
> what should be
> done if you have enough time to do right things
> ..).
>
> hope it helps,
>
> alek
>
>
> ------------------------ Yahoo! Groups Sponsor
>
> To unsubscribe from this group, send an email to:
> [email protected]
>
>
>
> Your use of Yahoo! Groups is subject to
> http://docs.yahoo.com/info/terms/
>
>
__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com