aspose file tools
The moose likes HTML, CSS and JavaScript and the fly likes mobile jquery Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply Bookmark "mobile jquery" Watch "mobile jquery" New topic
Author

mobile jquery

Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 26193
    
  66

I learned there was a "mobile jQuery" for the first time when reading Murach's HTML5/CSS3 book. One of the things to consider on mobile pages is using less bandwidth. However, jQuery isn't known for being small. How do you reconcile these two ends? Or is it that jQuery is cached so it becomes a non-issue.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56204
    
  13

It's usually recommended to reference jQuery, mobile or otherwise, from a CDN so that there's a good chance that it's already been cached by another site. But even when not, with caching, the pain should only be felt once. And every effort is made to make jQuery as small as possible. And referencing the minified version helps as well.


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
Zak Ruvalcaba
author
Greenhorn

Joined: Feb 08, 2012
Posts: 12
Bear Bibeault wrote:It's usually recommended to reference jQuery, mobile or otherwise, from a CDN so that there's a good chance that it's already been cached by another site. But even when not, with caching, the pain should only be felt once. And every effort is made to make jQuery as small as possible. And referencing the minified version helps as well.


Agreed. Referencing the library from the CDN definitely helps and like Bear explains...the only real issue is the initial load on the main page. Last time I checked the minified version of the jQuery Mobile library is only 24K. That's hardly a size to think twice about...even for mobile development.

Zak
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: mobile jquery
 
Similar Threads
HTML Page for all mobiles
jQuery mobile and JSON post responses
is there any framwork for mobile development ?
WA #1.....word association
Bumper Sticker item requests