The Open Source Responsibility

I’m working on projects based on Open Source Technologies like Drupal, Symfony and WordPress every day. It is truly awesome. There is so much just out of box that makes our business easier and helps and also defines the websphere and its developers.

Though it is really awesome there is a lack of modern coding standards and patterns in some projects like WordPress and Drupal. In both projects the API is functional. The hook system is flexible it is easy and it is fast, but it is also a pure PITA. Another part I’m not very happy about is the way both projects handle the templating. When you look at the WordPress default theme HTML code is defined in functions and everything is mixed up. There is a tendency, but nothing more.

Things are changing in Drupal as they introduce more and more components from Symfony, which is to me THE shining example of clean and proper coding.

An unbearable amount of developers is working with those technologies and most of the websites are based on them. It may make it harder to motive programmers when the implementation standard advances, but programmers are getting better and better and these projects could lift the level of the whole developing community by miles… and they should.

HTML data-*-attributes

Since I’m working with a server-side programming language (PHP), JavaScript and HTML I’ve been dealing with a way to separate logic, structure and presentation layer. Especially when you work on projects that have a lot of frontend logic. There’s always a need for change late in the project in either one of them. When you have to change the structure or the representation layer you will mess up your logic when there’s no clean separation and the other way around. With the html data-*-attribute things get much easier. It solves the problem of how to pass data from your server to the frontend, helps avoiding mixing up style definitions and frontend logic (class-attributes) and gives your frontend data a home. Continue reading

Restart

I’m restarting my blog now. It has been over a year since my last blogpost and a lot of things had happend in between. In future i’ll focus more towards development, especially programming patterns, javascript and the php framework Symfony 2. There will also be some blog post about leading a team of coders and balancing its effort between clean and effective coding. There will also be passion.

I’m hoping for a lot of interaction and that i may help some of you.

Foursquare/Twitter vs. Facebook – Ein Paradigmenvergleich

Dass Twitter nicht das Selbe ist wie Facebook, dessen bin ich mir schon länger bewusst. Ihr sicher auch. Dass man aber trotzdem Unwissenden Twitter als “so ähnlich wie Facebook” erklärt, ist auch bekannt. Der Spruch “Auf Facebook sind die Menschen mit denen man zur Schule gegangen ist, auf Twitter jene mit denen man gern wäre.” setzt die Netzwerke zumindest auf funktionaler Eben gleich. Wie eindeutig die unterschiedlichen Paradigmen schon tief im Design verankert sind, begriff ich erst vor kurzem.

Continue reading

In Abhängigkeit von Facebook

Apps, die auf Facebook laufen, entwickeln, ist nicht immer eine Freude. Neben den großartigen Möglichkeiten Projekte direkte an die Menschen zu bringen, gibt es auch etliche Punkte die Schmerzen verursachen. Starke Schmerzen. Schlechte oder fehlende Dokumentation, willkürliches Verhalten oder versteckte Limits sind zwar extrem unangenehm, komplett hilflos ist man aber, wenn eine App gesperrt wird.

Continue reading

jQuery 1.4.4. does not animate proper from values above 10000

Imagine a site with a really big header image having a width close to 1000. The header allows sliding between several pictures, each representing a blogpost or item, that may be found on the site. Realising such a carousel is quite easy with jQuery. I built such a site and there where something like 14 such images and jQuery’s animation method suddenly behaved very strange. So i posted a bug, which is reported to be fixed with jQuery v1.5. If you can’t wait there’s a quick fix: use jQuery 1.4.2.

Continue reading

Das App-Store Konzept verändert die Spielregeln

Mit dem 2007 erschienen iPhone und dem dazugehörigen App-Store hat sich unsere Welt stark verändert. Niemals war das Internet so allgegenwärtig wie heute. Es mag sowohl bei den Smartphones als auch für das App-Store Konzept andere Vorreiter gegeben haben, doch der gewichtete Beitrag von Apple ist unumstritten.

Continue reading

instagr.am integrated into your homepage

Yesterday I wrote a little blog post about instagr.am. I was wondering if i could integrate those pictures i create into the landingpage of my homepage. As Instagram does not provide an API up to now i was looking for a workaround. Sharing pictures to tumblr is very easy and only one switch away. So I set up a tumblr account, share the pictures I take to it and read the tumblr rss feed on my page.

Continue reading