Posts Tagged ‘jquery’

Links for June the Second, 2009

Tuesday, June 2nd, 2009
  • 1 line CSS Grid Frame­work — Dis­till­ing a CSS frame­work into one line is an inter­est­ing exper­i­ment, in that it shows essen­tially what all of the other (big­ger than one line) frame­works are doing. Also, if you look at the markup of a site that was built using it, it serves as a pretty good reduc­tio ad absur­dum against CSS frameworks.
  • jQuery Per­for­mance Rules — A use­ful col­lec­tion of best prac­tices that can speed up your jQuery code by non-trivial amounts. I’ll admit that I’m often guilty of stick­ing the bulk of my code inside of $(function(){...}).
  • jQuery: Inline caching for selec­tors — If you’re tak­ing the advice of the arti­cle linked above and caching your jQuery objects, take a look at this tech­nique for keep­ing those cached objects avail­able through­out your app with­out pol­lut­ing the global name­space (hint: it uses closures).
  • Procs And Blocks And Anony­mous Func­tions — Speak­ing of clo­sures, this is a decent run­down of the var­i­ous uses of clo­sures in Ruby.

What I’m Reading: 3/28

Friday, March 28th, 2008
  1. It’s Not a League of Their Own: Boston Dirt Dogs has an excerpt from the 2008 Red Sox Annual in which the authors size up the Sox’ com­pe­ti­tion in the Amer­i­can League. On the whole, it’s pretty inter­est­ing I guess, but the best part is that the sec­tion on the Ori­oles is just one long ref­er­ence to The Wire. And if you read a lit­tle fur­ther down there’s another Wire ref­er­ence that’s mas­querad­ing as a pithy state­ment about the eco­nom­ics behind your brand new Tampa Bay Devil Rays:

    My eco­nom­ics are rusty, but when you have an infe­rior prod­uct in a sat­u­rated, inelas­tic mar­ket, one strat­egy is to re-brand the prod­uct. There­fore, exit the Devil, and their aqua uni­forms, to be replaced by the San Diego Padres kits with blue replac­ing sand brown.

    Stringer Bell is alive and well in the sports pages, folks.

  2. WebKit gets 100% on Acid3: “Yesterday’s news” you say? Nope. The news today is about Webkit/GTK. Awe­some news for us LXers. Also, def­i­nitely take a look at this account of the main Webkit team’s road to 100/100. It’s got some fun insights for spec­ta­tors of the race between Webkit and Opera for full Acid3 com­pli­ance. And for some (prob­a­bly much-needed) per­spec­tive, here’s one Mozilla-er’s take on the Acid3 arms race.
  3. JavaScript Talk at North­east­ern: It’s a video of John Resig’s recent talk at North­east­ern on Javascript and jQuery. What are you still doing here?

What I’m Reading: 3/20

Thursday, March 20th, 2008
  1. CSS Styled Scroll­bars With Mootools and JQuery: Cur­rently, only the IEs sup­port the styling of scroll­bars with CSS alone (although scroll­bar styles are part of CSS3). This post links to a cou­ple of Javascript-library-based tech­niques to get the job done in the meantime.
  2. Mak­ing ‘IE6-friendly’ PNG8 Images: Turns out our beloved hack to get trans­par­ent PNG32s in IE6 can some­times crash the browser. To play it safe and ensure crash-free view­ing of your site, it’s prob­a­bly best to use PNG8 until IE6 is no longer a fac­tor (some­day, «ras­safrackin…»). This post gives you some tech­niques to make your PNG8 graph­ics almost as use­ful as PNG32s.