Hello everyone.In this article I will show you how to create a custom feed in Django, using the Django Syndication Feed Framework 1.2 or higher.I’ve had to create an XML with so...
Read moreHello everyone.In this article I will show you how to create a custom feed in Django, using the Django Syndication Feed Framework 1.2 or higher.I’ve had to create an XML with so...
Read moreThe most famous framework based on Ruby language, Ruby on Rails, makes extensive use of hash. And cause in our blog we talk mainly about development with Ruby on Rails it seem f...
Read moreToday I want to present a very convenient jQuery plugin I’ve used to create a combo box with checkboxes for a multi-selection field.Suppose we have a form of insertion / modific...
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 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 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