简体   繁体   English

从应用程序服务器访问EC2实例中的SCORM

[英]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.

相关问题 CakePhp应用程序在EC2 Ubuntu实例上给出500服务器错误 - CakePhp application gives 500 Server Error on EC2 Ubuntu Instance 如何从ec2实例部署PHP应用程序? - How to deploy a PHP application from ec2 instance? 如果第一个 ec2 实例关闭,如何从一个 ec2 实例重定向到另一个 ec2 实例? - How to redirect from one ec2 instance to another ec2 instance if first ec2 instance is down? 将Zend应用程序推送到Amazon EC2实例 - Pushing a Zend Application into Amazon EC2 Instance 如何在AWS Amazon Linux EC2实例上从PHP 7连接到SQL Server实例? - How to do I connect to a SQL Server instance from PHP 7 on an AWS Amazon Linux EC2 instance? 在非AWS服务器上远程访问PHP应用程序的MySQL EC2实例 - Remote access to MySQL EC2 Instance for PHP application on non AWS server 使用phpseclib从一个EC2实例连接到另一个EC2实例 - Connection from one EC2 instance to another EC2 instance using phpseclib 将CakePHP应用程序部署到AWS ElasticBeanstalk EC2实例 - Deploying a CakePHP Application to an AWS ElasticBeanstalk EC2 Instance ec2 AWS 服务器实例上的 S3 图像上传问题 - S3 Image Upload Issue On ec2 AWS server instance 在单个EC2实例上安装Tomcat和PHP服务器是否是一个好习惯 - Is it a good practice to install a Tomcat and PHP server on a single EC2 instance
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM