-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Spine JS + JQuery Mobile + Ajax Request #33
Comments
Ciao, A presto, |
Grazie per la risposta, I tried built a basic app via hem/nodejs but it is very clear to me the correct lib loading |
This is a basic Spine Loading, which libraries does your routing replace? I think manager and router, but I don't know how to integrate it. Any tips? require('json2ify') require('spine') Do I need to disable something? https://gist.github.com/2044082 |
I think it replaces route (as a consequence, manager becomes useless). You don't have to disable anything in the mobileinit event, default settings are fine |
So I'm am very interested in also integrating Spine with JQM. I would be more then happy to make a sample app if not a tutorial and share it when complete. However, I would need some help getting started. Maybe a quick overview between JQM design and Spine design and their differing conflicts. If anyone is interested in chatting or offering some guidance on where to get started I can at least finish with a working example you can add to the documentation. |
Hi @sukima The biggest issue is that jQM has a built-in routing system based on hashes (pushState is also supported) that conflicts with the one provided by backbone and spine. In addition, jQM provides a lot of useful page-related events that cannot be exploited using a standard hashchange router. Some folks prefer to disable jQM routing completely and use it as a mobile UI library: this is fine, some things will be probably prove a little more difficult since you have to do a lot of things "by hand". Alternatively you can keep jQM internal routing and do away with backbone/spine routing plugins. To sum everything up, plugins such as the jquerymobile router try to provide the same functionality (or a big subset) of backbone and spine routers by using jQM events, exposing them to the developer in the process. |
Ciao,
do you have an example with your router and Spine JS?
Grazie
The text was updated successfully, but these errors were encountered: