In this talk, we'll use Rocket.Chat's open source apps-engine as an example of how to use a VM module native to the platform, and how to create the core of an external plugin system on top of Node.js virtual machine.
This talk was given at Codementor Event’s annual developer conference, and it covers:
Why external plugins?
Environment requirements for the system
The Node.JS virtual machine Module
The structure of a plugin
Interacting with a plugin
When Douglas is not coding and worrying about developer experience and code semantics, he is studying languages or playing video-games with his kid.
🔗 Link to #DGS2022 developer conference page
https://www.codementor.io/events/deve...
📆 Codementor Events
https://www.codementor.io/events
💻 Find a coding mentor
https://www.codementor.io
Timestamps:
1:12 Introduction
2:20 Introduction to rocket.chat
3:21 What are we talking about today?
4:02 Why External Plugins?
6:26 Environment Requirements
9:42 Node.js VM module
12:06 What we need to use the VM module
13:40 The structure of a plugin
24:20 What we've done so far
25:11 Interacting with the plugin
28:11 What we can do with the plugin now
29:41 Caveats
35:58 Q&A
---
Follow Douglas on his socials:
🔷 LinkedIn: / douglas-gubert-66798127
🐦 Twitter: / d_gubert
🐱 GitHub: https://github.com/d-gubert
---
👋 Stay connected with us on social:
Twitter: / codementorio
LinkedIn: / codementor
Facebook: / codementor
#VirtualMachine #Node.js #Node.jsTutorial #HowToUseAVirtualMachine #Node.jsWebApplication