Structomap is back again

Structomap is back again

Hi everyone.I've updated this library (https://github.com/devinterface/structomap) created long time ago because it solves a real problem in Go's webservices: to return different data as JSON response basing on arbitrary conditions.For example, in a JSON response, I want to omit the user "password" field in all responses and maybe omit the field "balance" if the user is not...

Read more
Node.js application boilerplate

Node.js application boilerplate

Hello everybody.Today I would like to share with all of you our Node.js application boilerplate.We use this boileplate every time we start a new project.This application sets up an Express.js server with authentication, registration, password recovery, all out of the box.Moreover, there is also implemented authentication/registration via Facebook oauth.Finally, it supports localization and i18n friendly urls.From the technical side, the boilerpla...

Read more
ToDo Marriage: how to plan your wedding from home

ToDo Marriage: how to plan your wedding from home

ToDo Marriage is the newest DevInterface's app that allows you to organize the perfect wedding: it includes the creation of an online wedding list, it allows you to send invitations to your friends and family and to choose the seats for your guests at the restaurant's tables.Wedding is a wonderful event in the life of two people, characterized by happiness and unforgettable memories. For this reason that day have to be perfect, and this requires a hug...

Read more
Scrum: planning a Sprint

Scrum: planning a Sprint

The rule for planning a Sprint with Scrum effectively is having cristal clear the goals: they will guide the developers to the definition of the possible tasks and the best ways to realize them.In the last articles about Scrum i talked you about its efficiency as a framework for the implementation of the Agile methodology and about roles in a Scrum team. I've also explained that with Sprint we mean a variable period of time during which the Scrum Team develop a "part of the software" t...

Read more
Agile software development: win-win contracts.

Agile software development: win-win contracts.

In traditional contracts applied to software development the risk is that between the supplier and the customer the exchange value isn't fair: Agile contracts change the cards in play.A few months ago in this article I was talking about how apps that you use avery day are made. In it I also I listed some software development methods that are now considere...

Read more

How to migrate from function-based generic views to class-based analogs in Django

Last week I’ve migrated a Django application from version 1.04 to 1.6.Among the many methods deprecated, starting from version 1.5 all generic views based on functions have been eliminated (they were already deprecated in the previous release (https://docs.djangoproject.com/en/1.4/topics/generic-views-migration/)In my application, the generic view was used in the views.py file in this way:123456789101112131415161718@cache_page() from django.views.gen...

Read more