我花了相当多的时间搜索 SCORM 1.2 API 教程/示例,结果证明这是一项相当困难的任务。
我发现的唯一样本是这样的:http://www.vsscorm.net/2009/05/30/ground-rules/ http://www.vsscorm.net/2009/05/30/ground-rules/
这是一个可靠的教程,但我想从其他来源找到更多信息。
感谢所有建议。
就像 Andrew 提到的,自己完全实施 SCORM 确实很困难。
我相信 Moodle 甚至不支持 Scorm 2004。
相比之下,AICC 非常容易实现,但在完成时进行重定向等更难,并且功能较少。
在我的系统中,我实现了最少的功能集来支持使用 Articulate 等工具生成的简单课程。不同的课程以不同的顺序调用 api,或者在模型中获取/设置不同的值,因此您可能需要仔细测试任何新的课程格式。我发现最难的部分是补偿不同课程所表现出的不同行为。
你提到的vsscorm其实是一步步最好的
我发现我认为如何实现服务器端的解释
随着他实施的工作越来越多,他的职位数量达到了 60 个。
http://www.vsscorm.net/ http://www.vsscorm.net/
一旦你让它与服务器通信,Rusici 文档和运行时
API参考对于参考模型值描述和
默认值
http://scorm.com/scorm-explained/technical-scorm/run-time/run-time-reference/ http://scorm.com/scorm-explained/technical-scorm/run-time/run-time-reference/
Pipwerks 有一些有趣的工具和博客文章,尽管它们是
主要专注于课程创建。
http://pipwerks.com/downloads/ http://pipwerks.com/downloads/
还有 ADL 文档,但我已经很久没有查看它们了。http://www.adlnet.gov/scorm/scorm-version-1-2/ http://www.adlnet.gov/scorm/scorm-version-1-2/
如果您下载 Scorm 1.2 版本(基本运行时调用)并将下面发布的代码放入课程根目录的 html 文件中,然后通过 Web 服务器在浏览器中打开该页面,这将使课程认为它位于LMS 足以不会抱怨,并且会记录它所做的所有 api 调用。
http://scorm.com/scorm-explained/technical-scorm/golf-examples/ http://scorm.com/scorm-explained/technical-scorm/golf-examples/
<html>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
<script>
var API = {};
(function ($) {
$(document).ready(setupScormApi());
function setupScormApi() {
API.LMSInitialize = LMSInitialize;
API.LMSGetValue = LMSGetValue;
API.LMSSetValue = LMSSetValue;
API.LMSCommit = LMSCommit;
API.LMSFinish = LMSFinish;
API.LMSGetLastError = LMSGetLastError;
API.LMSGetDiagnostic = LMSGetDiagnostic;
API.LMSGetErrorString = LMSGetErrorString;
window.open("shared/launchpage.html", "popupname","resizable,scrollbars,status");
}
function LMSInitialize(initializeInput) {
displayLog("LMSInitialize: " + initializeInput);
return true;
}
function LMSGetValue(varname) {
displayLog("LMSGetValue: " + varname);
return "";
}
function LMSSetValue(varname, varvalue) {
displayLog("LMSSetValue: " + varname + "=" + varvalue);
return "";
}
function LMSCommit(commitInput) {
displayLog("LMSCommit: " + commitInput);
return true;
}
function LMSFinish(finishInput) {
displayLog("LMSFinish: " + finishInput);
return true;
}
function LMSGetLastError() {
displayLog("LMSGetLastError: ");
return 0;
}
function LMSGetDiagnostic(errorCode) {
displayLog("LMSGetDiagnostic: " + errorCode);
return "";
}
function LMSGetErrorString(errorCode) {
displayLog("LMSGetErrorString: " + errorCode);
return "";
}
function displayLog(textToDisplay){
var loggerWindow = document.getElementById("logDisplay");
var item = document.createElement("div");
item.innerText = textToDisplay;
loggerWindow.appendChild(item);
}
})(jQuery);
</script>
<div id="logDisplay">
</div>
</html>
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)