Desktop applications vs. web applications

It’s been a few years since the old desktop application versus web application debate started and it seems we’ve come a long way since then. I was recently talking to some fellow back-end webdevelopers and we came across some interesting changes in the views of clients, employers and ourselves.

It’s been a few years since the old desktop application versus web application debate started and it seems we’ve come a long way since then. I was recently talking to some fellow back-end webdevelopers and we came across some interesting changes in the views of clients, employers and ourselves. Continue reading “Desktop applications vs. web applications”

Use PHP to get the number of items for a domain on Digg.com

Whilst working on my semi-automated SEO scan I wanted to get the number of listings for a given domain on some social bookmarking websites. Of course Digg.com is a very well-known and widely-used bookmarking website but sadly they don’t offer a nice XML or JSON API to check the number of listings. That’s why I wrote the following code to retrieve this number.

Whilst working on my semi-automated SEO scan I wanted to get the number of listings for a given domain on some social bookmarking websites. Of course Digg.com is a very well-known and widely-used bookmarking website but sadly they don’t offer a nice XML or JSON API to check the number of listings. That’s why I wrote the following code to retrieve this number. Continue reading “Use PHP to get the number of items for a domain on Digg.com”

Why I prefer SQL Buddy over PHPMyAdmin

I’ve been a PHPMyAdmin user for years now and I’ve embraced it because there didn’t seem to be a better solution, unless you love the command-line, that is. Well those days are over since I found out about SQL Buddy with it’s slick user interface. I switched instantly.

I’ve been a PHPMyAdmin user for years now and I’ve embraced it because there didn’t seem to be a better solution, unless you love the command-line, that is. Well those days are over since I found out about SQL Buddy with it’s slick user interface. I switched instantly. Continue reading “Why I prefer SQL Buddy over PHPMyAdmin”

Prevent your CSS and Javascript files from being cached

Sometimes you just don’t want your CSS or Javascript files to be cached. That’s why I use the following code snippit to prevent this.

Sometimes you just don’t want your CSS or Javascript files to be cached. For instance, I don’t feeling like having to explain to a customer how to disable their cache during the development of their new website whenever they have early access or want to take a peek and don’t see the desired changes I already implemented, just because they have some greedy cache setting. Continue reading “Prevent your CSS and Javascript files from being cached”

APC vs. Memcached

In this article I compare APC and Memcached. Two caching methods I studied for a PHP MVC Framework I constructed for a client.

A while ago I was asked to develop a PHP MVC framework from scratch with hooks for caching. After building the MVC framework I decided to take a look at the two preferred caching methods, Memcached and APC, for this particular framework. Below you’ll find some reasons why you should choose the one or the other. Continue reading “APC vs. Memcached”