Home & blog  /  Tag: help  /

My new article on JS oddities and well-kept secrets

posted: 31 May '11 10:15 tags: article, smashingmagazine, javascript, help

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 new

New Smashing article by me on image manip

posted: 12 Apr '11 09:47 tags: article, smashingmagazine, jquery, help

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.

You can read it over here.

post a comment

jQuery article by Mitya on SmashingMagazine.com

posted: 10 Aug '10 09:51 tags: article, smashingmagazine, jquery, help

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?

You can check it out here.

2 comments | post new