W3C home > Mailing lists > Public > public-bpwg@w3.org > July 2008

Re: "Going fast on the Mobile Web" - input for MWABP?

From: Jeff Sonstein <jeffs@it.rit.edu>
Date: Tue, 1 Jul 2008 20:11:36 -0400
Message-Id: <B28CF1E5-8B17-463A-8E5E-0F7A52EE1FB6@it.rit.edu>
To: public-bpwg@w3.org

On Jul 1, 2008, at 4:37 AM, Dom wrote:

> They also have further recommendations for post-iPhone devices (but
> without much details):

from the "Opinions R Us" department:

> 3. Javascript at bottom of page

folks like GoogleAnalytics make similar suggestion all devs
so renderer engine able to get to initial elements
before it tries to run your code
(and maybe gets hung up there & delays other stuff down page)

> 4. CSS in the head tag

means don't stick CSS inline
hard to maintain
last-minute adds of CSS bad idea small processor/resources
(poor little sucker is busy enough w the JS & DOM as is)

> 6. Use GET unless you need POST

see:

   http://www.w3.org/2001/tag/doc/whenToUseGet.html

"HTTP GET promotes URI addressability so, designers should adopt it  
for safe operations
  such as simple queries. POST is appropriate for other types of  
applications where a user
  request has the potential to change the state of the resource (or of  
related resources)."

> 7. use JSON instead of XML

JSON maps directly into Javascript/ECMAScript objects
while XML objects require (relatively) mucho parsing

jeffs

--
Fail Whale Pale Ale     #fwpa
absurd label contest details at: http://tweethunt.org/

============

Prof. Jeff Sonstein

http://www.it.rit.edu/~jxs/
http://ariadne.iz.net/~jeffs/
http://ariadne.iz.net/~jeffs/jeffs.asc
http://www.it.rit.edu/~jxs/emailDisclaimer.html
Received on Wednesday, 2 July 2008 00:12:43 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 2 July 2008 00:12:44 GMT