Category Archives: Run Time Environment

Step 18 – cmi.core.score._children and cmi.core.score.raw

After that last post, I think I’ll look at a nice easy one. The score for the course is stored in an element called cmi.core.score.raw. Actually, this is just one of a group of 3 elements that relate to the … Continue reading

Posted in Run Time Environment | 1 Comment

Step 17 – cmi.core.total_time and cmi.core.session_time

Let’s look at another pair of SCORM 1.2 data elements – cmi.core.total_time and cmi.core.session_time. These elements are used to track the amount of time that the student spends on the course. Now, I could argue that the whole concept of … Continue reading

Posted in Run Time Environment | 2 Comments

Step 16 – Read-Only Elements and LMSSetValue

When reading the last post, you might have wondered why I didn’t do anything about the LMSSetValue() API call and associated server-side code since cmi.core._children, cmi.core.student_name and cmi.core.student_id data elements are all specified as read-only elements. The simple answer is … Continue reading

Posted in Run Time Environment | 1 Comment

Step 15 – cmi.core.student_id and cmi.core.student_name

According to the SCORM specification, cmi.core.student_name and cmi.core.student_id are read-only data elements. They simply return the name of the student as stored by the LMS (in lastname, firstname format), and an ID number for the student stored by the LMS. … Continue reading

Posted in Run Time Environment | 1 Comment

Step 14 – cmi.core._children

When (if) the course issues the LMSGetValue(‘cmi.core._children’) call, it expects to see a value returned from the LMS. But what is that value? The SCORM standard says that the cmi.core._children data element should store a list of the other data … Continue reading

Posted in Run Time Environment | 2 Comments

Step 13 – The SCORM 1.2 Data Model

At the moment, I’m simply dumping data from the course into a database table, and reading it back from that same table without paying any attention to what the variables actually mean. And, so far, I’ve got away with it. … Continue reading

Posted in Run Time Environment | 1 Comment

Step 12 – Revisiting the API – Flushing the Buffers

On reflection, in Step 10 I may have been a little quick to say that I could ignore the LMSCommit() and LMSFinish() API calls. Even though I don’t have my own buffering system, I’m essentially taking advantage of AJAX to … Continue reading

Posted in Run Time Environment | Leave a comment

Download VS SCORM Rev 0.A

I’ve finished my first test run successfully. At this time, you can download a copy of the code that I’ve written so far. However, it’s important to note that – right now – this is a VERY incomplete implementation of … Continue reading

Posted in Run Time Environment | 1 Comment

Step 11 – Testing It Out Again

Now I’m going to run the course again and see if my AJAX requests work. This is what I get:

Posted in Run Time Environment | 4 Comments

Step 10 – Other SCORM API Functions

I’ve implemented revised versions of my LMSGetValue() and LMSSetValue() functions. It’s time to check the other functions to see if there’s anything that I need to do right now.

Posted in Run Time Environment | 3 Comments