Hey guys. Welcome to another issue of Spotlight – a weekly post where I’ll be highlighting some of the articles and videos posted by the community lately which you might find beneficial.
Before we get started, I’d just like to remind everyone that jQuery 1.5 beta is currently out and the team are hoping to finalize an RC in the next few days/week. If you have a chance to spend some time testing it out we would appreciate any feedback or bug reports. These always help the team ensure the release is as stable as possible. Look out for new features coming to the RC like the final version of Deferreds which we summarized here (and which Rebecca Murphy discusses here) as well as subclassing.
On to this week’s recommended reading and viewing!
If you missed Paul’s excellent talk on the jQuery source from a few months ago, you’ll be happy to know that he’s recorded a new update which now covers operator precedence, cssHooks (which you can learn more about over at Brandon Aaron’s github repo) and a few other nicities. I was pleasantly surprised to hear that Ben Alman’s Immediately-Invoked Function Expressions (IIFE)’s got a mention too but the video is certainly worth a watch if you can spare a half hour.
PS: Paul also recently did a talk with the SitePoint podcast team about the ‘undetectables’ – it’s got some interesting insights into Modernzir and comes with both the audio and a transcription. Check it out here.
You may have read some tweets that mentioned the Twitter UI was performing significantly slower than usual over the past week. The reason for this could be narrowed down to two things: 1) They had upgraded to jQuery 1.4.4 and 2) They were approaching how they handled attaching handlers to the window scroll event poorly. At it’s core there was nothing really wrong with jQuery 1.4.4 however, a performance regression linked to some improvements we made in 1.4.3 caused a particular selector to slow down. Twitter were using this and John goes into detail on how we’re tackling this problem as well as mentioning some recommendations that you might also find helpful.
I’ll be taking you through lots of exciting news about jQuery UI over on jquery.com in a week or two, but today the jQuery UI team are happy to announce the ninth maintenance release for 1.8 which features a number of bug fixes. Language support has improved for Datepicker but on the whole the team’s efforts with this version have been focused on stability. If you’re interested in trying out some in-dev work, I’d just like to remind everyone that the jQuery UI 1.9 milestones releases are also available for testing. You probably wouldn’t use these in production just yet but they’re a great way to find out whats coming next.
jQuery View is a new project that comfortably works with routing and Backbone to provide a neat class and inheritance system for templates which some developers might find useful. It supports subclassing along with a few other features but if you decide to use it do check out the annotated examples as these will save you some time figuring out the setup.
A lot of people have been speaking to me about jQuery Mobile tutorials lately and (love em or hate em) NetTuts have had some quite detailed rundowns of building mobile apps from scratch. This new tutorial from Konur Unyelioglu covers everything from initial design considerations to building/fleshing out the fully functional app and also shows you one of the key advantages jQ Mobile has to offer – consistant user experiences across different devices. Definitely recommended for anyone venturing into creating mobile apps soon.
Fundamentals for jQuery Development – a terrific intro for beginners by Damian Edwards
Other Posts Of Interest
- Important new features coming to Webkit including CSS variables and mixins (btw, if you don’t want to worry about mixins yourself you can always check out http://beta.compass-style.org/reference/compass/css3/)
- Ben Alman updated his pub/sub implementation for jQuery (github gist)
- Bug Tracker Short URLs you may not be aware of (by @paul_irish)
- Perfection Kills – A closer look at expression closures by Kangax (via @codylindley)