samanime — 2012-01-03T20:21:01-05:00 — #1
I was browsing around and I came across jQuery Mobile: http://jquerymobile.com/
Are they branching jQuery to work with mobile? I thought that the basic jQuery worked pretty well with mobile already. Does this mean that we are going to have to pick and choose when we design a site to work across all of them?
force — 2012-01-03T21:24:08-05:00 — #2
I was under the impression that the UI elements and themes were the main differences, while most of the library code was still the same.
oddz — 2012-01-03T22:21:30-05:00 — #3
jQuery mobile can be thought of as an add-on to jQuery that given *slight modification to an existing site can provide an experience *similar to a native app via the use the AJAX and animation. That is really all it is. The goal of jQuery mobile is provide an "app like" experience with as little work as possible to an existing desktop site. By "app like" I would be referring to design, eliminating page refreshes and providing animations when changing between "pages". That pretty much sums up jQuery mobile in a nutshell.
aussiejohn — 2012-01-03T23:28:04-05:00 — #4
Yup, it does
jQuery Mobile is a little like jQuery UI in that regard, except optimised for a mobile experience of course.
I've just built my first jQuery Mobile website a few weeks ago. TBH, I felt like I could have probably done without it as I didn't really use it with any of the UI widgets that it comes with, but it was good to have a play with it anyway.
For the next mobile web-app I build I would probably be tempted to delve into [Sencha Touch or [URL="http://jqtouch.com/"]jqTouch](http://www.sencha.com/products/touch) to see what they are like.
oddz — 2012-01-04T00:13:03-05:00 — #5
aussiejohn — 2012-01-04T02:20:36-05:00 — #6
Yeah absolutely, and this is also one of the reasons that I haven't used it before as I'm much more of a Progressive Enhancement fan... and having all the markup generated in JS kind of bugs me.
And dev time would probably be a lot less on jQuery Mobile for smaller projects.
From my experience jQ Mobile was a bit more of a run-and-go scenario. I kind of feel like I should build an app in Sencha so I have a fair basis for comparison
@oddz: do you have experience with jqTouch as well?
samanime — 2012-01-04T10:59:43-05:00 — #7
Thanks for the replies everyone.
So, to clarify, if I were to use jQuery Mobile, I would put it in the page along (and after) jQuery itself, right?
Sounds like I have some experimenting to do. =p
aussiejohn — 2012-01-04T15:38:54-05:00 — #8
You would use it in the same manner as you would jQuery UI or jQuery plugins in that regard.
samanime — 2012-01-05T11:52:15-05:00 — #9
So, I've been playing with jQuery Mobile, and it is essentially a UI as others described. Basically if you use certain elements with certain attributes, it gets a specific look without having to write any JS or CSS.
aussiejohn — 2012-01-05T15:36:22-05:00 — #10
Though I must say I didn't use their theme CSS last time I used jQuery Mobile, it didn't really suit my needs, I was essentially only interested in the JS and core CSS framework part of it. Kind of looking forward to building a "real" web app where I can use jQM to a more fuller extent.
oddz — 2012-01-05T20:14:43-05:00 — #11
The one issue I always ran into in the beta stage a couple months ago is that after say 20 or so page changes the entire application would crash with jQuery Mobile. I'm not sue if it was just because of the large data sets I was working with or what but that is the reason I left it behind. Though it is the very first thing I looked at when working on a past project.
I recall attempting to use it but didn't get to far. I was going to use it to normalize the touch events but I quickly found out that it is very unreliable. That was about six months ago so perhaps it has gotten better with new releases.
kgun — 2012-01-07T01:39:30-05:00 — #12
I wrote about that library Thu May 12, 2011 5:51 pm on my Bulletin Board:
under the heading: 3. jQuery mobile
Perhaps a little off topic, but while I searched for information about building "mobile" web sites, I found this thread and a short article http://www.ericewe.com/online-marketing/six-easy-ways-to-make-your-website-mobile-friendly/ written by Eric Ewe. I highly reccomend the SitePoint book:
You find additional resources on my Bulletin Board: