Integration of SCORM with PHP/Yii [closed]

倖福魔咒の 提交于 2020-01-14 02:37:20

问题


Practically I am new to SCORM implementation in PHP.

Theoretically I covered these areas before asking a question here -

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

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

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

My concerns and queries -

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 cloud looks good but it is costlier http://scorm.com/scorm-solved/scorm-cloud-features/ after 100MB so I am unable to use it for now.

Checked chamilo SCORM as well but it is another LMS.

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

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

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


回答1:


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

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) A SCORM engine, in javascript, that will communicate with the SCORM content

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

(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)

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.com'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).




回答2:


If you truly want to build SCORM into your PHP system, have a second look at Chamilo, as well as Moodle. They are open-source, written in PHP, and contain everything you would need to 'bake' SCORM support into your system.

If you don't know what SCORM is or how it works, you need to read the documentation.



来源:https://stackoverflow.com/questions/18059776/integration-of-scorm-with-php-yii

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!