Hello everyone.In my last post I showed how to install MySQL from source on Osx. Among the many comments received, some of them suggested me to use homebrewI recommend everyone ...
Read moreHello everyone.In my last post I showed how to install MySQL from source on Osx. Among the many comments received, some of them suggested me to use homebrewI recommend everyone ...
Read moreIn some projects can happen that you have to use different graphic templates for different methods of the same controller. At first sight one would implement a solution that pro...
Read moreHello everyone. These days I've bought a MacBook Pro with Osx Snow Leopard 64-bit pre installed. Having to develop mainly in Rails and Django on MySQL and PostgreSQL, I've fou...
Read moreWith the today’s post I shall conclude my series on Ruby On Rails Best Practices . This is not because the required topics are completed, but rather because after the release of...
Read moreSpesso capita di dover lavorare su svariate applicazioni "Django":http://www.djangoproject.com/, ognuna dipendente da librerie diverse. Può succedere ad esempio di lavorare su ...
Read moreMigrations, in my opinion, are one of the best things in Rails since these allow the creation and populating the database using ruby code without having to worry about which typ...
Read moreIn today’s post I will show some optimization we can do for models. I’ll focus on how to put methods inside the right model and delegation to get a better code.1. Put method in...
Read moreToday's post discusses the first of the behavioral pattern shown by the GoF, the chain of responsibility. This pattern expects a series of commands to be executed and a set of ...
Read more[POST UPDATE ON 19/07/2010 - 15:45] Continuing our analysis of the Rails Best Practices today we’ll see two other tricks to make more readable method of the controller.1. Method...
Read moreThis second post of the series leaves for a moment the creational patterns and speaks about one of the most important structural pattern: the Adapter. The purpose of an adapter...
Read more