快速 Moblie Web

原文出自:http://www.infoq.com/presentations/Fast-Mobile-UIs

PPT 下载 http://www.infoq.com/pdfdownload.action?filename=presentations%2FQConLONDON2012-HoriaDragomir-FastMobileUIs.pdf

  • 多数移动浏览器都符合标准,而且没有 IE6 :)
  • 大可以把以前的旧写法,兼容写法给抛弃掉
  • 边做边学 Learn by Doing
  • 要习惯于无调试反馈的时候
  • 先显示点东西,然后才加载,让用户不会太着急
  • 你可不必要 jQuery 了You Don’t Need jQuery!
  • 让强度比较高的 JS 运算延时执行,好让 UI 渲染来得快点。Delay JS heavy execution to allow the UI to respond fast.
  • An AJAX request to an asset already stored in applicationCache will sometimes yield a  responseCode of 0
  • hashChange if you're afraid of pushState
  • [].map.call(node.querySelectorAll('a .super'), function (child) {
    
        // 迭代器
    });

一图胜千言,以下是 PPT 截图:

快速 Moblie Web_第1张图片

快速 Moblie Web_第2张图片

快速 Moblie Web_第3张图片

快速 Moblie Web_第4张图片

快速 Moblie Web_第5张图片

网页工具集合http://stevesouders.com/mobileperf/mobileperfbkm.php

最后其实我想说的, Moblie 还是多坑……

你可能感兴趣的:(快速 Moblie Web)