如何在 Objective-C 中实现 SCORM

发布于 2024-09-04 11:12:33 字数 303 浏览 6 评论 0原文

您知道如何在 Objective C 中针对电子学习内容实施SCORM(可共享内容对象参考模型)吗?让我向您解释一下我到底在寻找什么。

我有一份 MCQ(多项选择题)申请,其中有 4 个问题。在尝试每一个问题时,我希望我的应用程序能够与 SCORM 兼容服务器进行交互并得到结果(无论用户是否尝试了正确的问题)。沟通渠道应该是来回的。可能在 MCQ 结束时,我想显示来自服务器的一些计算结果**(例如分数:85% 尝试次数:16 平均分数:16.7% 等)**。

我该怎么办?如果您已经实现了,请

指导 兰詹。

Do you know how to implement SCORM (Sharable Content Object Reference Model) in Objective C for eLearning content? Let me explain you what exactly I am looking for.

I have one MCQ (multiple choice question) application which has 4 questions. On attempting each question I want my application to interact with a SCORM compatible server with result (whether the user has attempted correct one or not). The communication channel should be to and fro. May be at the end of the MCQ I want to show result which will come from the server with some calculations**(like Score : 85% number of attempts : 16 average score:16.7% etc.)**.

How should I go about it? Please guide if you have already achieved it

regards
Ranjan.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

一口甜 2024-09-11 11:12:33

恐怕事情没那么简单,原因有二。

1) SCORM需要一个“玩家”来沟通。您无法通过 SCORM 从应用程序直接与服务器通信。 SCORM LMS 需要启动您的应用程序并提供通信通道。

2) SCORM定义的通信通道是通过JavaScript实现的。 SCORM 设计为在浏览器中运行,而不一定在应用程序中运行。

如果您的应用程序将在 iPxx 上的 SCORM 播放器上下文中播放,那么您的技巧就是启用 Objective C 和 JavaScript 之间的通信。我对 Objective C 的了解不够,无法告诉你如何做到这一点,但如果你能做到这一点,剩下的就是 直接的 SCORM

SCORM 目前已有 10 年历史,正在进行现代化改造以支持您所描述的用例。其中一个现代化项目由 LETSI 实施,涉及为 SCORM 创建基于 Web 服务的通信 API。它现在处于早期发布阶段,但它的原型是用于传送 iPhone 内容。希望业界很快就能开始支持其中一些更现代的技术。

I'm afraid it's not quite that simple for two reasons.

1) SCORM requires a "player" to communicate with. You can't directly communicate with a server from your application via SCORM. The SCORM LMS needs to launch your application and provide the communication channel.

2) The communication channel defined by SCORM is via JavaScript. SCORM is designed to operate in the browser not necessarily in applications.

If you application will be played in the context of a SCORM player on the iPxx then the trick for you is enabling communication between Objective C and JavaScript. I don't know enough about Objective C to tell you how to do that, but if you can make it happen, the rest is just straightforward SCORM.

SCORM is currently 10 years old and is in the process of being modernized to support use cases like you describe. One of those modernization projects is being conducted by LETSI and involves the creation of a web services based communication API for SCORM. It is in early release now, but it is has been prototyped for delivering iPhone content. Hopefully the industry will begin to support some of these more modern technologies soon.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文