How to Write Unfancy Web Apps

Ever since the advent of HTML5 and ES6, the web is moving forward at the speed of the Millennium Falcon.

While the world was still in awe at Angular’s superpowers, the React phenomenon happened. And while the average corporate Java dev gets over the overwhelming pace of events, Angular2 and Polymer will be ready to refill their pile of things to be amazed at.

And that is a good thing. It means better APIs, better developer ergonomics, and most importantly, better resulting products.

However, sometimes people forget that they do not need a Batmobile to get to the grocery store. When you’re building a simple web app that does one small thing, you do not need an MV* framework, with a component-driven view layer, powered by a Swiss Army CSS Toolkit. All you need is the bare minimum abstraction, just enough to save you from the nitty-gritty of the raw JavaScript and CSS. Continue reading “How to Write Unfancy Web Apps”

Node.js, my new crush

I’m really loving all this hype around JavaScript and Node.js.

One reason is that it is spreading the idea of FOSS. Because the great thing about JS is that it can be distributed in only one form: source. Since all your code is visible to everyone anyway, you might as well publish it under a libre licence. And that’s what most people do.

It’s also nice to see new-age hackers doing all sorts of spiffy stuff at npm, the namespace pollution mechanism. What’s more, thanks to npm, this new generation of developers is carrying forward the UNIX philosophy:

Do one thing and do it well.