Mr Speaker

jQuery 1.4 iPhone reference app

[English got you down? Try this post in Belorussian!]

jQuery 1.4 reference appWelcome to the year twenty hundred and ten! As a very early christmas present, the jQuery team have announced they'll be dropping the 1.4 release on us in the next couple of days. They've also unveiled a new documentation effort.

To help you get your head around the reams of new information, I've created a neat-o reference app for your iPhone - so now you've got no excuse not to know what jQuery.noop, .nextUntil(), or .unwrap() does!

To install it, go here on your iPhone then click "+" and "Add to Home Screen" for fullscreen app-y goodness.

Please note! there are about 350 files to download, so installing will take a couple of minutes - and during those couple of minutes you can't let your phone fall asleep else Freddy will come your phone's WiFi will turn off and the files won't be cached.

The application uses the jQuery touch plugin to appear all native-y, and the offline abilities of HTML5 to store the data for when you feel like reading jQuery docs on the bus.

The material is taken from the new docs - which are being changed a lot at the moment, so I'll update this thing again when it all settles down a bit (I won't be doing constant updates, because I don't think you can invalidate individual files in the cache manifest, so you have to get all 350 files again for any changes).

I'm sure that at the moment some methods that will be missing or incomplete - because of my dodgy parsing, changing docs, and poor QA skills... fixed in the next version fo' sure ;)

That's it... go to http://www.mrspeaker.net/dev/jq/ref/ on your iPhone then click the "+" button and "Add to Home Screen" to install.

28 Comments

  1. You are very handsome and clever.

    Thursday, January 14, 2010 at 10:40 am | Permalink
  2. Lachlan is partially correct!
    This is tops, thank you.

    Thursday, January 14, 2010 at 11:06 am | Permalink
  3. Regarding invalidation of individual cache manifest items, you’re right that it’s not possible. However, if you update the manifest to trigger a cache update, HTTP caching semantics (such as expiration & ETags) will be respected for each item in the manifest. So ensure that your server is configured correctly and you should be fine.

    Thursday, January 14, 2010 at 3:26 pm | Permalink
  4. Ace!

    Thursday, January 14, 2010 at 9:40 pm | Permalink
  5. This is really handy. Thank you kindly.

    Friday, January 15, 2010 at 1:57 am | Permalink
  6. Awesome! Thanks for your work.

    Jquery rocks :)
    http://amplicate.com/rocks/jquery

    Friday, January 15, 2010 at 4:32 am | Permalink
  7. Sweet!

    Friday, January 15, 2010 at 7:22 am | Permalink
  8. Great job on the app!

    Just FYI – something on the info page for the app is overflowing x, which allows left/right scrolling. box-shadow is often the culprit for this sort of thing, but I didn’t check your code…

    Best,
    j

    Friday, January 15, 2010 at 7:23 am | Permalink
  9. But for the really annoying alert when I enter the page, this works perfectly on my Nokia n900. How about calling it a mobile reference and make it truly X-platform? That should not take more than a few minutes, and would show support for the open web and all that.

    Saturday, January 16, 2010 at 12:57 am | Permalink
  10. this is marvelous, thank you!

    Saturday, January 16, 2010 at 2:03 am | Permalink
  11. This is pretty cool, I like how it saves for offline view etc..

    Might I suggest adding example code to functions?

    Saturday, January 16, 2010 at 2:05 am | Permalink
  12. N, there is.. lol

    Saturday, January 16, 2010 at 2:06 am | Permalink
  13. This is wonderful, and looks fantastic, too! Great work!

    Also, the page renders and works without any issues with the built-in Browser on my Nexus One, more than likely due to it being built with Webkit as well. I second the pop-up removal, too, please :D

    Saturday, January 16, 2010 at 2:17 am | Permalink
  14. hey,

    this is super cool….i want to know what it involves to make such quick app.

    on a side note, i have a web application that i want people to use exactly like this reference.

    can you pl help me???

    Thanks in advance.
    Sawan

    Saturday, January 16, 2010 at 2:45 am | Permalink
  15. awesome!
    It’s so cool!

    Monday, January 18, 2010 at 10:51 pm | Permalink
  16. Here’s another N900 user saying ‘ditto’ to Lars’ request for a slightly more generic approach. Great App.

    Wednesday, January 20, 2010 at 5:00 am | Permalink
  17. hi :/

    Not having much luck getting this to work.
    I’ve given it plenty of time over 3g and wifi but im getting no love and i’ve not let the phone fall asleep.

    iphone 3.0

    Thanks for the hard workd

    Thursday, January 21, 2010 at 2:17 am | Permalink
  18. opps – had javascript turned off – :D
    app is great !

    Thursday, January 21, 2010 at 2:25 am | Permalink
  19. Cool as a cool thing!

    Friday, January 22, 2010 at 5:11 pm | Permalink
  20. Excellent, cheers chief

    Friday, January 29, 2010 at 1:46 am | Permalink
  21. Looks great, but I can’t get it to work on my Palm Pre’s browser. :-(

    Thursday, February 4, 2010 at 4:17 am | Permalink
  22. This is great. You should make this into a native app using PhoneGap or Appcelerator Titanium :D

    Friday, February 5, 2010 at 6:31 am | Permalink
  23. A search would also be nice.

    Friday, February 5, 2010 at 6:33 am | Permalink
  24. love the reference, very clean interface. Any plans to add a search interface?

    Also, would be cool to see this as an app using something like PhoneGap!

    ~ Mike

    Tuesday, March 2, 2010 at 4:01 am | Permalink
  25. Don’t suppose you could add a jQTouch shoutout to the description?

    Wednesday, March 10, 2010 at 4:51 am | Permalink
  26. I’m really stoked on this reference. Would it be easy to start porting other references to the iPhone in this fashion? For example, PHP, the iPhone SDK, etc…? Maybe it could convert doxygen comments to this format.

    Regardless, thanks a million for your hard work. This is great.

    Tuesday, April 13, 2010 at 9:03 am | Permalink
  27. Hallo, I added the app on home. But after start and showing the splash screen the app crashed. I’m on iOS4

    Thursday, June 24, 2010 at 5:28 am | Permalink
  28. I’ll check it on a iOS4 phone as soon as I can!

    Friday, June 25, 2010 at 5:51 am | Permalink
Captcha! Please type 'radical' here: *
How did you find this thingo? *