2013.10.20

Static Site Generators

Yes, they are popular; Yes, there are hundreds of implementations; Yes, they all suck; Yes, this is sort of a rant; Yes, I also wrote a few static site generators before; Yes, I have this opinion for a while; Yes, a lot of people will disagree…

Since my goal with this post is to question the current trend towards static site generators, lets start with a bold a statement: PHP is the best static site generator that you can get.

Read more…

Tags: , ,

2010.02.24

PHP < 5.3 – Lazy Singleton Class

I’ve been doing some PHP lately (and liking a lot) and one of the cool features of PHP5 comparing to Actionscript3 is that you can have private constructors, which means that it’s really easy to create “real static classes” and singletons without hacks!
Read more…