Integrating Moodle into GCD

Tapping a square peg into a round hole — hourly!

Gavin McCullagh

Griffith College Dublin

Specification

[any material that should appear in print but not on the slide]

Problems

[any material that should appear in print but not on the slide]

Solutions

[any material that should appear in print but not on the slide]

Hindsight

[any material that should appear in print but not on the slide]

Future

[any material that should appear in print but not on the slide]

Example of Module Usage

#!/usr/bin/perl

use MoodleUtils;

while(<>) {
  chomp $_;
  my ($username,$fname,$sname,$email) = split /,/, $_;
  my $userID = getUserID($username);
  if($userID > 0) {
    updateUser($userID,$username,$fname,$sname,$email);
  }
  else {
    my $password = int(rand(5100000));
    insertUser($username,$fname,$sname,$email,$password);
    sendNewAccountEmail($email,$username,$password);
  }
}

[any material that should appear in print but not on the slide]

Thanks

[any material that should appear in print but not on the slide]