Drupal / Moodle integration modules

I'm the current owner of a pair of Drupal modules which help integrate the Drupal content management framework with the Moodle learning management system. Drupal and Moodle are among the best open-source packages in their respective spaces, and are likewise both very popular.

The two Moodle modules are named moodle and moodlesso. Recently, I committed a new branch to the moodle module tagged 6.x-2.0. This branch is the start of a new direction I want to take with both modules.

Previous versions of the moodle module provided an iframe within which the Moodle site was displayed, and allowed a form of Single Sign On (SSO). SSO was provided by configuring Moodle to use database authentication, using an HTTP GET request with the username and password loaded into the request parameters, and giving Moodle access to the Drupal installation's users table in its database.

This method was kind of hackish and also a security risk.

With the new moodle module branch, I am shifting the module's focus strictly toward data integration features. In fact, there is essentially nothing from the previous versions in the new version as far as code goes. Only the ability to have a menu link to take a user to the Moodle site remains as a common feature between the two branches.

The moodlesso module will become the focal point for any SSO capabilities. As originally coded, it used some unsupported session token capabilities. My plan is to try to add several different SSO methods to this module and allow the admin to choose the best method for his or her environment. Currently this module has no new code or releases, but I am hoping to have something useful in the next few months.

To allow data integration, the moodle module requires a plugin on the Moodle side. Because the existing methods for accessing Moodle as a web service had a number of shortcomings and complexities I didn't want to work with, I wrote a new web service interface for my Drupal module to query. It uses a RESTful model for services, and for lack of a better name, it's called the Quick API. The code can be obtained from the Google code repository for the moment. Hopefully, the whole thing can be hosted in a better arrangement in the future.

Comments

hey i want to know how to

hey i want to know how to integrate moodle with drupal.... if u have any idea or suggestions post to me...
thanks:)

Hi Chris, There appears to be

Hi Chris,

There appears to be a typo in the blog post: the link for moodlesso points to http://drupal.org/project/moodlesoo instead of http://drupal.org/project/moodlesso.

Is moodlesso available for Drupal 6.x (or are there plans for it?).

Thanks for taking this on...
Rachel

Rachel, Thanks for pointing

Rachel,

Thanks for pointing out the typo. I've fixed it.

The moodlesso module is not yet ported to Drupal 6. I had hoped to have that done, with new features by now. However, I've been busy with other projects, so have not gotten to it -- I'm sorry.

..chris

We've also been tinkering

We've also been tinkering around with import/export functionality from Drupal Quiz to Moodle, so you can export Quiz questions and import them into Moodle, or vice versa. http://drupal.org/project/quiz

Ha! what the shizzle

Ha! what the shizzle

This is all well and good (if

This is all well and good (if you don't mind your surfing habits being recorded) but what happens if you visit a private page? Well, that information is still sent to Alexa and shows up in their search results..
http://www.bingoodds.co.uk/

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options