SitePoint Sponsor

User Tag List

Results 1 to 4 of 4

Thread: Jquery on ipad

  1. #1
    SitePoint Zealot
    Join Date
    Sep 2008
    Location
    Bristol ,England
    Posts
    177
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Jquery on ipad

    Just wandering if anyone knows in terms of speed how a jquery runs on the ipad, I have heard that it can be quite slow.

  2. #2
    Community Advisor silver trophy

    Join Date
    Nov 2006
    Location
    UK
    Posts
    2,521
    Mentioned
    37 Post(s)
    Tagged
    1 Thread(s)
    I've seen a few heavy jquery type pages grind to an occassional halt on an ipad, definitely worth considering optimising using something less heavy
    Might be worth checking out mQuery, xuijs, and I think jQuery themselves are due out soon with a mobile optimised version

  3. #3
    Follow: @AlexDawsonUK silver trophybronze trophy AlexDawson's Avatar
    Join Date
    Feb 2009
    Location
    England, UK
    Posts
    8,111
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)
    jQuery itself isn't too process intensive, it's really down to the efficiency of the scripts people use and build using the framework.

  4. #4
    SitePoint Wizard bronze trophy
    Join Date
    Jul 2006
    Location
    Augusta, Georgia, United States
    Posts
    4,052
    Mentioned
    16 Post(s)
    Tagged
    3 Thread(s)
    Sizzle provides a nice way to locate nodes using CSS selectors, but by nature its a resource intensive monster. Therefore the main concept of JQuery prompts poor design in terms of efficiency (among other things). I haven't worked with JQuery to long, but looking at the sizzle engine, its will almost always be more efficient to use fundamental JavaScript to get nodes over the sizzle engine. It seems like that is were a majority of the bottleneck would lye. The "syntax" JQuery makes possible is nice, but it makes many sacrifices to do so.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •