Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Frost - W3C Mobile Ajax Workshop 2007

270 views

Published on

My presentation of the Frost library for the W3C/OAA Workshop on Mobile Ajax 28 September 2007 in Mountain View.

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Frost - W3C Mobile Ajax Workshop 2007

  1. 1. Frost Ajax Library Ajax library for constrained browsers Rocco Georgi PavingWays
  2. 2. Motivation ● Ajax works in many mobile browsers ● JavaScript/DOM implementations vary ● existing libraries don't work in many cases
  3. 3. Approach ● cross-browser Ajax for mobile web apps ● support weakest browser capable of Ajax ● small codebase (core < 3k) ● limited functionality in core ● extensible by users ● use only basic JavaScript (no prototyping) ● fall-back mechanisms ● task-oriented
  4. 4. What can it do? ● browser-dependent output ● debug output ● basic Ajax requests ● callbacks handling returned data ● timeouts if offline ● putting data somewhere ● basic page manipulations
  5. 5. Supported Browsers ● all ... ● that know the XHR object ● ...or that know an ActiveX
  6. 6. How does it work? ● testing -> browser capabilities DB ● browser detection ● capability-based output ● ...or universal version ● server and client components (PHP, Rails) ● write markup ● load or include lib ● execute f('name', [args])
  7. 7. Main Issues / Roadmap ● first release – – ● test setup testing building demos – ● combine with testing community building – getting feedback – enabling easy extension

×