Sometimes when we’re dealing with asynchronous processing with more than one step, we need to control its flow by storing states for each step to avoid processing the same step twice if it stops during the processing. Depending on the complexity of the flow, we need to create a state machine to control it.
Repository pattern in Ruby
Ruby’s ActiveRecord is a great ORM framework for Ruby and is very easy and simple to use. It is normally used as the Model of the MVC pattern in most of the Rails applications.
Unit tests: Do you really know their benefits?
I’m still used to hearing from software developers that unit tests are a waste of time. Actually, I think this way of thinking is caused by a superficial understanding about unit tests (or even about OOP) and the fact that they don’t want to add a new step on their process of software development to write tests, for something that they can’t understand its benefits.
Handling multiple ajax requests callbacks with jQuery.when
Over the last days, my team have been working on a front-end project.
We’ve implemented two ajax requests, inside a collapsing box content, that needed to fade out a single spinner loader when both requests had finished.
Why I’ve chosen octopress?
When I decided to create a blog, I’ve started to search for a blog engine that could makes me feel comfortable to keep it updated.
I’ve finally created a blog
Yes, I’ve finally created a blog.