Port H5P PHP code to Node.js
Submitted by rufusthecat on Mon, 06/29/2015 - 18:42
Forums:
Hi
Do you have a plan to port the code to Node.js and make it work in websites without the need to use Drupal, Joomla or Wordpress. If yes, it is something that I would like to contribute.
Thanks
falcon
Mon, 06/29/2015 - 21:53
Permalink
We do, but unless we get
rufusthecat
Tue, 06/30/2015 - 18:30
Permalink
Node.js project
I could take the lead as I am planning to hire a few JS devs to build a learning content creation platform and was very interested in what you have built so far. Could you give me a sense of how big the project is to transform it into a node.js platform without any connection with Drupal, Wordpress or Joomla.
falcon
Thu, 07/02/2015 - 10:44
Permalink
We've tried to make as little
We've tried to make as little PHP code as possible. All the content types are javascript onlye. I think there is about 1 700 lines of PHP code in the Drupal module.
What is your timeframe for this project? When will you start?
Bruno Winck
Thu, 10/29/2015 - 23:54
Permalink
Same question
I took a look at the PHP code but it's hard to understand what it does is 5 minutes.
Could you give a very rough explanation of what is the use of it?
If it's just persistence and serving a few features, it can be rather fast to create a prototype as a node module and iterate from that. NodeJS tends to be less verbose than PHP and our environment have already capabilities. I used PHP in the past (still do for WP).
If it's much more complex then porting from PHP could be a better option.
Next teaming effort between several companies could make it doable, considering the benefits of reusing H5P.
falcon
Mon, 11/02/2015 - 15:19
Permalink
I think I'll try to add this
I think I'll try to add this to the documentation, but I won't be able to do that right now, so let me just write down what comes to mind and me or someone else may add to it later.
The PHP code handles:
I've probably forgot a lot, but hopefully this might be a start.
bhavin
Thu, 05/04/2017 - 15:09
Permalink
Interested in helping out..
Hey Guys,
I'm at a similar point as the others and would be interested in creating an npm module for h5p (or possibly a plugin for a CMS like ghost or keystone)
Lemme know if I can help..
rodneyt
Sat, 08/05/2017 - 07:08
Permalink
+1
Also interested in npm module for h5p.
~ Rodney / www.ob3.io
castelmager
Mon, 03/04/2019 - 21:07
Permalink
some freelancer who what to develop this ?
Hi, we are very interested in creating an npm module for h5p but we don't have the resources to do it right know.
But if someone want to do a custom development for us, we are happy to discuss the details.