Syndicate content

Finally HTML5 goodness for the real world

 - Tagged as

Firefox 3.1b3 has arrived and it's stuffed with a ton of new web technologies. Most of the stuff comes from the WhatWG working drafts, which should mean that major browser vendors (Mozilla, Microsoft, Opera, Apple and Google) are aware of the specifications and will incorporate them at some point.Read more

My new programming font: Inconsolata

 - Tagged as

Just a short post to announce a jewel I've just found.Read more

A solution to PHP's new namespace separator moaning

 - Tagged as

I've been quite busy lately but I've obviously been exposed to all the fud about the PHP internals decission of choosing the back-slash as the namespace separator.

So to keep everyone happy I've spent a few minutes working on a solution to the problem and here it goes:Read more

A really simple Include filter for Drupal

 - Tagged as

I've been using Texy! lately to write in my Drupal powered blog, it's a great Markdown/Textile replacement and it even has a syntax highlighting addon which helps a lot to publish source code in the posts.

I've found however a problem. I usually keep my source files in my subversion repository and sometimes I want to show the syntax highlighted code of one of those files in the post. I was getting tired to copy-pasting the contents so I've implemented a dead simple Drupal input filter which dynamically includes a local or remote file as simple text in the content.Read more

Tags emulation for Zend_Cache

 - Tagged as

Managing a cache is a complex task, at first you start placing random stuff on it, when you need to squeeze a few more hits per second you keep adding stuff to the cache. At the end of the day, if you've not planned it carefully, you might end up with a nightmare of stale data in your pages or even a completely broken site.

One easy way to apply some logic to the cached data and help in the invalidation of cached stuff is the use of tags. Cache tags are a simple way to group cached items so it gets easy to remove/invalidate them if needed.Read more