13 ms·
Actually the $ refers to Zepto, which is a lightweight jQuery replacement designed for mobile browsers.
by oscilloscope 15y ago
Actually the $ refers to Zepto, which is a lightweight jQuery replacement designed for mobile browsers.
- swanson 15y agoI'm aware of that - but Zepto and Backbone don't have a UI layer
- politician 15y agoI'm not really sure what you mean by that - Zepto is a DOM editor and Backbone provides an MVC structure which represents the logical state of the UI. Higher-level organization in a Backbone app is accomplished by view composition. If, however, you are referring to the weak link between Zepto-managed DOM and Backbone Views via hand-rolled render functions, then check out outback.js, a declarative data binding layer for Backbone in the same spirit as Knockout.js - well, more than spirit, the binding extensibility layer uses roughly the same API and much of the same documentation. https://github.com/politician/outback https://github.com/politician/outback
- user-id 15y agoNo, I'm pretty sure he's referring to the "theme" component of jQuery Mobile (http://jquerymobile.com/themeroller/ http://jquerymobile.com/themeroller/) which isn't "taken care of" with this combo. That said, since it's just markup and CSS it shouldn't be too difficult to roll in.
- swanson 15y agoSorry - I wasn't being clear. I am looking for some kind of CSS framework that will do Android/iOS styles for buttons, tabs, transitions, etc. You get this kind of stuff with jQuery Mobile - but I didn't see how it was done with the Backbone/Zepto stack (aside from the kind of hacky animations in the demo).
- deleted 15y ago[deleted]