i am dustin diaz

a JavaScriptr...

boosh.

don't worry about it.

Matador: The Obvious MVC Framework for Node

Wednesday Jan 4 2012

Yeah, there's already other frameworks out there for Node that do some neat things. But today @dustin and myself launched an MVC Framework for Node.js architected to suit MVC enthusiasts. Introducing Matador! Providing sane defaults and a simple development structure, scaling as your application grows. Features a flexible routing system, easy controller mappings, basic request filtering, and a handy scaffolding tool to get up and running quickly. Rather than explaining more here, have a play yourself. Cheers!

 

Sandboxing JavaScript

Tuesday Aug 2 2011

Today I fired off a tweet that in some developers eyes may have been controversial

But to the point, the task at hand I was trying to solve was to bundle a set of core modules built by Ender along side my own library (that uses Ender), and not populate the global space. More after the jump

 

Crouching Ender, hidden command

Saturday Apr 23 2011

For those of you following Ender (the open micro-to-macro API for composing your own custom JavaScript library), today we have a fresh new CLI (command line interface) that will help you manage your Ender packages. It's pretty rad ('cause, you know, we like it) and it makes it extremely useful when maintaining one Ender project, to another. So without further fuss, let's cut this post short and check out this short video composed by everyones favorite JavaScript hipster and core Ender contributor (heh, there's only two of us), @fat.

 

Ender.js - The open submodule library

Tuesday Apr 5 2011

With great excitement it brings me pleasure to announce an all-to-predictable endpoint of recent events ? Ender.js, an open submodule library. Ender is a small yet powerful JavaScript library composed of application agnostic opensource submodules wrapped in a slick intuitive interface. At only 7k Ender.js can help you build anything from small prototypes to providing a solid base for large-scale rich applications.

 

Qwery - The Tiny Selector Engine

Thursday Mar 24 2011

It's true. The world needs another JavaScript DOM Selector Engine. So without further fuss - introducing Qwery - The Tiny Selector Engine. It's a port from where Simon Willison left off with his getElementsBySelector in 2003, and believe it or not, this is exactly where jQuery started.

Qwery supports all the basic CSS1 & CSS2 selectors, plus the additional (most important) attribute selectors from CSS3. Additionally it allows multi-selects (div,p) as well as context-aware selectors (like jQuery.find()).

Last but not least, it's open source awaiting your valuable feedback to make it leaner and faster. There are tests to ensure its integrity, however sans-benchmarks. Although, it should be noted it does support querySelectorAll when available in the browser (to bring 2003 to modern times).

 

Klass

Wednesday Mar 9 2011

The concept of formal classes in JavaScript has led the internet develosphere amuck since the dawn of time day JavaScript was invented. From Crock's explanation on prototypal inheritance to Dean's Base one and two, from Prototype's Class to Mootool's Class, and from debunking objects to getting back to basics, the JavaScript community thrives on systems that help make working with JavaScript classes easier — despite it still being a "classless" language.

Well, I'm here to introduce one more that will keep things simple. More after the break.

 

this is who i am

Hi, my name is Dustin Diaz. Nice to meet you, too. I (actually) build products. Currently founder of an Expa-backed company. Previously @Change, @Medium, @Twitter, @Google, and @Yahoo. I wrote a book called Strobist® Info and was co-author of JavaScript Design Patterns. I co-created the Ender JavaScript Framework, I was an award-winning Photographer, and I pretend to be an amateur Mixologist. Pretend is fun. This is my website. Welcome!

On this site I (used to) write about JavaScript. You can also follow along with my open-source work on Github.

Last but not least, recruiters, you are very kind. I’m not looking for work. Cheers.