Skip to content
Gerhard Richard Edens edited this page May 26, 2015 · 3 revisions

NodeJS Modules

If we take a look at the node directory we will see the following files in there:

  • main ExternalIO.js
  • main GitHub.js
  • main MendixCLI.js
  • main MendixMPKArchiver.js

main ExternalIO.js

This backend-layer script is used to alter the folder structure. The folder names, file names and content of files. When you select "File" -> "New Widget" the content you type in is used for this process.

main GitHub.js

Without the AppStoreWidgetBoilerplate it is a little bit hard to start building your custom widget. That is why this backend-layer provides the ability to download the latest release from the AppStoreWidgetBoilerplate. We use the octonode node module from GitHub for this.

main MendixCLI.js

We can startup Mendix with a single F7 key stroke. The MendixCLI.js JavaScript provides this ability to the plugin.

main MendixMPKArchiver.js

Once of the key features of the plugin is to package the source file of your AppStoreWidgetBoilerplate to an MPK file that can be used with the test project provided in the AppStoreWidgetBoilerplate. This script does that all.

Clone this wiki locally