Day in brief – 2011-10-18

  • Massive thunderstorm in #limassol #cyprus . Massive! #
  • Trying out Miso – a social network for TV and movie fans. http://t.co/khXtyxOC #
  • I am watching How I Met Your Mother, Field Trip (S07E05). http://t.co/SlQyMSL3 #
  • I was just awarded the "TV Newbie" badge at http://t.co/zUL4fPGg #
  • I've just learned about a very useful PHP function: array_unshift() http://t.co/FMOkn94w #
  • Только что узнал, что мама Артемия Лебедева – Толстая, Татьяна Никитична — Википедия http://t.co/DpV9ZaP9 . Это многое объясняет. :) #
  • Looking for more TV to watch. Hopefully this is it. (watching Bored to Death, Stockholm Syndrome S01E01) http://t.co/8PJkJ4sh #
  • @stepanov ага, это знал. Прочитал, когда Mean Machine с ним посмотрел. :-) #
  • I'm at The Ship Inn (1 28 Oktovriou, Limassol) http://t.co/c27fE987 #

CakePHP 2.0 released!

I’ve been a bit all over the place these last few days, but I knew that this was coming shortly – CakePHP team released the new and much improved version 2.0 a couple of days ago. There are a lot of changes. And I do mean a lot. Here are some of my favorite:

  • PHP5 support. CakePHP was working with PHP before, of course. But in this release, support for PHP4 was dropped and all code has been updated to utilize PHP5 goodies.
  • Lazy class loading. Previous versions of CakePHP could easily get slow with a lot of models. There were solutions like Containable behavior and others. But it was annoying never the less. CakePHP 2.0 is much improved in this regard. It only loads things that are actually needed and used. That is a huge performance improvement.
  • Improved Console. The new Console is so much better that I’m even considering using CakePHP 2.0 for some of my non-web-based projects. It’s that good!
  • PHPUnit. Previous versions of CakePHP were using SimpleTest framework for unit tests. CakePHP 2.0 switched to the de facto standard PHPUnit. Tests are now easier to write. And integrating CakePHP projects with other Quality Assurance tools should be a breeze.

There are, of course, more changes. These are just the top few that I am particularly glad about.

Also, CakePHP 2.0 release is special to me. It’s been a long while since I participated in the development process of an Open Source project. I usually just report bugs and provide help via forums and blog posts. I did more than that with CakePHP 2.0. I actually wrote a couple of patches that were accepted and merged into this release. They were no rocket science, but a contribution nonetheless.

If you haven’t tried CakePHP before, now is the perfect time to do so. If you have tried older CakePHP versions, you’ll find this one to be much of an improvement. If you have tried it already, please share your thoughts in the comments. Let me know what you think of it.

Day in brief – 2011-10-17

Triangular letters of the World War II

Via this Kottke post I was reminded of the triangular letters of the World War II. That was a good historical summary. Nice of them to include the folding instructions as well. With all the advances in electronic communication channels recently, this feels like one of those historical artifacts, sliding away into the darkness of the past…