My BlogAbout MePortfolioTemplatesArticlesWeb StoreMessage Board (Forums)Guestbook

Browse archives

September 2012  
Mo Tu We Th Fr Sa Su
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30

Search this site with Google

Five perhaps not-so-known PHP tricks for leaner and cleaner code

Submitted by Jakob on 7 April, 2008 - 23:21.My Blog | Computers & Hardware | Drupal

In this article I'll give a few examples of powerful ways to program PHP that aren't obvious to many. The tricks I mention here are in themselves nothing new and experienced programmers probably know about them all but budding and intermediate PHP programmers can probably pick up a thing or two.

PHPEclipse and PDT

Submitted by Jakob on 28 February, 2008 - 21:32.My Blog | Computers & Hardware

Eclipse has been my primary web development environment for over a year now. With plugins for version control, JavaScript/AJAX and PHP development, it's a perfect integrated environment for building Drupal websites and writing modules and themes. Eclipse has worked mostly fine apart from recently when I've been having some problems with system crashes (virtually unheard of on a Mac) seeming related to Eclipse or Apache. In an attempt to fix that problem I reinstalled Apache, MySQL and PHP as well as Eclipse and also took the opportunity to try the PHP Development Tools from Zend.

The future of my phpBB templates

Submitted by Jakob on 13 November, 2007 - 18:33.My Blog | phpBB | Templates, Themes and Skins

Many of you have asked me about the future of my templates for phpBB and when they will be ported to phpBB 3, the next version of the popular forum system. After much thinking and considering of my own priorities, I have found two ways to go ahead but I need your feedback. Please read this post and post your own thoughts as comments.

Checking in

Submitted by Jakob on 15 September, 2007 - 23:58.My Blog | Drupal | Internet | Personal | Travel

So I've been very busy the past few months. Barely time to do anything but seeing clients, working and lapping a little sunshine now and then. The farthest from Sweden I got was to Oslo (Norway) to spend a week there hanging out with friends and trying not to think about how expensive it was.

Web Design or the Art and Science of Solving Problems (Part 1)

Submitted by Jakob on 21 July, 2007 - 11:57.My Blog | Human-Computer Interaction | Usability | Web Design

I sometimes refer to myself as a web designer, a term that to many people I meet means "someone who makes websites pretty". This is a rather narrow definition and one I'd like to extend and widen and put in context with what us web professionals actually do. This blog post, the first in a series about building websites (or solving problems the way I look at it), covers some of my own thoughts regarding the trade of building websites and how a web professional or web designer thinks compared to print designers.

Lost in thought

Submitted by Jakob on 7 July, 2007 - 00:36.My Blog | Movies & Film | Philosophy | Psychology
I watched Lost in Translation tonight with my younger brother. It wasn't the first time. It was more like the third, and well, just like millions of people I still like it as much as I did the first time I saw it.

An easy way to display a customized menu in your Drupal theme

Submitted by Jakob on 3 February, 2007 - 01:07.My Blog | Drupal

I've been working on a theme where I needed to display a menu in Drupal given its menu id (mid), which is the unique identifier of the parent element of the menu's items. Usually, you can assign menus to different regions in your theme but the problem with that approach is that the menu will be rendered as a multi-level list (nested ULs). In this case, I wanted a flat list, and had written my own theme function to display the links on one line with delimiters, taking an array of menu items as argument. I ended up writing a function for this purpose using parts of the code from Drupal core, a function that others might find useful.

XML feed