I {heart} PHP

30 April 2008, 9:34 — Software Development

Reasons why I love PHP:

  • It’s quick.
  • You can build your own framework. (Or use someone elses.)
  • The whole PHP distribution can be compiled into one single, distributable binary.
  • It’s got a rather sweet mix of raw power, raw utilities, caches, add-ons, and dangerous things you can do with it. If you know what you’re doing. Kind of like C, but without the hassle.
  • If you’re careful enough, you can actually develop new features directly in the production system.
  • A nice mix of classes, reflection, and syntactic sugar.
  • The same source files can be deployed anywhere – Windows, Linux, Web hotel A, Web hotel B, localhost… no additional configuration necessary. Painless distribution through xcopy.
  • Small footprint.
  • No System.Web.Utilities.Page.PageHelper.Random.Help.ImLost.RandomAccessAttribute.VeryImportantSetting.
  • It doesn’t use Xml and helper classes to configure a website. Just make an include file. Or use parse_ini_file.
  • …and you can edit the darn thing in notepad. (No big Visual Studio to install. No dependencies. No dlls. Nuff said.)

Sure, there’s no strict typechecking, it’s not binary, and you need one or two tricks to make it really fast. But the easiness with which you set projects up, the power behind it, and the fact that you can pretty much beat it into doing anything you want – while at the same time being able to distribute it anywhere and it just works right out of the box… Yep, PHP won my heart.

Joining Forces

24 April 2008, 10:02 — Software Development

And thus, the company I work for, Visionutveckling, joins forces today with Icepeak.

It’s impressive to see the company grow from 30 to 50 people overnight. To me, a sucker for organizational theory, it is incredibly interesting.

A Composition’s Right to Live

12 April 2008, 11:04 — Music

A long time ago, I started writing a little piece of music. It was back in Montana, when I visited a little town called Reed Point for two weeks, and where I, to amuse myself, sat playing on my friend’s keyboard in the evenings.

The little composition that began there has now been completed. Some of you have already heard it; it’s a rather odd little tune that jumps up and down all the time and can never quite agree on its beat, constantly switching between 3/8, 6/8, 7/8 and 8/8, and on occasion a 9/8, just for good measure; and just to confuse the pianist further it also switches between Ab, Gb and E major.

Having read a bit of music theory through my years (and even more as of lately), I realize how inadequate it is. It really doesn’t conform well to established musical patterns; the very fact that it incessantly switches beat all the time, inevitably marks it as a layman’s attempt at writing music. In several other ways, it’s… well, somewhat childish.

On the other hand, it’s quite fun to play, and it doesn’t sound altogether bad either, once you get used to the little occasional bumps in it. And, perhaps more importantly, I dedicated it a while ago to someone I know – the identity of whom, to protect the innocent, shall remain a mystery – and in doing so, I realized in a sudden moment of insight, that the musical qualities of this little piece actually, in a way, reminds me of her.

All things considered, for all its deficiencies, I’m thinking as follows: that, 1) if a composition is fun to play (which is half the reason to make music anyway), 2) it sounds rather well, and, 3) in its own peculiar qualities, it’s actually providing a meaningful context in regards to the person for whom it was written; then I think that this little piece has earned its right to exist, and not to be scrapped and thrown away.

Anyway, having said that, the true mark of any decent piece of music is whether it can stand the test of time. And since this was first started upon in 1997 and since then has survived in my mind for roughly ten years, my feelings about it may just be warranted.