Author Archives: Steve Addison

Download VS SCORM 1.2 Manifest Reader Rev 1.1

A reader has identified a problem with Rev 1.0 of the IMS Manifest File Reader which causes the parser to fail when there’s a resource that doesn’t have any files associated with it. Rev 1.1 corrects this bug. The only … Continue reading

Posted in Content Aggregation Model | 1 Comment

Step 50 – Testing the Caching VSSCORM 1.2 RTE

Time to run a few tests. I start with the test case that I’ve been using since Step 3. Just to make sure that everything is working, I run it part-way through then close the window using the ‘x’ at … Continue reading

Posted in Run Time Environment | 2 Comments

Step 49 – SCO Initialization

I’ve addressed handling of the LMSSetValue() and LMSGetValue(), LMSCommit(), and LMSFinish() calls. The remaining piece of the puzzle is to look at how the RTE is initialized. In Rev 1 of the code, the course/SCO call to LMSInitialize() caused an … Continue reading

Posted in Run Time Environment | Comments Off on Step 49 – SCO Initialization

Step 48 – LMSFinish(), and Unexpected Closure

In theory, the way that I handle the LMSFinish() API call should be pretty much the same as for Rev 1 of my code. I simply generate an AJAX request to the server which runs a PHP script that carries … Continue reading

Posted in Run Time Environment | 1 Comment

Step 47 – LMSCommit()

The LMSCommit() API call is a little more complicated, but it bears a strong resemblence to the way that I handled LMSSetValue() in Rev 1 of the code – see this post for more details. What I’m going to do … Continue reading

Posted in Run Time Environment | Comments Off on Step 47 – LMSCommit()

Step 46 – Making LMSSetValue() and LMSGetValue() Talk to the Cache

Unless I’m missing something obvious, reading from and writing to the cache is pretty simple – certainly a lot simpler than the AJAX calls that I was having to make! Here’s how I’m going to handle it.

Posted in Run Time Environment | Comments Off on Step 46 – Making LMSSetValue() and LMSGetValue() Talk to the Cache

Retracing Step 45 – Using a JavaScript Object as the Cache

I’m grateful to reader ‘Legend’ who suggested that I use a JavaScript object as a cache rather than a set of variables. So my cache would look like this:

Posted in Run Time Environment | Comments Off on Retracing Step 45 – Using a JavaScript Object as the Cache

Step 45 – Building the Cache, and Variable Names

IMPORTANT: THIS POST IS NOW OBSOLETESEE THIS POST FOR MORE DETAILS 

Posted in Run Time Environment | 2 Comments

Step 44 – Basic Structure of the Caching RTE

Time to sketch out the structure of my caching RTE code. Just to recap, here’s the current version of the VSSCORM RTE which has no caching mechanism – all transactions are immediately reflected in the persistent storage (LMS database).

Posted in Run Time Environment | 1 Comment

Step 43 – The Need for Speed

Over the last couple of weeks, I’ve had some very useful feedback and suggestions for the future direction of my project. And I’d like to thank everyone for the suggestions – I’m certainly going to try to address them going … Continue reading

Posted in Run Time Environment | Comments Off on Step 43 – The Need for Speed