My new article on JS oddities and well-kept secrets
My third article for Smashing Magazine went live yesterday, titled "Ten Oddities And Secrets About JavaScript".
It looks at things that are either weird or less known in the world's strangest programming language. I've covered a few of them in posts on here, such as self-executing functions, replace() taking a callback function, and the concept of truthy/falsy.
Others include null being an object, and undefined being definable. Check out the full article for more.
3 comments | post newNew Smashing article by me on image manip
Those nice guys at Smashing Magazine have just posted up my latest article for them, on image manipulation in jQuery and PHP.
It serves to highlight just how well PHP (specifically, its GD library) and Javascript go together in forming interactive web aps.
Short of a little flaming for my less-than-superb filetype verification technique in the PHP, the article has been generally well received.
post a commentSmashing jQuery out now (I was technical editor...)
Following the article I wrote for Smashing Magazine last year, I was approached by their publishers, Wiley, to act as technical editor for their forthcoming book, Smashing jQuery.
This has just been published, and is .
It's aimed at beginners to intermediate jQuery users and covers pretty much everything, from the basics - selectors, chaining etc - to more intermediate topics such as event handling and AJAX.
Speaking of Smashing magazine, look out for another article of mine shortly to be published on their website. It will be a tutorial on building an image manipulation tool using a mixture of jQuery and PHP.
post a commentjQuery article by Mitya on SmashingMagazine.com
jQuery article by Mitya on SmashingMagazine.com
The popular dev and design site SmashingMagazine.com has published the first in a series of articles I'll be writing for them, this one entitled Commonly Confused Bits of jQuery.
It looks at 8 situations, involving commonly-used jQuery methods, and highlights the differences and nuances between them (some of which are not well known) and which to use in certain situations.
So did you know that, in IE, css('width') / css('height') returns 'auto' on elements that don't have dimensions implicitly set? Or that closest() begins upwards traversal starting from the element itself, not from its parent?
2 comments | post new