Win a copy of Securing DevOps this week in the Security forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Head First HTML 5: Overlap between HTML 5 and jQuery and MooTools  RSS feed

 
Ranch Hand
Posts: 39
Java jQuery Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How much do new features introduced in HTML 5 overlap with features jQuery and MooTools? Which parts of these libraries, such as jQuery animation, do you see HTML 5 features will replace?

Thanks
 
author
Ranch Hand
Posts: 173
6
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Alec,
I think that jQuery and other similar JS libraries will continue to augment HTML5 application building. These libraries give you a higher level interface to not only structure your code, but do things like "fade" an element, or animate an element. The main feature that might get "replaced" is drag-n-drop, but I'd bet that jQuery will update and provide a variety of ways to make it easier, so even there, it will continue to augment.

Doing animation in HTML5 - whether you're moving an element around, or creating animations in canvas or SVG, is still a lot of hard work. The APIs are fairly low-level, so there will continue to be room for libraries like jQuery, and many others - like paper.js, processing.js, and three.js - that focus on animation in particular, to make the job of creating animations in HTML5 easier.

Elisabeth
 
Alec Swan
Ranch Hand
Posts: 39
Java jQuery Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Elisabeth,

I expected that some things will still be easier to do with 3-rd party tools than HTML 5. Does the book provide recommendations on when to use HTML 5 and when to use other tools to implement a certain functionality or does the book focus exclusively on how to do things with HTML 5?

Thanks,

Alec

 
Elisabeth Robson
author
Ranch Hand
Posts: 173
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Alec,
We don't really talk about other libraries at all, except for a bit of Modernizr (which you can use to test for HTML5 features to provide graceful degradation).

I think it's good to know how things work under the covers, and particularly in the case of say, canvas, which will be fairly hard to program using only the HTML5 API, go out and find good tools to help you!

Elisabeth
 
He's my best friend. Not yours. Mine. You can have this tiny ad:
Thread Boost - a very different sort of advertising
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!