This week I was asked by a peer to add SSL support to a Magento installation. Since this is something trivial but also something I think people should really take a look at I decided to share with you how you can achieve this. Continue reading “Adding SSL support to Magento”
How to easily detect mobile devices
Nowadays people want to offer mobile versions of their websites or web applications to their mobile users. Even though some mobile vendors explicitly state it is not necessary to develop a trimmed down version because they want their users “to experience the real internet”. But in most cases you don’t want your mobile visitors to stop from returning because they went through their data plan to quickly because of all the extra “bulk” on your site. They just want your content. Continue reading “How to easily detect mobile devices”
Choosing a license for your next project
Not so long ago I started working on a new project which I wanted to release under an open source license. But when I went over to the Open Source Initiative I was amazed by the dozens of licences they have for software. Nevertheless I decided to dive into the matter and came up with some guidelines. Continue reading “Choosing a license for your next project”
WordPress plugin: LDB External Links
After my post on how to clean up the target=”_blank” in a WordPress post I decided to turn my code into a WordPress plugin.
WordPress is my CMS of choice but I also love XHTML 1.1 which means that the default way WordPress handles for opening links in a new window doesn’t validate. That’s why I wrote this plugin. Continue reading “WordPress plugin: LDB External Links”
How to zero fill a number in PHP
A while ago I needed to automatically zero fill a number for a quoting system I was working on. I decided to browse the internet to search for a simple code snippit but I could only find code with a while loop that would keep adding zeroes untill the desired string length was reached. Although this seemed okay, I realized it could be done much cleaner, and most important, less draining for system resources. So I wrote the following function. Continue reading “How to zero fill a number in PHP”