Category Archives: Run Time Environment

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 | Leave a comment

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 | Leave a comment

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 | Leave a comment

Download VS SCORM 1.2 RTE Rev 1.1

This release corrects an error in ‘getValue.php’ where the ‘readElement’ function is incorrectly called with 2 input parameters. You can download the code bundle using this link.   For instructions on using this code, please see this page.

Posted in Run Time Environment | Leave a comment

Download VS SCORM 1.2 RTE Rev 1.0

At this time, I’m going to pause development of the VS SCORM 1.2 Run-Time Environment (RTE) since my implementation seems to work well enough for my purposes, and tidy it up for formal release as Rev 1.0. As I noted … Continue reading

Posted in Run Time Environment | 10 Comments

Step 29 – Transferring the SCO Instance ID

In my last post, I looked at the changes that I needed to make to the “scormvars” database table, and to the database-specific functions in the subs.php file to support the SCOInstanceID. Now, I have to figure out how to … Continue reading

Posted in Run Time Environment | 1 Comment

Step 28 – Implementing SCO Instances in the Database

I’m going to start working from the bottom of my new code structure upwards starting with the database and the subs.php file (bear with me … this does make sense!). I’ll start by modifying the table structure for the “scormvars” … Continue reading

Posted in Run Time Environment | 3 Comments

Step 27 – Multiple Students and Multiple SCOs

A student can access multiple SCOs, and a SCO can be accessed by multiple students. So I start with a many-to-many relationship like this.

Posted in Run Time Environment | Leave a comment