Tag Archives: django

5ème journée Art, Recherche & Technologies

Jeudi dernier, j’ai eu l’occasion de présenter le travail que nous avons effectué au sein de FuzzyFrequency pour le projet HOTEL, lors de la 5ème journée “Art, Recherche & Technologies” qui s’est déroulée à Polytech Lille.

Ce fut l’occasion de présenter à la fois HOTEL d’un point de vue artistique, mais aussi les différentes composantes du transmédia : série d’animation, inter-épisodes interactifs et monde participatif. J’ai aussi pris quelques minutes pour faire un détour technologique afin expliquer l’architecture que nous avons utilisée : Django, Greenlets, WebGL, HTML5, Coffeescript, SocketIO, PostGIS 2, … Enfin, cela a aussi été l’opportunité d’expliquer comment nous avons travaillé en action-erreur-rétroaction pour mener ce projet à bien.

Pour ceux et celles qui souhaiteraient (re)voir les slides, les voici :

Merci à Christophe Chaillou pour l’invitation !

Django dependencies

For some reasons, I have to come back to web development. I hate having to write websites, because I feel that so boring, but what I want to achieve is more something that is a close to a real application, but web-based. At least, the business code and the goal is going to be much funnier. Anyway, in a pythonic logic, I therefore fired up django and started writing this web app.

The first step lead me to collect a few of reusable apps. One of the problem is that most of them aren’t packaged or if they are, most of them are too old compared to what is released. Some cool guys had a good idea : include a way to fetch dependencies automatically using the “manage.py” command. This piece of code is called django-dependency. All you have to do is something like this :

1
2
3
4
5
6
7
DEPENDENCIES = (
# subversion
deps.SVN(
'http://code.djangoproject.com/svn/django/trunk/django',
root=DEPDENDENCY_ROOT,
),
)

and then, from the command line :

1
./manage.py up

While it looks sexy, this software have some problems :

  1. It doesn’t support GIT
  2. It relies on shell commands (not the python libraries) for RCSes
  3. It doesn’t handle checking out/updating a specific revision

I therefore decided to patch it. But, while I was adding things, I felt something was wrong and I ended up rewriting it completely.

This is why I now have a new system that is very close to the idea of django-dependency (thank you guys for this awesome idea !). I’ve called it django-autodeps and it is licensed under the GPL v3. I plan to released it as soon as possible (it works well for me, but I prefer to use it a few weeks, fix bugs, etc before releasing a stable version).