FREN

#FF00AA


29 nov. 2009

jQTouch

A jQuery plugin for mobile web development on the iPhone, iPod Touch, and other forward-thinking devices.

I haven’t looked at the kind of code it makes you write but, hey, it’s jQuery — and, more importantly, the performance is impressive, even on my old iPhone 3G (i.e., the oldest generation of CPUs). I guess one can thank the 3D CSS transforms in WebKit.

Want to know when I post new content to my blog? It's a simple as registering for free to an RSS aggregator (Feedly, NewsBlur, Inoreader, …) and adding www.ff00aa.com to your feeds (or www.garoo.net if you want to subscribe to all my topics). We don't need newsletters, and we don't need Twitter; RSS still exists.

ludo, 5 years ago:

is it a plugin for web pages?
is it something you can use to build a regular app based on web kit, with no objective-C code?
both?

garoo, 5 years ago:

What, you don't know what jQuery is?
jQuery is a (great) framework for developing web pages/apps, so a jQuery plugin plugs into that to help you develop more specific aspects of web pages/apps :)

ludo, 5 years ago:

I guess I was disturbed by the demo on the jqtouch page ;-) in fact my question should have been, regardless of the use of jquery:
can you make an app (to install) with no objective-C code, but with an UI that rocks (like the one demoed on jqtouch?)

garoo, 5 years ago:

You can make an "app" with the jQTouch UI, that installs into the iPhone's Springboard, and runs as a dedicated app rather than opening as a tab in Safari. (Yesterday I hacked a script on garoo.net to have Google Reader and Google Tasks open as apps instead of as tabs. Not publicizing it because no matter how much I try to cache it, it still contacts my web server every time I open it.)

ludo, 5 years ago:

on the JQTouch UI demo, it seems to reach localhost from time to time: could that technique (an embbedded server?) be used to prevent external web server access?

NoPicNoDial for iPhone: could have been done that way, pure web app?

garoo, 5 years ago:

Don't know why they'd contact localhost. Don't think it would work as a hack, because MobSafari is supposedly very specific about the way the cache manifest is supposed to look for it to work. (I managed to cache everything but the cache manifest, which WebKit seems to query for changes every time the webapp is launched. Makes sense, and kinda makes sense that you wouldn't be able to circumvent it.)

There were two issues for NPND: geolocation (which is now available in Safari, but wasn't then), and file upload. Can't make a chat that has no simple mechanism for uploading profile photos, and so far there's (maddeningly) still no support for file upload in Safari. Or in other mobile WebKit browsers for that matter, AFAIK.

ludo, 5 years ago:

what is your concern with the manifest file being downloaded everytime when online?

safari w/o file upload: ruins the whole concept... what app doesn't need to upload something at some point? what's the rationale, if any??

garoo, 5 years ago:

Well, I wanted to publicize my page as an app that transform any website into a Springboard app that bypasses Safari (I hate that every time I open Reader or Tasks, it then remains as an open tab whenever I go into Safari, that's my bit of OCD), but I don't wanna do that if it's going to contact my server every time every user launches an app shortcut he made with it. (I can give the URL to people I know in private, though.)

I really don't know why Mobile Safari doesn't do file upload, have been wondering for two years now.

Legal information: This blog is hosted par OVH, 2 rue Kellermann, 59100 Roubaix, France, www.ovhcloud.com.

Personal data about this blog's readers are not used nor transmitted to third-parties. Comment authors can request their deletion by e-mail.

All contents © the author or quoted under fair use.