[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: JavaScript (was Re: Whither XML ?)

  • From: Julian Reschke <julian.reschke@gmx.de>
  • To: David <dlee@calldei.com>
  • Date: Thu, 11 Nov 2010 17:39:20 +0100

Re:  JavaScript (was Re:  Whither XML ?)
Hi David,

Understood. I can see the problem with binary in general; I just wanted 
to point that sending XML in an efficient way *should* be possible already.

Which devices do not understand C-E: gzip?

Best regards, Julian

On 11.11.2010 17:28, David wrote:
> Some devices do support gzip HTTP encoding of text data some don't.
> Even the ones that do, doesn't solve the problem of wanting to send
> binary data which is not simply gzip'd text using JS.
> Javascript doesnt have a binary type, the JS HTTP API's dont allow you
> to fetch (into a JS variable) a binary result from an HTTP request.
> (except that interesting hack with PNG images ... )
>
> And even if you do get gzip'd text the in-memory footprint of such text
> is big, due to 16 bit chars
> and processing said text byte by byte in JS is inefficient.
>
> For us who've gotten fat & lazy with the good life of pretending
> everyone has 4G of ram and a 4Ghz quad core processor, working on mobile
> devices is humbling. Even when those devices are 100x more powerful of
> the PC's of yesteryear.
> Add JavaScript to the mix and the dissertation that it is "The VM of the
> Browser", then add the architectural concept that every app should be a
> locally running "web app" (Web/OS style) and life is a sad sad state of
> affairs.
>
> I'm sorry but I just dont buy it. Until JS improves *dramatically* (not
> just in speed but capibility) I predict we will NOT see the plethra of
> high quality 'web apps' that pendants predict. You just need to look at
> your iPhone for proof.
> You can run web apps on it, you can run native apps. How many '100% pure
> web apps' on the iphone are worth using ?
> Do you launch a browser and go to maps.google.com ? or do you launch the
> Google Maps native app.
>
> Why ?
>
>
>
> David A. Lee
> dlee@calldei.com
> http://www.xmlsh.org
>
>>>
>>>
>>> We were completely unable to adopt this technique to the Palm Web/OS due
>>> to the inability to do binary IO and efficient binary parsing.
>>> ...
>>
>> Are you saying those do not support
>>
>> Content-Encoding: gzip
>>
>> ?
>>
>> Best regards, Julian
>



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.