jQuery Mockjax
jQuery Mockjax ( GitHub: appendto / jquery-mockjax , License: MIT or GPL ) by Jonathan Sharp is a library for mocking jQuery's network requests. This can be useful when writing tests. It can mock the same data types that jQuery supports: text, HTML , JSON , JSONP , Script, and XML .
Mocking a request looks a lot like the ajax API :
$ . mockjax ({ url : '/restful/fortune' , responseTime : 750 , responseText …
…Archive, of the world's top 17,000 websites, 48% use jQuery, whereas 47% use Flash
TransformJS is a jQuery plugin for helping with CSS transforms
A Developer's Guide to HTML5 Canvas - quite an extensive guide from Malcolm Sheridan
Javascript Cryptography Considered Harmful
Javascript Finite State Machine
keymaster is a microlibrary …
…jQuery - .toArray() - Shi Chuan has a nice series going that digs deep into jQuery to provide insight into all sorts of little JavaScript tricks.
Nicholas Zakas has been messing around with ES6 proxies to create a DOM builder
Akshell is a JSFiddle-esque JavaScript editor with all sorts of bells and whistles: buttons to preview the code and even commit to Git.
Node.js tidbits
Node Knockout winners have been announced
Keeping "require" …
That means if a framework like jQuery is specified first, then subsequent scripts can safely depend on it being loaded. The downside of this, however, is downloading each of these scripts will block the loading of other page components like images and stylesheets. This can create a noticeable visual delay when the page is loaded.
Using LABjs can solve this problem:
<script type= "text/javascript" > $LAB . script ( "jquery.js" ). wait () . script ( "jquery-ui.js" …
The Boston conference is sold out (thanks everyone!), as is the Intro to jQuery training session, but the requests keep coming! In response to popular demand, we've added a second training scheduled for Friday, September 30th .
The training will focus on HTML5, and be taught by jQuery Core Team Member and Bocoup trainer Richard Worth. The price will be the same $ 299 (which, if you've been paying attention to HTML5 training rates, is a steal!).
Here's some detail from the training description:
It's undefined because jQuery's DOM manipulation methods will return new jQuery objects, not simply a reference to this , which is what we'd really like!
So, to make it a little easier, I created a little thing called jQuery.Interface which does these things for you, enabling you to have beautiful jQuery sub classes.
Subclassing jQuery means that your class' instances can be treated just like jQuery instances. Here's a more realistic potential application …
jQuery 1.6.3 is now out! This is the third minor release on top of jQuery 1.6 and lands a number of fixes for bugs, as listed below.
As usual, we provide two copies of jQuery, one minified and one uncompressed (for debugging or reading).
You can help us by dropping that code into your existing application and letting us know if anything no longer works. Please file a bug and be sure to mention that you're testing against jQuery 1.6.3.
…wears a different mask wherever it rears its head. Here, for example, it's under the guise of jQuery's data API:
var alphabetList = { giveHigher : function ( dom1 , dom2 ) { return $ ( dom1 ) . data ( 'word' ) > $ ( dom2 ) . data ( 'word' ) ? dom1 : dom2 ; } , //... } ;
A shockingly high majority of jQuery.data uses seem to be making the mistake that I've demonstrated.
It's subtle, not easily spotted. Right now, I'm wondering whether or …
…the accessibility world is falling immensely behind. Whilst HTML5 and jQuery tells people to "write less and achieve more" it seems that ARIA roles are ridiculously verbose and rather tough to add. A lot of the needs of mobile and touch interfaces overlap with the needs of disabilities. However, it seems to me there is not enough interest in the a11y world for new technology as it is not proven. Do you find it hard to connect the two?
I'm very far from an accessibility expert, …
High Performance jQuery
Even More Design Reviews
Yes, that's a whole lot to cover! So come and be prepared to have your mind blown (and let me know if there's something else you'd like to learn).
Conclusion
You might have noticed that much of what I listed is not specific to jQuery. It's about building advanced applications with jQuery, not exactly Advanced jQuery. But jQuery supporting this talk means that it takes the challenges we application ( vs …