← Home

Back. Short summary - part 1.

del.icio.us. I finally decided to get infected - here's my bookmarks page.

I had been looking for a bookmark which I remembered throwing it somewhere in my firefox bookmarks folders hierarchie - which had over the time grown really chaotic. But by any means I could not find it. Instead of finding the badly needed bookmark I found several other interesting sites ... stuff I obviously had bookmarked sometime but I'd never actually search for in my bookmarks.

I exported the whole mess of folders and bookmarks, ran it through some regular expressions to extract the urls, checked each of them and finally imported most of them into my brand new del.icio.us account. I even tagged them later on in four sprints.

Wew. I'm really bought on the tag organization/navigation. It takes me usually two clicks to find what I'm looking for. That's a tool I can work with again. Unfortunately, del.icio.us doesn't respond that snappy, but it's usable.

Kupu. Kupu has been unobtrusive Javascript, even AJAX for a long time ... and is IMHO much cleaner and easier to extend/modify than most of the other textarea replacements out there.

I've been working on Kupu to integrate it with a client's project. One thing that really sucks is almost everything around Ranges and Selections. Can't blame Kupu here, I think - these things suck in other editors too. But I figure this could really be done better.

Talking about unobtrusive javascript.

Unobtrusive form controls in Javascript. Inspired by this and this I've been playing around with a more object oriented approach to nice looking, yet unobtrusive form controls. Haven't had the time to pick that up again though, so it's lingering around somewhere on my disk.

Javascript OOP and Inheritance Huh! Well, I've been one of these developers who for a long time had done as much Javascript as occasionally validating a form or toggeling visibility of some DOM element or something. I've actually had no idea about the language design concepts behind Javascript and that there's even a wholly different approch to Object Orientation behind it - namely Prototypes.

So I went and tried to learn something about that. I read some highly interesting articles about the topic. And as an experiment I tried to brew my own Javascript Object layer to use a more classbased, Java-like syntax for instantiating objects. Hm, ... same as for the form control stuff. It's lying around somewhere now. I probably should at least blog about it. (Actually I remember having written down some notes on it for a blog post.)

Oh! And to try it out, I did an unobtrusive JS syntax highlighter which I probably could integrate here.

PHP 5 ... definitely great when you've been stuck to PHP 4 for most of your projects being a programmer who originally comes from an object-oriented (i.e. Java) background.

I've been playing with experimental framework designs in PHP 5 for months in the last year - kind of a pet project. Homegrown ActiveRecord "magic" and the like. Automatic scaffolding. I admired Jeff Moore's WACT framework which I consider - from a design standpoint - the definitely best (including: most beautiful) PHP framework out there, especially regarding the controller layer.

But after all the years the conclusion remains that PHP greatly sucks. Period.

Following the language design discussions at PHP-DEV is basically a pain in the arse ("This is not the PHP way"). I've been putting some hope into PHP 6 for a while which for sure will be a huge step forward. But on the other hand it never will achieve the clearness other languages have. In PHP you'll always have hard times striving for ... well ... beautiful code.

Rasmus' "no-framwork php mvc framework"! This has given me the rest. I finally decided to leave the PHP camp and enter Ruby and Rails.