Rob Tarr ran some benchmarks to prove the claim that chaining jQuery selector methods is faster than placing them all in a single method call.
Monthly Archives: January 2012
Placing Snippets in a Functionality Plugin Instead of Theme
Dave Clements has a great suggestion for adding snippets to a WordPress site in a way that will preserve them between theme changes: create a simple functionality plugin.
Why “Click Here” is A Bad Practice
Using “click here” as anchor text is considered a bad practice because it doesn’t tell the user what the link will direct them to by itself, without users having to read the surrounding text; because “clicking” is irrelevant in many situations (assistive devices, smartphones, etc); and because it is meaningless to search engines indexing the page.
Scaling WordPress Installations
TJ Stein gave a really good presentation at WordCamp Chicago 2011 about scaling and performance issues with WordPress installations. He focuses a lot on using ngnix instead of Apache, but also covers PHP object caching, Varnish, CDNs, benchmarking, etc. It’s a good overview of current practices, but there’s also a lot of specific tips throughout.
Rejecting Small Font Sizes
D Bnonn Tennant makes a good case for using larger font sizes, although I would probably vote for 14 pixels instead of 16. And of course it should be set in em’s instead of pixels.
Passing Extra Arguments to a jQuery Event Handler
This Fiddle shows how to pass extra parameters to an event handler function in jQuery.