News for hackers. Stuff that matters.
Re:The-M-Project: A HTML5 enabled JavaScript framework to ta... by astrofinch on Wednesday January 19, 2011 @01:29PM (#2120723)
How does this compare to http://www.phonegap.com/?
Re:The-M-Project: A HTML5 enabled JavaScript framework to ta... by dmix on Wednesday January 19, 2011 @01:52PM (#2120785)
A better comparison would be backbone.js.

It don't see any mention of it building natively to devices on the site. So you could still use Phonegap in combination with it.

I'm currently building a mobile app with backbone.js + jQuery Mobile + Phonegap. Backbone works great for me so I see no reason to switch.

Re:The-M-Project: A HTML5 enabled JavaScript framework to ta... by detst on Wednesday January 19, 2011 @03:05PM (#2121048)
Care to talk more about how you're using Backbone.js and jQuery Mobile?

I'm interested in this combination and wondering why this project wouldn't choose to build on Backbone.js. It seems they would just be reinventing the wheel here and losing the benefit of using the same library on full apps and mobile.

Re:The-M-Project: A HTML5 enabled JavaScript framework to ta... by dmix on Wednesday January 19, 2011 @10:04PM (#2122438)
This is probably more worthy of a blog post.

To summarize in a few lines. Backbone.js has been wonderful for creating the MVC backend for the application. It uses Localstorage and syncs with a REST server on demand.

jQuery Mobile is still very rough on the edges. Most of the headaches I've had have been with getting jQuery mobile to work properly with the backbone controllers.

If jQuery Mobile was less buggy, performed better and was more Backbone.js friendly, then I would highly recommend taking this route.

But even though its not quite there yet, it's entirely possible to build a multi-device mobile app using backbone+jqmobile+phonegap. Just be prepared to hack both libraries.