Test you regex with Python 2

Test you regex with Python
From several month, I build a project slowly, very slowly. A Python regular expression tester. I decided to use unusual technologies (for me) :  Tornado, CoffeeScript et les WebSocket. Yes, there’s a lot of Regex tester, but here three good reasons to test it : It’s not because it exists that I can’t do it ...

Lost session key with Django?

Lost session key with Django?
If you use the sessions with Django as keys for your database (for example a basket), you are in front of a big problem each time your user wants to login and logout. Indeed, Django change session key each time.

The top 5 reasons to not read lists

The top 5 reasons to not read lists
Since few years, we see on the web lists of things : The 10 best thing or the five better stuff. As every body, I’ve clicked at least once (often more) on one of those lists which have only one goal : Increase the visibility of a web site. To increase my visibility on the ...

Identify your users with oauth2 in Cordova using OAuth.io

Identify your users with oauth2 in Cordova using  OAuth.io
When we write an hybride application, we think immediatly to Cordova. We build our app using the framework HTML/CSS/Javascript you want (for example Ratchet 2 or jQueryMobile). However, there’s still a problem: The user authentification. While we stay in a classical path, there isn’t problems. But when the moment to integrate users authentification with third ...

Do you really need jQuery ?

Do you really need jQuery ?
In a couple of years, jQuery become the most well-know library for every developpement in a browser. It easy! You write: $('#my-id").on('click', function(e) { alert("Hello MyId"); } And every elements with the ID “my-id” respond to a “onclick” event. However, that greatful simplicity has a problem: it hides you Javascript. You do not code in ...

Passing the Django CSRF cookie with Nginx

Passing the Django CSRF cookie with Nginx
When you came from the Apache world and you want to switch to Nginx, you find yourself before a lot of problems which you haven’t before. One of the biggest problem is the CSRF protection. Indeed, by using Nginx as a proxy for Gunicorn, it misses a lot of things in the HTTP header and ...

Build a hybride mobile app with Cordova and Grunt

Build a hybride mobile app with Cordova and Grunt
The mobile apps are  more and more hybrid apps. After trying to build a native Android application, I have to admit that’s hard. It’s Java, it is screen oriented (you have to manage one screen after another) and there’s a huge learning curve. The same curve than  Sencha Touch or Appcelerator Titanium which are also ...

Après le rétro gaming, SFR Réunion invente le rétro-ADSL.

Après le rétro gaming, SFR Réunion  invente le rétro-ADSL.
Les débits internet pour l’abonné sont de plus en plus important, mais sur le tout petit caillou perdu dans l’Océan Indien il semble que je doive subir le processus inverse.

A super fast images lazy loader

A super fast images lazy loader
When you load a web page, the browser load all images present in the page. However, if you have a lot a images, this is not the best practice in the world. You’ll have a lot of dowload and a huge loading time. The only choice we have, the lazy loading.

Should we continue to use Django ? 2

For some time, I ask myself a question : Should I continue, yes or no, to use Django? The question seems a little bit weird, but is it really? I built a website (intranet) for a client with Django 1.3 with a MySQL database. The begining was built upon Django 1.2 and naturally, I switched ...