Blog entries
2008 Apr 03

Strawberry Perl for Windows.
2008 Apr 01

Oslo Hackathon day -4.
2008 Mar 28

Blogging about Perl outside the community?.
2008 Mar 27

OSCON Proposals rejected.
2008 Mar 26

Preparing for the QA Hackathon in Oslo.
2008 Mar 25

Missing licenses on CPAN modules?.
2008 Mar 24

License of Perl Modules on CPAN.
2007 Dec 24

Joining Technorati?.
2007 Dec 24

Regular Expressions in Perl 5.10.
2007 Dec 24

Switching in Perl 5.10.
2007 Dec 24

Smart Matching in Perl 5.10.
2007 Dec 24

What's new in Perl 5.10? say, //, state.
2007 Dec 23

The Zulo interview was published.
2007 Dec 08

Frequency of programming languages on LinkedIn.
2007 Dec 06

Interview in Zulo.
2007 Dec 06

Sun Startup Essentials Launch.
2007 Aug 25

Testing PostgresSQL.
2007 Aug 25

Testing Pugs and Perl 6.
2007 Aug 22

Testing Ruby.
2007 Aug 22

Testing GHC, the Glasgow Haskell Compiler.
2007 Aug 22

Testing NUT, the Network UPS Tools.
2007 Aug 21

Testing SQLite .
2007 Aug 20

Smoked Parrot.
2007 Aug 20

Quality Assurance of Perl 5.
2007 Jul 09

Using mod_perl for szabgab.com.
2007 Jul 07

Quality Assurance and Automated Testing in Open Source Software.
2007 Jul 07

Add tags to CPAN modules via CPAN::Forum .
2007 Jun 15

Windows on VMware.
2007 Jun 13

Reducing the social gap of the information age.
2007 May 25

Moving to a new server.
2007 May 04

Preparing an application for distribution.
2007 May 01

Spreadsheet::ParseExcel is looking for a maintainer.
2007 Apr 28

CPAN Modules in Linux Distributions.
2007 Apr 18

Version control of single files using Subversion.
2007 Apr 13

Testing results, Perl and CPAN module availability.
2006 Aug 05

Perltraining.org split into two.
2006 Jul 23

Upgrading Ubuntu to 6.06, (Dapper Drake).
2006 Jul 22

Ginger Spam Salad.
2006 Jul 20

Automating the blog.
2006 Jul 19

Wish list: search engine for Perl related sites.
2006 Jul 19

Perltraining.org .
2006 Jul 19

More blog related issues.
2006 Jul 19

Starting a blog.

 

home | blog

Perltraining.org

In 2002 I setup this web site called Perltraining.org. The idea was to create a collection of the training companies so people who are looking for training can locate it more easily. I also wanted to make it easier for the Perl trainers to check out what other courses are out there - maybe in other countries - so they can enhance their own offering.

First, if I remember correctly, I just kept some static file and used the collected information to build the html. Later I tried various ways to let the company owners update the information. I wanted to make it easy for them to keep the information up to date and I also wanted to make sure I am getting the information from the right person.

In order not to build a login system and hand out account to some web application I came up with this idea of collecting XML files from the web sites of the companies. The idea is that the person who can update the XML file on the web site must be the right person to hand out this information.

So I created an XML file and asked the company owners to fill in their information and put the XML file on their web site. I would then go out and periodically grab the file and update the internal XML file. Then it would generate static HTML files from the internal XML file.

I was not sure if I should periodically fetch the files or let the various Perl trainers click on some link on Perltraining.org and initiate a fetch of their xml file. The former would mean that updating the XML file is not reflected immediately on the web site, the latter would mean that - if there is no authentication, someone could request updates from other sites. Back then I decided to go with periodic fetch but now I think I would do both.

Anyway for various reasons a few weeks or months after launching the system I stopped the fetching and basically stopped dealing with the site.

Later on I wrote a web interface to the database - now already using SQLite. The web interface was built in Perl in the Maypole framework. This was mainly in order to learn Maypole, temporarily the system was functioning and a few people update their information but in the end I did not want to go on that direction.

A couple of month ago I decided to start offering courses in PHP as well. In order to prepare the course I started write some PHP code and then came the idea to rewrite the site in PHP. Now that I am offering training in other subject as well and not only in Perl I would enlarge the database and list other open source technologies as well. If I do that, then I can even write the site in PHP.

Trouble came of course when suddenly I did not have time to work on the site any more. It was already functional, some people got access to it, but I did not have time to contact the 50+ people I was in contact earlier. Several month passed and when I wanted to work on the site again I was in trouble. I had no tests, I was afraid to touch the code. So the first thing I did I wrote a bunch of tests covering the administrative interface of the site. I use Test::WWW::Mechanize - a Perl module to test web applications. Now that I have over 400 unit tests I feel reasonable comfortable that the site works and that I can slowly make changes.

Last Update: Tue Sep 25 17:06:26 2007