aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes jQuery vs MicroJS and the like Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "jQuery vs MicroJS and the like" Watch "jQuery vs MicroJS and the like" New topic
Author

jQuery vs MicroJS and the like

andrew ennamorato
Ranch Hand

Joined: Oct 03, 2007
Posts: 100
jQuery rocks. I think we all know that.

Does the book talk about when it's appropriate to use jQuery & extend it versus writing a microjs lib (or maybe even a Zepto plugin, if that's possible)? Just wondering your take on the idea of small, single responsibility JS libs versus jQuery plugins. Obv, you like extending jQuery enough to write a book about it, but just wondering what thoughts you have or how you choose to approach it.

I've recently written some JS code that works with OpenLayers, the mapping lib. And it could easily be a jQuery plugin - it's just basic boilerplate for working with OL. But maybe it'd be better off as just a little "map helper" lib, a la Mapstraction. Anyway, just an example to discuss if needed.

thanks!
Keith Wood
Author
Ranch Hand

Joined: Aug 28, 2012
Posts: 38

I haven't looked at these other libraries - I've been happy using jQuery since I first discovered it. So, the book doesn't discuss these either - it is for those that want to use jQuery to a greater extent.


Author of the upcoming "Extending jQuery" book from Manning.
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
You can make anything fit into any library, you just personally have to think does it make sense to be done this way?

Eric
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: jQuery vs MicroJS and the like
 
Similar Threads
Why woud you use jQuery
Jquery For struts 1.2?
Looking for jQuery 1.4.2 checkbox plugin compatible with ThemeRoller
Grails and jQuery: how to get image to show that the user just typed in the URL to
Prototype documentation