Each extension can have access to their specific database or even modify the core database for example to define new menus or themes. MoNoApps Core provides a way to reuse layouts, models, views and controllers defined in the ‘core’ project that can be extended following next examples:
We are still improving the way to create plugins and the way to define they in order to be fully understood by the community. The plugin definition must be in a file. We provide a generic naming but can be replaced for more conventional names:
"APIVARS": {
"PRE": "/",
"ID": "/:id",
"PLUGINS": {
"DIR": "/plugins",
"MAIN": "/plugin.js",
"VIEWS": "/views",
"CONFIG": "/config.json"
},
"plugins": [
"wizard"
]
Migration: https://github.com/MoNoApps/plank/blob/master/migrations/seed.js
Plugin.js: https://github.com/MoNoApps/plank/blob/master/plank.js
Views: https://github.com/MoNoApps/plank/blob/master/views/bamboo/index.jade
Config: https://github.com/MoNoApps/wizard/blob/master/config.json
Config: https://github.com/MoNoApps/plank/blob/master/config.json
Remember register on core/config.json the plugin's list