Monthly archives: May, 2008

You can even find “plants 2.0″

Laurel with new leaves While my plants grow and grow, and are eager to the arrive of summer, RubĂ©n told me about a website, a la 2.0, to keep track of your gardens and plants: My folia, where I’ve created my garden profile. There are too few people at the moment, so the magic of 2.0 doesn’t work still. And I’m not sure about their business plan (if they didn’t build it for fun).

Anyway I found it interesting as a place where I can investigate the growing process of a 2.0 website. I’m preparing the launch of my own website 2.0, focused on strategy turn-based games, so every single detail I can observe in other places could be interesting.


ImageWorth: Mix your songs with pictures

Last week I’ve been quite busy. I had a small project in mind. Briefly, the idea is to search pictures that match the songs you are listening to. And present them with some visual beauties.

I named this project as: ImageWorth, try it out!

It gets the “recent listened tracks” list from your Last.fm account, and for every song title it searches for pictures on Flickr. And uses Javascript with JQuery library to show them smoothly.

Regarding the inside: I strongly used Javascript for making it happen (I wanted to practice some js programming). There is a PHP part, which is basically a proxy to let AJAX call directly to Last.fm and Flickr, but it’s quite simple. The heavy work is done in the Javascript lines, which were quite interesting to develop. This time I used only Object-Oriented programming, and this leads to some (a priori) weird things in js. This language has its own way to work with objects, with a lot of flexibility, but this flexibility leads you to keep more things in mind. For example, when you want to bind a function (which is an object in js) to an even, without losing the reference to the original object (this) where you did the binding on. It’s not easy at first, but when you start to understand how it works, the beauty of closures and the incredible amount of possibilities it means… you start to love it.

By the way, any comment about ImageWorth? I hope you like it!