warning: Creating default object from empty value in /var/drupal/modules/taxonomy/ on line 33.

PHP content repository API tutorial

I repost some of my blog posts made @ liip. Please see here for the original post and comments:

Our PHP content repository (PHPCR) implementation "Jackalope" is steadily improving. Besides the Jackrabbit backend, there is now also a driver for SQL databases (powered by Doctrine DB abstraction layer) and first work at a MongoDB driver and one for Midgard 1. Midgard 2 will get its own PHPCR implementation not based on Jackalope, and Typo 3 may choose to come back to PHPCR as well. Now is about time to show how to use that API.

phpdoc compilers and the @inheritDoc

I repost some of my blog posts made @ liip. Please see here for the original post and comments:

In the PHP content repository, we have a set of interfaces and implementation classes of those interfaces. The interfaces define the standard and are extensively documented.

A picture kaleidoscope with processing

A while ago, I stumbled over an article about kaleidoscope creation, probably because of one of my adobe Flash collaborators. It was lying around for a while, then during a train ride i hacked something like that together in Processing. It is impressing how different a picture looks when mirrored this way.
I spent quite some more time to fine tune the sketch. I created an applet to play around on the web, but i recommend downloading the real application. The download version runs smoother and in full screen, plus you can load your own images and save snapshots.

Kinect and Processing

At a recent Liip Hackday, i worked with the Microsoft Kinect Depth Sensor. I took Processing Simple-OpenNI and added the "push" and "swipe" detectors. To install the processing openni library, you first need the Kinect drivers, OpenNI and NITE. We were successful with the guide of SensorKinect. Then you get the trunk version from google code.

Beyond mysqldump

I repost some of my blog posts made @ liip. Please see here for the original post and comments:

There are several ways to transfer data from one mysql server to an other. Dumping a full table and re-importing it is rather simple, but sometimes you only want to transfer a selection of data. I will quickly explain the most common ones and then explain how i solved my way out of having neither phpmyadmin nor the privileges of SELECT...INTO OUTFILE.

Drupal Context and Zen Theme

For a private project using Drupal, i tried if I can be efficient, after the not-so-awesome experience of using Drupal in a big project (more on that some other time). So far, progress for this small size project is very good. In this post, I want to share how to use the context module to change the page appearance based on the menu navigation, and how to make the Zen theme cooperate with the context module.

Feedback Blocks: Interactive Video Installation made with processing

Today I want to present the interactive installation that was the original reason for me to start learning processing. "Feedback Blocks" is an interactive installation, where the audience is part of the installation. I share some short films and explain a bit how the installation works.

Der neue Trend: e-recycling (powered by

e-Mail, e-Commerce, e-Voting und manchmal auch e-Government oder e-Health usw. Letzthin kam ich an einem Plakat für e-Recycling vorbei. Irgendwie blieb das hängen. Bei all dem e-Irgendwas geht es ja darum, etwas elektronisch (= über das Internet) zu erledigen was bisher physisch passiert ist. Ich habe mich also gefragt: Kann ich in Zukunft meine PET-Flaschen übers Internet recyclen? Leider natürlich nicht. Es geht um das Recycling von Elektro-Geräten. Natürlich eine gute Sache, trotzdem muss es doch auch etwas geben, das sich übers Internet recyclen lässt. Natürlich: Täglich werden Millionen von digitalen Bildern einfach so weggeworfen, anstatt sie anständig zu recyclen. Ein kleines Programm schafft abhilfe.

Mediawiki Extensions

A while ago, i wrote some extensions for the MediaWiki software. The extensions evolve around the fascinating Semantic MediaWiki extension. ShowIncomingRelations adds backlinks for semantic information. CreateVirtualPages creates pages that are referenced by semantic information, but do not yet exist - to show backlinks. The most complex extension got the name SemanticAnnotations and allows to Annotate other subjects from within a page.

Erkenntnisse zum Bild-Handling in Drupal

Ich habe grad einige Zeit damit verbracht, das Image Handling auszuprobieren. Ein Setup aus cck filefield und filefield_image zusammen mit dem lightbox2 Modul erlaubt es prima, Bilder an Nodes anzuhängen. Wo die Bilder in welcher Form angezeigt werden, konfiguriert man im Display Fields Reiter beim editieren des Node Types. Die Anzeige der Bilder wird für Teaser (Vorschau) und Full Node separat eingestellt. Wählt man dabei einen der "Lightbox:" Einträge, kriegt man die Lightbox anstelle eines Bild Links.

Syndicate content