The document discusses the current state of mobile development. It covers mobile runtimes, debugging tools, editors, build services, testing, reporting, app stores, and libraries. It then discusses approaches to coding mobile apps, including using mixins and libraries sparingly. It provides examples of a mobile app built with a delegate mixin for event handling and data binding. The document calls for further developing mobile capabilities by pushing frameworks like PhoneGap and advocating for more direct access to device APIs from JavaScript.
76. Delegate
• Different approach on event handling
• Simple, clear implementation
• Less overhead than the multi purpose
event handlers such as dojo.connect
• More explicit than pub/sub
• https://github.com/uxebu/delegate
Sunday, May 15, 2011
82. Data binding
• Based on delegate’s event handling
• No templating language!
• Objects emit events on state change
• Data binding takes care of modifying
DOM
Sunday, May 15, 2011
92. Example DOM Events
• Mobilism mobile app (DOM event binding)
Sunday, May 15, 2011
93. Gaming
• Curve Desaster - the experiment
https://github.com/uxebu/curvedesaster
• No library
• Using only the Delegate mixin and a
mixin helper
• wwtest / http://10.0.2.1:8080
Sunday, May 15, 2011
95. What is happening right now?
• Fact: Native mobile is moving fast
• Bad: Apple disabled Nitro in WebView
• Good: Android now has an ADK
• Awesome: Chromestore now has
payment APIs
• Woot: HP kicks ass, you can use node.js!
• ...
Sunday, May 15, 2011
96. How can we be of influence?
Sunday, May 15, 2011