Back. Short summary - part 1.

posted: March 29th, 2006 · by: Sven

in: Misc stuff ·  3 comments »

I’ve been busy recently. No! Really. Who’s not? ;)

But there’s also been a lot of interesting stuff, I probably should have blogged a short note about. Well, I haven’t. So I’m going sum things up retrospectively.

Here are some short notes about me & del.icio.us, Kupu, Javascript and PHP 5 …

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.

Leave a comment

3 Comments

  1. jack said January 24th, 2011 at 03:28 PM  

    UCVHOST has changed the face of web hosting industry in a major way, people were paying gold for peanuts (and it is still happening). cheap hosting has become synonym with UCVHOST, anybody and everybody who wants a reliable and affordable domain web hosting visits UCVHOST and gets either windows vps or Linux hosting from UCVHOST. UCVHOST sells cheap hosting WITHOUT hidden terms and conditions where as competition has huge MSA and SLA’s which are good enough to confuse a seasoned lawyer also. For clients by now Business with us for the value of windows vps became very critical piece of puzzle for their whole operation, uptime and performance became a huge concern.. However it came with a cost, dedicated servers proved to be at least 100 times expensive in comparison to any windows or Linux plans. Somewhere in the labs engineers were working on splicing raw power of a server into virtual instances, this technology was called as Virtualization also termed as or virtual private servers. Also UCVHOST comes handy when you are looking for remotely hosted and managed FOREX MetaTrader4 terminals. Our forex vps platform is all geared up in fight of pips, our platform support any number of expert advisory (EA) and along with an assure of 100% uptime. Our Virtual Forex Tradng Terminals are well equipped to help you in making money .

  2. chat said March 31st, 2011 at 08:20 PM  

    The following cleaned up the issue:

    Dependencies.loadoncepaths -= Dependencies.loadoncepaths.select{|path| \ path =~ %r(^#{File.dirname(FILE)}) }

  3. Okey oyunu said May 12th, 2011 at 04:27 PM  

    Thanks a lot for this nice post. Tüm dünya artik okey oyunu oynuyor. Yillardir bir çok oyun programi olmasina ragmen, içlerinden en güzeli olarak nitelendirebilecegimiz tek bir site göze çarpmaktadir. Diger tüm okey oyunu programlarinin aksine ücretsiz olmasi ve 3 boyutlu olarak hizmet vermesi mükemmel bir gelismedir. Sizlerde www.okey-oyunu.com adresinden bu essiz okey oyununu indirebilirsiniz. Kullanimi çok basit ve Türkçe dil seçenegi ile kolaylikla oyuna baslayabilirsiniz. Ister kendi ülkenizden, isterseniz dünyanin tüm farkli bölgelerinden dilediginiz oyun odalarini seçerek, oyuna hemen baslayabilirsiniz. Okey oyunu oynamak için artik arkadas bile aramaniza gerek kalmadan, bilgisayarinizdan 100 binlerce üye ile online olarak okey oyununu oynamanin zevkine varabilirsiniz.

Sorry, comments are closed for this article.

artweb design
Sven Fuchs
Grünberger Str. 65
10245 Berlin, Germany


http://www.artweb-design.de

Fon +49 (30) 47 98 69 96
Fax +49 (30) 47 98 69 97