It’s often the case that security is an inconvenience and gets in the way of usability and ease of use. There are exceptions though and for a number of weeks I’ve been playing with the Yubikey (thanks to Schack) from Yubico. It’s a small device, which plugs into a USB port, and to the computer [...]
Archive for 2008
Security can be easy
Dec 4
So it been awhile since I sort of promised some tips on developing web applications fast. This post contains my five generic tips, which may apply to you (but then again – your mileage may vary). I’ve tried to abstract the advice and not stick to PHP development here, though it’s by far the world [...]
Your mileage may vary
Nov 9
It’s always fun to read articles with tips and tricks by other developers and see how they figure “best practices” are handled. Most developers do seem to thing they observations and practices are easily adopted by anyone, and should be accepted without any argumentation or reasoning behind the advice. One of the nice examples of [...]
Code archeology
Oct 28
I’ve been spending quite some time the past days digging around in old code (3+ years old with no or very little changes). It’s quite fun noticing what efforts pay off and which doesn’t when you go back to make chance to old stuff. I’m sure my observations aren’t generally applicable. We’re web developers and [...]
I recently had a little fun playing with the dynamic cache available in the Zend Platform. The Zend Platform is a commercial product, which provides a number of cool professional features to a PHP setup – one of these is the option to do dynamic caching. With dynamic caching you can cache the output of [...]
Costa Rica Exploring
Oct 5
If it was a little quiet on this site during September, it was because I was a way for 2+ weeks exploring Costa Rica. I’m back, play catch-up and having fun (digitally) developing, sorting and organizing photos from the trip. We went to Costa Rica and toured the country with GAP Adventures, and despite a [...]
Scandinavian Wildlife Park
Sep 28
Back in August we visited one of the lesser known sights in Denmark – the Scandinavian Wildlife Park located in Djus, Jutland. We been passing through the area from time to time on our way to the ferry back to Zealand, but never really knew what kind of place it was. It turned out to [...]
Costa Rica
Sep 24
Visiting countries far away is always fun – and in September 2008 we went to Costa Rica. In Costa Rica we were on a trip around the country with G.A.P. Adventure and visited the Caribbean cost, the Mountains and the Pacific Cost. Here are some of the photos from the trip. [googlemap lat="9.925565912405506" lng="-84.2431640625" width="600px" [...]
In programming languages common tasks should be easy, and surprisingly often I find my self loading data from some source file into a database. With PHP loading a CSV file into the database – or posting the data to an API – is quite easy. The only trick is to know the functions file_get_contents, split [...]
If you have a php array, but need to nuke an item from it, the unset function is just the tool to do that. When iterating through the array after removing the item, you should be slightly careful. The unset function does remove the item, but it doesn’t “reindex” the array, so you should traverse [...]