h5p/h5p-cli

iron route implementation

Closed this issue · 1 comments

Hi,

My intention is building mobile web app (cordova/phonegate). According to my research, on the server side with cordova, it is usually with iron routes. There are three options for me currently:

  1. Express <-> Cordova (not sure how to do it yet, I saw https://github.com/jxcore/jxcore but the project was closed)
  2. Change h5p server to iron route for meteorjs development.
  3. Change h5p server to iron route for Cordova development.

I may check this further: http://stackoverflow.com/questions/23045986/is-there-an-easy-way-to-convert-an-express-app-to-meteor. Would it be difficult to change to iron routes from your point of view?

On the other hand, I tried to import express in meteor (from 1.3, in theory, we can use npm package directly) but with many errors of "CKEDIT and jQuery not defined" in the Assets (h5p core and editor) Part. Maybe it is because the loading order (still not sure yet). I did not diving to the code of H5P libs (H5P-integration included), any other possiblity if you know? Thanks.

Any suggestion would be really appreciated.

Hi, I did a little further research. I will try express + Cordova first. I also reviewed the server code. The code is quite simple that return the h5p content by app.get("/".function(req,res){}). It should not be complicated. If I have further questions about the code I will ask again. Thank you anyways.