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

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