Update RubyGems on Ubuntu 9.04 (Jaunty)

Posted on the 10th of January 2010

Happy new year everyone! It has been a bit silent from my side lately – due to being extremely busy with new job and so on. Yesterday I took the freedom to setup a new Linode on their recently added London datacenters. I’m from Europe myself so I thought that using a EU host would probably give me a lot better performance. I was right.

I then decided to check out Ubuntu 9.04 Jaunty. But ran in to a problem when I wanted to update the RubyGems installation. But after playing around a little I found the following solution:

gem install rubygems-update
cd /var/lib/gems/1.8/bin
./update_rubygems

That solved the problem :)


18 Impressive Web Form Validation Scripts

Posted on the 18th of November 2009

This post is related to my jQuery tutorial about simple form validation I wrote the other day. dzineblog has a post about 18 Impressive Web Form Validation Scripts to Enhance User Experience. I thought that that would be worth mentioning, since I can see I get a lot of hits on form validation these days.

posted in Development, Javascript

jQuery: Clientside Form validation

Posted on the 11th of November 2009

This is the first tutorial of many, which covers jQuery. My favorite javascript library. In this post we will cover how to create a simple form client-side validation script.

Read more…

posted in Javascript, Usability

PHP: Send mail the simple way

Posted on the 31st of October 2009

One of the fun things of doing web programming, is when you make something that isn’t just visual appealing – but also gives you responds and integrate with other things. In this post I will give a tiny very simple example on how to send a basic text email using PHP.

Read more…

posted in Development, PHP

PHP: Data Access Objects part 1

Posted on the 28th of October 2009

In this post I will cover the use of Data Access Objects (DAO) in PHP. The primary goal by doing so is greater abstraction by seperating the layers as well as covering some of the new techniques of PHP5. It will also come as a great help for you who create massive database web-applications which often result in a lot of duplicate code.

Read more…

posted in Development, PHP