Requiring Local Parent Modules from Inside a Module

  • GNU/Linux Admin

    The following is a repost from the DesignCreatePlay blog.

    Part of making NodeBB extensible is programming a plugin system, similar to CMS platforms like Wordpress and Drupal. The plugins themselves enhance the base feature set of NodeBB and allow the community to accelerate development of features that they deem necessary, not the core developers.

    Prior to today, the plugin system was fairly unremarkable. It loaded plugins from the /plugins folder* or via node modules installed via npm, and exposed system functionality via a set of hooks. This meant that plugins themselves were essentially standalone, and that all logic was contained within the module itself.

    Click here to read the rest of the blog post

  • This post is deleted!

  • This post is deleted!

Suggested Topics

| | | |