Dream factory

I am chris

And i like php, css, xhtml, photoshop, javascript, together we can build a better web.

Blog

26/04/2008

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 more
26/04/2008

Google 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 more
26/04/2008

CakePHP 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 more
25/04/2008

Ubuntu 8.04 released

Ubuntu hardy heronToday 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 more
24/04/2008

ySlow 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

Portfolio

22/04/2008 wibloeit.jpg 22/04/2008 Living_tomorow.jpeg 22/04/2008 mech7_1.jpg 22/04/2008 rock_dj.jpg 22/04/2008 cellularsouth_users_1.jpg All items