Recently I have started on a new project which will utilize a lot of the new web technology. The server will be nginx, combined with nodejs. For the database side there are two options to consider: MongoDB and CouchDB. Since I know two little about these two databases, I decided to try them both out [...]

Read more...

§286 · December 18, 2010 · web · 2 comments · Tags: , ,


Disclaimer: This method will probably not work for all servers running tomcat, it is more a personal guide then a general one. Solr is a “popular, blazing fast open source enterprise search platform from the Apache Lucene project”. Drupal search has traditionally been less then adequate. Using Solr to index and search you Drupal site [...]

Read more...

§263 · July 13, 2010 · programming, web, work · 1 comment · Tags: , , ,


For one of our projects, I was creating a photo bar. When the mouse was over one of the photos it was ment to increase in size and decrease back to original size when the mouse left. Unfortunately the client for which this was developed uses ie7 exclusively. This has brought two problems: 1. ie7 [...]

Read more...

§266 · May 28, 2010 · programming, web · (No comments) · Tags: , ,


Drupal saves its sessions in the sessions table. One can always query they table to get the session ID. There is however a faster way. If the user is logged it, the session id can be found with the following code: global $user; $user->sid; In any case the session id can also be read from [...]

Read more...

§257 · February 25, 2010 · guide, programming, web · 4 comments · Tags: ,


Drupal, like most CMSes uses cache intensively to speed things up. In a production site that is exactly what you what. However when developing, cache can cause you much pain. If your an expert in drupal you probably already realized when you need to clear the cache in order to see changes and when not [...]

Read more...

§168 · May 29, 2009 · guide, programming, web · 5 comments · Tags: , , , ,


Tiger comes bundled with Apache 1.3 and PHP4. While these are still used for web development they are defenetly on the way out. For this reason I have decided to set up a more up to date MAMP installation on my old Powerbook G4. While this was all done on Tiger, it will most likely [...]

Read more...

§105 · May 4, 2009 · guide, web · 6 comments · Tags: , , , , ,


After a long break I have resumed my side project in django. Last night I came upon a problem. When testing a page outside django, the page was rendered correctly. When it was rendered through django the javascript files were not located. At this point I have to admit I was a bit fullish and [...]

Read more...

§90 · September 26, 2008 · programming, web · (No comments) · Tags: , , ,


Dreamhost appears on the django site as one of the django friendly hosting services. Unfortunately, dreamhost does not officially support django. It does not have mod_python installed. Django is instead deployed using FastCGI. Hopefully sometime in the future mod_python will be added. There are a few good guides I have found, that explain how to [...]

Read more...

§73 · May 19, 2008 · programming, web · 5 comments · Tags: , , , ,


AJAX is somewhat of a tricky subject for me. I am a huge fan of good UI and of good user experience. There is no doubt in my mind that since the introduction of javascript, and later on AJAX the general experience in using the internet has improved. For me, watching Adobe’s new Photoshop express [...]

Read more...

§66 · April 25, 2008 · web · (No comments) ·


Offline blogging may sound like a bit of an odd idea, but the idea did stick with me. After all, wordpress is not exactly the world’s best word processor. I just grabbed Marsedit and am going to see how this works for me. On other news, Im really turning into a twitter fan.

Read more...

§64 · April 25, 2008 · Me, web · (No comments) ·