SCORM 与 PHP/Yii 的集成

编程入门 行业动态 更新时间:2024-10-10 11:28:46
本文介绍了SCORM 与 PHP/Yii 的集成的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

限时送ChatGPT账号..

实际上,我是 PHP 中 SCORM 实现的新手.

Practically I am new to SCORM implementation in PHP.

理论上我在这里提问之前已经涵盖了这些领域 -

Theoretically I covered these areas before asking a question here -

已经看过 Wiki SCORM 理论上它意味着什么.(有点标准随后用于交付内容).

Already looked at Wiki SCORM that what does it means theoretically.(kinda standard to be followed for delivering content).

阅读有关moodle和SCORM的信息(但可能我需要在Yii中设计我的应用程序,搜索了扩展但在存储库中没有找到).

Read about the moodle and SCORM(but may be I need to design my app in Yii, searched extensions but found none at repository).

阅读 http://scorm/ 上的大部分内容并检查其 PHP 库.

Read most of the stuff at http://scorm/ and checked its PHP Library as well.

我的顾虑和疑问 -

我熟悉 PHP,所以我如何创建一个上传 SCORM 包的应用程序,测试它是否符合 SCORM,然后可以运行 SCORM 包.在创建这样的应用程序时,我需要记住哪些事情.

I am familiar with PHP so how could I create an app that uploads an SCORM package, test it if its SCORM compliant and then can run the SCORM package. What are the things I need to keep in mind while creating such an app.

SCORM 云看起来不错,但成本更高 http://scorm/scom-solved/scorm-cloud-features/ 在 100MB 之后,所以我现在无法使用它.

SCORM cloud looks good but it is costlier http://scorm/scorm-solved/scorm-cloud-features/ after 100MB so I am unable to use it for now.

也检查了 chamilo SCORM 但它是另一个 LMS.

Checked chamilo SCORM as well but it is another LMS.

请为我提供一些 php 中的实现/github 代码/小应用程序示例,我可以从中进一步进行.

Please provide me some example of implementation/github code/small app in php from which I can proceed further.

我知道解决方案会有点冗长,但在问之前相信我,我几乎检查了所有答案https://stackoverflow/questions/tagged/scorm 看起来没有任何好处.

I know the solution is going to be little lengthy but believe me before asking I nearly checked all answer https://stackoverflow/questions/tagged/scorm and none looks beneficial.

仅供参考 - 我也检查了这个 https://cloud.scorm/ 那么 SCORM对我来说很清楚,但它在 PHP 中的简单实现链接没有找到.

FYI - I checked this as well https://cloud.scorm/ so what SCORM is clear to me but its link for its implementation in PHP in simple terms found no where.

推荐答案

使用 PHP 构建 SCORM 播放器后,您需要:

Having built a SCORM player in PHP, here's what you need:

a) 一个导入器,它从 imsmanifest.xml 文件中读取 XML 并在需要时在您的系统中创建一个表示.这个文件最重要的是找到SCORM内容的启动点"

a) An importer, that reads XML from the imsmanifest.xml file and creates a representation in your system, if needed. The most important thing in this file is to find the "launch point" of the SCORM content

b) 一个 SCORM 引擎,在 javascript 中,将与 SCORM 内容进行通信

b) A SCORM engine, in javascript, that will communicate with the SCORM content

c) 一个数据库后端,用于存储需要存储的内容(基于规范)

c) A database backend, to store what needs to be stored (based on the specification)

(b) 上面是最重要也是最难的部分,但是作为一个完整的开源代码也比较容易找到(例如,efront 包含一个实现,在 www/js/LMSFuctions.php) 内

(b) above is the most important and difficult part, but it's also relatively easy to find as a complete piece of open source code (for example, efront contains an implementation, inside www/js/LMSFuctions.php)

说了这么多,并且多年来一直支持 SCORM 内容,我可以告诉你,从头开始实施 SCORM 是困难的,但更难的是让它适用于所有供应商,因为有许多实施,每个都有自己的难点.如果您是为商业受众执行此操作,我强烈建议您使用现成的实现(scorm 确实很棒,但带有您提到的所有缺点).否则,您最终可能会支持它的时间比您想要的要多得多(并为此付出了代价).

Having said this and having supported SCORM content for years, I can tell you that implementing SCORM from scratch is difficult, but even more difficult is to make it work for all vendors, since there are many implementations each with its own tricky points. If you're doing this for a commercial audience, I would strongly suggest to go with a ready made implementation (scorm's is really great, but comes with all the drawbacks you've mentioned). Otherwise you may end up supporting it for much more time than you would want to (and was paid for).

这篇关于SCORM 与 PHP/Yii 的集成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

更多推荐

[db:关键词]

本文发布于:2023-04-23 18:54:40,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1047461.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:SCORM   PHP   Yii

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!