logankoester / backbone-datarouter

A router abstraction built with jquery-mobile, localstorage caching, and backbone collections in mind

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Decouple from jQuery Mobile router for use in other contexts.

logankoester opened this issue · comments

There is no reason to require jQuery Mobile except for historical accident.

In fact, I would strongly advise against using jQuery Mobile at all for any purpose.

We should either replace the underlying jQuery Mobile router with an adapter API for multiple routers, or rely directly on Backbone.Router itself.

I'll have to look into whether other Backbone routing solutions are worth using in conjunction with this.

There may be some value in remaining compatible with the jQuery Mobile router using adapters - this library originally came about because trying to fuse jQuery Mobile to Backbone was a painful experience, and others will undoubtedly go through it as well.