News for hackers. Stuff that matters.
Re:JQuery Mobile 1.1.0 RC1 by untog on Tuesday February 28, 2012 @03:05PM (#3644720)
I decided against Sencha Touch because it doesn't use HTML- you construct the entire site using their JS functions. So if you ever want to transition away from Sencha, you can't- you're locked in.

While I'm not that happy with jQuery Mobile, it does use HTML for layouts. So you can abandon the library without losing all your work. Indeed, I'm starting that process myself right now- custom building something more suitable to my needs, and copy and pasting HTML to bring my existing UI work along with me.

Re:JQuery Mobile 1.1.0 RC1 by solutionyogi on Tuesday February 28, 2012 @04:55PM (#3645207)
With all due respect, I don't think this is a strong enough reason against Sencha.

Just because jQuery Mobile lets you use HTML, it doesn't mean that it's easy to swap it with some other library. I think jQuery Mobile will dictate how your HTML looks like to a certain degree. If you ever decide to change the library, I think you will have to re-do the whole UI anyway just like Sencha.

I am not saying that there can not be other reasons to not use Sencha, but in my opinion, this one is not.

Re:JQuery Mobile 1.1.0 RC1 by untog on Tuesday February 28, 2012 @05:03PM (#3645248)
I think jQuery Mobile will dictate how your HTML looks like to a certain degree.

Oh, absolutely. But it uses standard elements a lot- so a textbox is an <input>, a dropdown is a <select>, and so on. It depends how much you depend on their UI defaults, but in my case I've found it a very simple process to bring the UI over. It needs some CSS tweaks to look pretty again, but the rest "just works".

Re:JQuery Mobile 1.1.0 RC1 by wvenable on Tuesday February 28, 2012 @05:42PM (#3645408)
I quickly build a mobile web app using jQuery Mobile and re-used a lot of code and functionality from our desktop web app. I had to disable some jQuery Mobile functionality but I had something working in less than a week. This wouldn't have been possible if jQuery mobile isn't just a wrapper over HTML and JavaScript.