サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
iPhone 16
www.dustindiaz.com
This evening after tooling around with trying to optimize bits and pieces from a recently formed project ($script.js – async JS loader & dependency manager), I decided to look further into shortening the DOMReady code – since part of the goal is to have the smallest amount of code possible. So… I tweeted my efforts totaling 87 characters. Eventually a few responses came in. Like changing regex to
God forbid a JS utility suffixed with ‘another’ in the title. But there was no other option. Thus introducing $script.js: an asynchronous JavaScript loader and dependency manager with an astonishingly impressive lightweight footprint of only 643 BYTES! (yes, you read that correctly). Like many other script loaders, $script.js allows you to load script resources on-demand from any URL and not block
Every developer knows the importance of caching. From end to end you have caching on the backend (memcached, xcache, etc.) to prevent your databases being lit on fire, edge caching on content delivery networks (CDN’s) in hopes that your browser will cache assets it sees more than once. And of course client-side caching so you don’t repeat expensive operations (albeit algorithmically or high volume
./with Imagination A JavaScript, CSS, XHTML web log focusing on usability and accessibility by Dustin Diaz Sunday, May 28th, 2006 By now anyone who spent at least one week of learning JavaScript in their life, they know about events. Although they may not exactly know all of them or how to make them do something upon them firing, we should all indeed know of the select few like click, dblclick, m
./with Imagination A JavaScript, CSS, XHTML web log focusing on usability and accessibility by Dustin Diaz Wednesday, September 21st, 2005 I’ve never been one too keen Grey’s css min-height hack, mainly because of the bulky workaround in your html. Sure hacks can cause bulkier CSS, but I’m ok with that. The problem with Grey’s is that it’s not only a ‘CSS‘ hack (which I’m totally fine with), but
./with Imagination A JavaScript, CSS, XHTML web log focusing on usability and accessibility by Dustin Diaz Sunday, February 25th, 2007 Currying in JavaScript, in my own opinion, leads to clever programming. It is also one of the places in JavaScript where functional programming wins over object oriented practices. Sometime last year Dan Webb wrote a post on callbacks and partial application which
./with Imagination A JavaScript, CSS, XHTML web log focusing on usability and accessibility by Dustin Diaz Tuesday, May 16th, 2006 It started with a challenge. The other day as my coworkers and I were walking to lunch one of them told a story about an interview question he was once asked. That question was How long would it take for you to make a tetris game using any language of your choice? He
./with Imagination A JavaScript, CSS, XHTML web log focusing on usability and accessibility by Dustin Diaz Monday, April 24th, 2006 Perhaps a very uncommon approach to developing web applications that require JavaScript (but should be more common) is namespacing your scripts. This can be done very simple-like in a manner that is painless and nice-looking. And I know “looking-nice” should generall
./with Imagination A JavaScript, CSS, XHTML web log focusing on usability and accessibility by Dustin Diaz Thursday, March 30th, 2006 Update!! // Some where along the lines the is_naked_day function wasn’t working across all PHP configurations. There is now an updated naked_day function which is recommended for you to use That’s right, I’m starting the first annual CSS Naked Day. In the spirit of
Heyo,My name is Dustin Diaz. Runner, and President at Agent. Previously: Software Engineer at Yahoo, Google, and early employee at Twitter. Co-founding Engineer at Medium. Architect at Change.org. And Cofounder of Mix.com. Here's some links to some things: StravaTwitterInstagramGithub JavaScript Design PatternsJavaScript is a hugely popular language for adding dynamic functionality to web pages, a
./with Imagination A JavaScript, CSS, XHTML web log focusing on usability and accessibility by Dustin Diaz Wednesday, March 1st, 2006 After spending a few hours getting comfortable with Yahoo!’s new Event utility that was recently released along with many other sweet tools via YUIBlog, I became convinced that it is the dopest, sweetest, most tight, most sexiest event utility on the planet. With a
./with Imagination A JavaScript, CSS, XHTML web log focusing on usability and accessibility by Dustin Diaz Sunday, February 19th, 2006 Your co-workers will love you for writing in JSON because it will most likely not conflict with their scripts that are being called within the same web documents. For Many Years… JavaScript has been portrayed as a very ugly language. It’s been abused, misunderstoo
./with Imagination A JavaScript, CSS, XHTML web log focusing on usability and accessibility by Dustin Diaz Friday, February 10th, 2006 There are litterally an unlimitted number of ways to toggle an element’s display with JavaScript. Some, more useful than others. Dating back to the late nineties, toggling is perhaps the oldest trick in the book within JavaScript development. However, to this day,
./with Imagination A JavaScript, CSS, XHTML web log focusing on usability and accessibility by Dustin Diaz Tuesday, November 29th, 2005 UPDATE: For anyone who lands on this article months after the fact, there is now a podcast entry about this article reviewing each and every function. If there was ever a universal common.js shared among the entire develosphere, you’d fine these ten (plus one bon
./with Imagination A JavaScript, CSS, XHTML web log focusing on usability and accessibility by Dustin Diaz Thursday, February 2nd, 2006 I’ve been meaning to get to this for quite some time… so without further waiting… Introducing Sweet Titles 1.0 Final In this final release I have changed the file names to give it a fresh start. It remains having only three files: sweetTitles.css addEvent.js swee
./with Imagination A JavaScript, CSS, XHTML web log focusing on usability and accessibility by Dustin Diaz Monday, July 25th, 2005 Introducing Dustin’s Ajax Contact Form Download Ajax Contact 0.9 It’s a bit over the top… well… for a contact form that is. But yesterday morning I decided that I wanted to have a little fun so I put together an unobtrusive AJAX contact form (works even with JavaScri
./with Imagination A JavaScript, CSS, XHTML web log focusing on usability and accessibility by Dustin Diaz Sunday, October 23rd, 2005 Ok. Let’s set the record straight. There is no official guide for each and every CSS shorthand property value. So let’s work together and put one together shall we? Ok. Straight to the business. Anytime I’ve ran into a specification (besides the confusing mess at t
./with Imagination A JavaScript, CSS, XHTML web log focusing on usability and accessibility by Dustin Diaz Tuesday, August 30th, 2005 Introducing: Sweet Titles No. It’s not a knock-off from NICE Titles nor is it trying to improve on Dunstan’s revised attempt. And it most definitely isn’t ripped from one of those event-handler infested scripts from Dynamic Drive No. It’s none of those. Instead I h
このページを最初にブックマークしてみませんか?
『Dustin Diaz: It’s his website』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く