Blog

CodeIgniter and Sparks, Fatal error: Call to a member function isMobile() on a non-object

codeigniter ellislab

Now this is just going to be a quick tip about a tiny pitfall in the amazing extension system for CodeIgniter: Sparks.

I was lucky to find a spark to detect mobile devices for a project I’m working on right now, so I wouldn’t have to drag together all the specifications for various user agents, written by James Constable. The problem I ran into was, that CodeIgniter would output an error whenever I tried to load the spark, which went like this: Continue reading “CodeIgniter and Sparks, Fatal error: Call to a member function isMobile() on a non-object”

Installing and running node.js on Mac OS X

Since node.js is the new cool kid on the block, I want to write a really short introduction how to install it on Mac OS X and start playing with it.
Exploring technologies is something I try to fit in my everyday, that’s why I’m choosing the verb playing. This little and quick guide is really more for everyone who has more experience with PHP than with ruby or python. I don’t even want to talk to you ruby on rails people, you know how all this stuff works, shoo! Continue reading “Installing and running node.js on Mac OS X”

Why you should start using git now

git logo

The famous version control system git got a new logo and their documentation got a redesign! That shall not be the primary issue of this article, but it’s still very positive to see, that the project is making an effort to become a little sexier and more approachable to the public. Continue reading “Why you should start using git now”

A Developers Mindset

I listened to a podcast called Lullabot, which is dedicated to the Drupal CMS and found this beautiful quote in episode 103: Views in Core.

As a developer that always offends me. If you’re writing the same code more than three times, than you should fix that, so I did and at the time I wrote a 1500 line module called Views. Continue reading “A Developers Mindset”

Serif vs Sans Serif for body text

Creating the web and involving the least bit of typography, we have to face the question which fonts we will use, in which combination and sooner or later the serif vs sans serif question is going to come up.

Recently when I presented this page to my fellow students, I received some feedback, which I’m very thankful for, but one point struck me.
Freely quoted: Continue reading “Serif vs Sans Serif for body text”

running locomotive.js with node-dev

Right now I’m spending a lot of hours getting to know node.js and it’s an amazing new world. However, I tripped over a little stepping stone on the way to enlightenment. Currently I’m experimenting with the locomotive.js MVC framework and I wanted to run it with node-dev, a little command line application, that automatically restarts the node server whenever a file in the application has been changed. Continue reading “running locomotive.js with node-dev”

WordPress Page Excerpt Widget

I have created a little WordPress plugin in the shape of a widget, which allows the user to display an excerpt of a page in a sidebar area of their choice. It in fact now is online in the WordPress Plugin repository: Page Excerpt Widget. Feel free to test and rate it! Continue reading “WordPress Page Excerpt Widget”