Dec 03 2011

Anatomy of a SPA. RubyConf Uruguay.

Category: JavaScript,Ruby,Uncategorizedtuxie @ 00:09

My present from the RubyConf Organization This is the prize I got for giving a talk at the RubyConf Uruguay, I totally loved it. It has my github nick in it =)

My talk was “Anatomy of a Single-Page Application: Client-side Model-View-Controller“. (Watch it. Spanish audio, slides in english.) For me was a total success, got a lot of great feedback, people approached me after the talk to ask questions and didn’t hear much of contrary opinions to what I said. I do know that how I said it wasn’t much fun for everyone.

I trolled a little. Not much, just enough, and (almost) always with proper justification. I trolled against jQuery, CoffeeScript and PHP. The problem was that I didn’t know there was a CoffeeScript talk right before mine. Duda Dorenelles talk about CoffeeScript, and as I watched his talk I was feeling bad for what I had on my slides.

Forget about CoffeeScript, be a man!” I think it’s the most controversial line of my talk, but it’s not groundless, and I explained it. I also talked to Duda and he totally understood, he even agreed with me. He is a super cool guy, I hope we can share a beer again sometime.

The organization of the event was excellent, besides some delay in the talks which is totally normal, everything went very smoothly, at least it seemed so. The night before the event they took the speakers to dinner, I didn’t expect that, was a very nice surprise. And as I mentioned before, I got this beautiful present after the talk which was very cool.

I was very anxious and nervous after the talk so I didn’t look at it very well, didn’t realize it had my nick on it. Later, when I was more calm I saw it and really loved it. I’m looking forward to being part of next year’s RubyConf Uruguay.


Nov 10 2011

RubyConf Uruguay 2011

Category: JavaScript,Ruby,Web Developmenttuxie @ 11:38

Next 11th and 12th November is this year’s RubyConf here in Montevideo. This time I’ll be giving a talk about how to apply the MVC pattern on the client-side.

About the event

I enjoyed last year’s conference but the truth is that I couldn’t get much from it. It was intended for people with previous Ruby knowledge and there was little left for the rest of us.

It looks like this year’s schedule covers a wider range of topics and levels. In their website they promoted it as an event to attract developers from different areas, specially Java.

The Java strategy

In my opinion going after Java (and it’s satellite enterprisey languages) developers is a good strategy. It would be hard to convince people from other languages with a solid web foundation like Python or PHP to move to Ruby where you can basically accomplish the same tasks, and what matters most is how well you know the language/framework.

However, web development with Java is hard and bloated. Tools like GWT are an approach to attract the hardcore OO programmers to do web. This is wrong, Java and JavaScript share 4 characters in their names, the C-like syntax and little more. They are based on completely different paradigms.

So I think that for Java developers looking to do web it would really make a difference to switch to another language like Python or Ruby.

About my talk

I’ll be talking about JavaScript. As I have never written a single line of Ruby this is one of the few topics I could propose and that they’d be interested in.

The title of the talk is “Anatomy of a SPA: Client-side MVC“. It’s an introduction to applying the pattern on JavaScript by the use of the Backbone.js library. I’ll starts by explaining the MVC pattern and when/why it’s important to apply it in your application, then I’ll shows what are the tools Backbone.js gives us for this. It will be more about concepts than actual code.

I have prepared many jokes, some flamewars and naked people. That’s a proven formula for success.