2014年3月11日

Browser detect

摘要: A useful but often overrated JavaScript function is the browser detect. Sometimes you want to give specific instructions or load a new page in case the viewer uses, for instance, Safari.If you're new to JavaScript,don'tuse browser detects. You don’t need them. Please read theobject detection 阅读全文

posted @ 2014-03-11 08:22 Step-BY-Step 阅读(415) 评论(0) 推荐(0) 编辑

比較Backbone.js, Angular.js, Ember.js, Knockout.js 心得

摘要: 還記得第一次寫網站的時候,我無意間寫成了 SPA(single page application),當時還沒有SPA這個詞,後來因為廣告主需要不同 url location 頁面的廣告展示,只好把部分網站改成一般網頁。但是一直以來我對於提高整體溝通效率以及使用端的回應效率抱持相同的想法,希望能夠把更多回應放到 client 處理,讓server 做好 api 提供者的角色,可以讓網站回應更即時而親切,這篇心得文不會詳細走訪每個技術層面,而是提供概括的入門使用情況。現在client-side javascript MV*(MVVM, MVC等) framework實作產量豐富,Backbone. 阅读全文

posted @ 2014-03-11 08:18 Step-BY-Step 阅读(1614) 评论(0) 推荐(0) 编辑

导航