Reclaiming the URL from ember-data

Posted on

It's great that ember-data 1.0 is coming. It's long overdue. But lest you get lulled into thinking that ember-data 1.0 is a finalized product, it's time to take a step back and look where it's deficient and at everything it's missing. The adapter pattern is amazing. Produce a highly standardized thing (A), provide an interface for connecting it to any other thing (C), and add an easy ability to write an adapter (B) that connects the two. End result? Some serious magic. The new Macbook doesn't have X port A cheap adapter connects you to anything, and in a few years as technology progress…

Read more »

One language to rule them all: a manifesto.

Posted on

Javascript is everywhere. Javascript is the only language that runs in your web browser and on your desktop, your phone, your server, and your Raspberry Pi. Unlike many, I believe Javascript is a beautiful language. I don't believe this because Javascript has numerous weird bugs ..erm "quirks". I don't believe this because I think hoisting, anonymous functions, prototypal inheritance, and loose casting are ideal. I think it's beautiful because the constraints it faces make it stronger. Most languages aren't built with asynchronous behavior in mind. But the nature of the web is that everyt…

Read more »

Stop making your SPA data second class.

Posted on

It's time to rethink client-side data. This is the first in a series of posts about best practices and approaches I've learned while working on cross-platform HTML5 applications with Ember. It takes dedication to craft a user experience in HTML5 that attempts to rival native, and many of the conventional approaches to web applications simply don't translate well to single-page-applications (SPAs) or perform well enough on mobile. When I began building a cross-platform mobile app with Ember, I already had one large and several small Ember applications under my belt. I felt I had a pretty good…

Read more »