File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

jQuery vs MicroJS and the like

 
andrew ennamorato
Ranch Hand
Posts: 100
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 38
jQuery
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can make anything fit into any library, you just personally have to think does it make sense to be done this way?

Eric
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic