BrazilJS - Part 1

I had the pleasure of going to the BrazilJS 2013 conference last week. After 5 hours inside a car with my friends Munhoz and Ragonha, we got to see a nice sunrise, but that was the last time we saw the sun in Porto Alegre.

Sunrise @ Porto Alegre

Even with the bad weather, BrazilJS was one of the best technology conferences I’ve ever attended. Outstanding organization, good infrastructure, amazing speakers. The only thing that comes to my mind that can be improved is the Internet connection, but many of the speakers made sure the the organizers ought to fix this next year, so I don’t need to stress this point.

Sem título

I will post my impressions about the talks. More will follow on the coming days.

###Utilizando node.js para automação de build e deploy (Mauricio Wolff) Sem título

Mauricio showed a case, where they built a internal tool to automate some development and deployment tasks. One of the most interesting aspects of this talk for me was the tool jshint-inline, that does static analysis of javascript even if it is inside of a script tag in a HTML file. For executing tasks, instead of using an existing tool (a.k.a. grunt) they decided to develop their own tool, a decision which was questioned by a lot of people. The answer during the Q&A part of the talk was that grunt has a steep learning curve. Yeah, right. Anyway, the tool solves their problem, and that was the message of the talk: it is easy to automate stuff with node.js.


###Learning to fly - Twitter Flight and mixin (Angus Croll) Sem título

This talk was on the dense side of the spectrum (and that is good). Angus explained some ways to share behavior between objects in javascript, and finally spoke about what he called functional mixins. A very interesting concept, that is used on the flightjs project, a library used to map behavior to DOM nodes on multiple twitter products. This one deservers deeper studies.


###Performance as a Twitter feature (Marcel Duran) Sem título

Continuing with the twitter personnel, Marcel spoke about how to deal with performance as a feature. Instead of only monitoring performance in production, he shows how to measure it in development time, and break builds if any degradation is detected. With this purpose in mind, some tools were showed, like the webpagetest. Marcel also created a wrapper for this project that can be installed through a npm package. The wrapper provides some command line tools, and can be easily used with a number of CI tools.