Blog
CakePHP Geshi helper
I have written a small Geshi helper for CakePHP, with Geshi you can display formatted code with colours. Just drop Geshi in your vendors directory and create a a helper to your taste.. personally I use a style helper which contains different methods to help format an article.
Now just create <pre class="php"> code goes here </pre> in your article and your done. Replace php with the language of your choice.
Read moreGoogle Web Site Optimizer Tool
Google has released a new service called Website Optimizer Tool it is really usefull to compare different elements in your website to see which one will generate the most leads. Sitepoint has written a good article about how it works, and how you can benefit from it.
Read moreCakePHP 1.2 Paginate associated model
Ok this took a while for me to figure out. But it is possible to override the default pagination function in CakePHP so you paginate a different model, i paginated all related articles on a tag with this example.
Read moreUbuntu 8.04 released
Today ubuntu released hardy heron, it has some nice improvements i have been running the alpha for a while now and it's pretty stable. It doesn't have any major new features but the overall improvements are nice.
All the new features can be found on this page. The most noticable improvements for me where the the new Openoffice and Firefox. They both integrate much better into the desktop and are helluvallot faster :-)
Read moreySlow make your pages fly
With ySlow it's easy to optimize your page, it will give you allot of tips to really make your pages fly. ySlow is an extension created by yahoo.
Here you can see my results. They are really impressive, the size of the page has gone from 580k to 253k on the first load. A cached page has even greater performance gains, from 45k to just 2.5k. Almost 20 times smaller. So here is how i did it.
Read more