Thursday, July 3, 2014

Sweet.js readtables and JSX macros

James Long implemented a JSX compiler using Sweet.js macros. Very neat. I can probably port it to work with Mithril as well.

Tuesday, May 20, 2014

Lessons learned from Angular

I just realized that I completely forgot to announce here that I posted this article about lessons learned from Angular on the Mithril Blog.


There, I talk about some of the rationales for why Mithril templates are designed the way they are, and what makes them so powerful.

Wednesday, May 14, 2014

An exercise in awesomeness

I wrote a follow-up article to James Long's fantastic Removing user interface complexity article, where I ported some of the code examples to Mithril.


HN post

Tuesday, April 29, 2014

JS animations are cool again

A while back GSAP made a (at the time controversial) claim that JS-based animations are actually as fast as CSS based ones (if not faster). It's just jQuery that is slow.

Now, there's Velocity.js, which brings that GSAP-like speed back to the world of jQuery.

What GSAP showed us is that Javascript animations can be really powerful (or as it advertises, "impossible w/ CSS3"). A similar trend is that of constraint-based layout engines popping up. In the Mithril blog and docs, I've been talking about the expressive power of Javascript in the context of data binding engines and template componentization (something that has been generally in the domain of the HTML language) and this same expressive power is starting to flourish in the styling and flair arena.

It's really looking like Javascript is taking the reins away from CSS. I like this trend.

Monday, April 28, 2014