[英]Accessing SCORM sitting in ec2 instance from a Application server
I need to access a SCORM content through my application (LMS). 我需要通过我的应用程序(LMS)访问SCORM内容。 Now, this content is stored in the filesystem in a different AWS ec2 instance (ubuntu machine).
现在,此内容存储在另一个AWS ec2实例(ubuntu计算机)中的文件系统中。
My server has different application instances installed for serving different clients. 我的服务器安装了用于服务不同客户端的不同应用程序实例。 Each client instance has a separate filesystem repo sitting on a same ec2 server.
每个客户端实例在同一ec2服务器上都有一个单独的文件系统存储库。
How do I maintain that the SCORM opened by a specific user interacts only with the specific client application instance so that SCORM interaction parameter values get saved in the correct database? 如何保持特定用户打开的SCORM仅与特定客户端应用程序实例交互,以便SCORM交互参数值保存在正确的数据库中?
Note : My application does not have a multitenant architecture. 注意:我的应用程序没有多租户架构。
Sorry for a such a generic question, actually I am a little confused hence a little direction would be appreciated so that further I can find my way out. 很抱歉遇到这样一个笼统的问题,实际上我有点困惑,因此希望能有所指导,以便我能进一步找到出路。
SCORM and Cross Domain would require some work. SCORM和跨域需要一些工作。 If you can get the content and the Platform on the same domain that would go easier.
如果您可以在同一域上获得内容和平台,那将变得更加容易。 Another option would be to just get all the content files to point to their CSS/JS/IMG assets on the other server.
另一种选择是仅使所有内容文件指向另一台服务器上的CSS / JS / IMG资产。 Then your playing in the right sandbox.
然后在正确的沙箱中播放。
Short of that there are some IFRAME hacks out there to do the same but it pretty much requires you to touch things that would lend it self to just pointing to all the Assets anyway without the go-between. 简而言之,有一些IFRAME骇客可以做同样的事情,但是它几乎需要您触摸一些东西,这些东西可以使它自动指向所有资产,而无需中间。
SCORM is a JavaScript<->JavaScript communication. SCORM是JavaScript <-> JavaScript通信。 The LMS will send the data stored in a session to the backend commonly on a commit call.
LMS通常会在提交调用时将会话中存储的数据发送到后端。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.