Just a Few Lines

That's all it takes, usually...

What’s wrong with PHP closures?

October 2nd, 2009 | ,

PHP 5.3, along with many other features, introduced closures. So now we can finally do all the cool stuff that Ruby / Groovy / Scala / any_modern_language guys can do, right? Well, we can, but we probably won’t… Here’s why. Read more…

Web Application Elements: Templates

September 30th, 2009 | ,

One of the things PHP does really well is templates. Actually, every PHP file is a template. This is rather unique feature, considering other platforms, like Java, .NET or Ruby. With PHP as a platform, the language itself is usually good enough for a template solution.

There is, however, one feature (provided by some template engines), that makes managing complex sites easier. Read more…