back home

Front Trends 2013 summary

It’s was my first time attending Front Trends. The idea was to get a glimpse of the new and upcoming stuff that will happen on the web. Or just go outside the building and see what cool kids are doing these days as I’m pretty much chained to the chair with this wonderful stack we use at Atlassian.

I learned couple of things that were fascinating.

JavaScript is dead, long live VM

Seems JavaScript VM (JSVM) is now a destination platform for many new languages. As it happened with Java VM people got bored either with the flaky syntax or the execution performance and led new efforts to fix both.

So there’s stuff like CoffeScript that gives you a nice object oriented language on top of JavaScript VM.

There’s also asm.js (more here) that lets you treat JSVM as a processor/computer architecture so you can compile your rusty C or C++ into JavaScript and execute it blazingly fast (almost running on bare metal). 

There’s also other things like defs.js that give you ability to transform JavaScript to JavaScript! WTF you would ask? Yeah, me too. But it has a reason - defs.js lets you compile and use EcmaScript 6 goodies on old browsers that don’t support ES6 (all of them).

And talking about goodies - there are let and const that will finally make resolving variable scope sane. Throw vars out of the window!

Source maps

You’d ask that it’s great to have a new language on JSVM but what about maintainability, that must suck, right? Right!

But with source maps it sucks less! You can add special additional files that will help you translate your generated JavaScript code into sth readable - say you minimized your JavaScript but now want to debug it? Use source maps.

Or did you actually wrote your app in CoffeScript? Use source maps.

Localization in 21st century

How many things go into writing a great, localized product? Does having key-value maps is sufficient to create outstanding apps that speak the user’s language?

Yes or no? Well, we thought key-value pairs are enough. At least for a long time.

But guess what, it’s the least you can do. If you really want to talk to you users and really show that you care and you don’t want to introduce user experience failures it’s time to use something better.

And here comes the project from Mozilla, they are building Firefox OS which wants to talk to the users (and is built on JavaScript+HTML) so they had to figure out how to create sth better than gettext and friends.

With L20n you can separate your application with translation, you can add arbitrary logic to each language (you know that they have their own sometimes incompatible rules?) then render it server side or client side, and what’s better (when done on the client) you can even make it respond to events (like device orientation change).

This is a responsive design!

CSS is bigger than you think

So this is an overall impression. Knowing only bits of CSS I was amazed by the power it comes with it - doing animations? Use CSS for that! Use Transitions? CSS! Really complex UI layout? CSS!

Want to have responsive pages? There’s plenty of new stuff that will help you (flex boxes, etc.).

There are even proposal for adding stuff from print design - like following paragraphs that let’s you totally separate text from the presentation and make your text flow from arbitrary DOM elements to another (Pages anyone?).

Building software from blocks

There’s plenty of tools that let’s use create your MVP from scratch in less time than you can use to think up the idea. I loved the idea of moving this even step further, with hood.ie you get not only nice back-end server with common stuff already implemented (like sign-ups, password reminders, etc.) but you even get JavaScript API to use it!

That’s really making it easy to stack up blocks to create an app. Love the concept!

The venue

It was refreshing and inspiring to see all those people presenting their ideas. The organization of the venue was really good.

There were some quirks - like that rest area was a glass house so it’s really hot. And the presentation area being really chilly.

The food was great (at least from observation),  the party was even better (with free beer), and the beer was free also during the days.

There were some really poor presentations (4 in total), especially day one was a bit of a disappointment. But on the other hand there were some great like the one done by Jake Archibald.

In summary I’ve got what I came for which is food for thought. I think I should more often come and visit conferences like that.