Optionable Behavior / 03.19.2010

» Leia este post em português aqui.

The Optionable Behavior is a CakePHP behavior that tries to bring something from schemaless databases to RDBMS databases like MySQL. With it, you can add as much extra fields as you need to a table without touching the DB design / schema.

» Read more


New theme for 2010 / 03.19.2010

» Leia este post em português aqui.

A lot of new things are going on in my life right now and I wish I could blog more about them. In fact, I could but I was really discouraged bu my older blog theme [it doesn't makes sense, but whatever]. The old theme was ‘too much’ you know?

So I decided to create a brand new theme. I started to design it yesterday and it done already [or mostly]. As you can see, it’s a very simple theme. Actually, I’m only using the “index.php” file of the theme and nothing else. I know I’m missing a lot of things, but I plan to add those as we go.

» Read more


» Leia este post em português aqui.

Hey guys!

Here is a simple function that helps me to sort elements in a MySQL database by it’s ID’s:

If that is usefull to you, let me know!