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



"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


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


Prof. Jeff Sonstein

Received on Wednesday, 2 July 2008 00:12:43 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:42:58 UTC