February 2007

Unobtrusive AJAX Commenting System

Tue 27 February 2007, , , ,

I’ve finally made my commenting system using ForkJavascript, JSON and PHP (yes, this web site is no more entirely static). The idea is to support The Comment API, but for the moment, it’ll only support simple comments. I need to test how this works to try to go further.

For every entry, a JSON file is created. Some JavaScript read it and display it in here, and it also JavaScript that is responsible to send the comment. In the backend, a little PHP script (with tests) writes the comment inside the JSON file. Don’t be afraid, every email address is hashed in a md5 (mainly for gravatar purpose).

Let’s comment. Trackback, pingback, post-it and other remote comments will come afterwards I hope.

Je me suis enfin concocté un système de commentaires, chose difficile car ce blog fonctionne principalement avec des fichiers statiques. Jusqu’à présent seul un fichier PHP faisait l’affichage de la première page. Là, un système combinant ForkJavascript, du JSON et du PHP s’occupe de récupérer les commentaires, afficher un formulaire et traiter ce formulaire, le tout sur un page HTML statique ne contenant pas de JavaScript spécifique.

À vos commentaires ! Pour les curieux, installez Firebug et regardez ce qui se passe dans la page pour comprendre.

Romandie.rb, let’s start

Wed 14 February 2007, ,

Tonight (yesterday in fact), I attended to the first meeting of the Ruby User Group of the french part of Switzerland (called La Suisse Romande ou Romandie).

Organized by some guys of MNC, some people from Hortis, two co-workers plus others were there. I think a dozen of curious, not bad.

It was an introduction of Ruby itself, a slow start, but important I think. Followed by some tricks into irb that can only give the envy to have more. One hour approximately, just the time to touch the beast and explain some special convention, behaviour (that weren’t trivial for me, sorry sorry, I did lots of PHP and Python).

If you’re a Swiss French whatever: Ruby Guru, Ruby Wannabe, Ruby lover, feel free to subscribe (btw the main language is French).

Ho, a happy Valentine’s day! It’s not rubies but she would certainly love one of them too.

Ce soir (hier soir), j’ai eu le grand plaisir de participer à la première réunion des utilisateurs Ruby de Suisse romande. Une douzaine de curieux avec parmi eux des convaincus, des indécis, des amateurs venus écouter une introduction, d’introduction car le temps à manqué, mais ça ne rajoute qu’à l’envie d’en découvrir plus encore.

Suivi d’un plus petit comité d’amateurs de pizzas au feu de bois autour desquelles les langues se sont un peu déliées et les sujets élargis. C’est intéressant de connaître les parcours des gens, leurs motivations, leurs envies, etc. J’espère qu’une prochaine rencontre soit plus riche encore et que peut-être généreront des projets ?

Quoi qu’il en soit, j’invite ces braves romands qu’ils soient sur la Riviera (et oui) ou plus éloigné à se joindre à la liste de diffusion déjà existante, mais encore timide.

My LIFT in a few words

Sat 10 February 2007

During the past three days I attended to the LIFT conference at Geneva (Switzerland). It was a taught time, I was really tired yesterday night. So, to close this experience I’ll try to give how I lived, what I learned from these days.

I’m a little guy, this was my mood quiting Geneva. I know nothing and everything is open in front of me to gain more working relationship experiences, to become a better minded developer. I got there some key that will help me having a bigger scope, to think more globally.

The first day, someone pointed out that the room where the social web conference happened was full of people in suits and that the bohemians were in the other one where people are talking about our future, beyond the technologies. I think I belong to the second one (in fact I was there). I think that business comes after the product like a gift. As sex comes after love to be good sex, sex that worth, that is pleasant.

People that were there are just guys who followed their dreams, theirs ideas. Respecting myself and the others is a way to get more freedom, to not being stuck in a thing I don’t like, no? (This reminds me a workshop about Creativity)

Like after a movie, I don’t to talk about the movie but what this movie made me feel, what things I reminded, learned about myself during it. I didn’t speak about the LIFT conference itself, sorry for people I cheated with this title.

In conclusion for me, be yourself, know yourself, trust yourself and think globaly.

Cette semaine s’est tenue à Genève la conférence LIFT, brillamment orchestrée par l’union de Ballpark et Bread and Butter ainsi que d’autres passionnés. Ça a été d’intéressantes mais néanmoins d’éprouvantes journées.

J’ai quitté ces lieux avec un sentiment de petitesse, de n’être qu’un point dans la masse, de (au fond) ne rien connaître, de n’être qu’aux prémisses de ce qui m’attendait. C’est une sentiment particulier mais plaisant car la suite est un renversement complet de ses valeurs ce que l’on croyait jusque là, rien n’est plus vrai dès à présent. J’avais ressenti le même sentiment lorsque j’eus quitté l’école de musique pour intégrer une fanfare (j’avais alors 8 ou 9 ans). La fin d’une école n’est pas l’aboutissement d’un apprentissage mais son commencement.

Les personnes présentes, conférenciers ou non qui m’ont touché, sont celles qui ont suivi leurs rêves, leurs envies, sans avoir l’objectif du business, non du quantitatif mais du qualitatif même si l’un conduit à l’autre et/ou inversement.

De se sentir moindre, de m’être senti petit m’a ouvert le champ de vision sur du plus global, du plus véritable. Ces jours m’ont permis un peu d’introspection voire ont forcé celle-ci.

Et mes excuses pour ne pas ou peu parlé de LIFT en lui même. Je n’aime pas parler du contenu d’un film que je viens de voir et préfère exprimer ce qu’il m’a fait ressentir. C’était donc mes ressentis suite à LIFT.

Chacun cherche son quelque chose, commencez par fouiller vos poches !