Open 3rd-Eden opened 12 years ago
The plugin interface is "okay" but it's to molded to much around a middleware interface that is supported by connect / express et all..
To make the core more clear we should extract some logic.
var square = require('square/plugin'); // some plugin tools exports.configuration = { key: value, setting: 13131 } exports.description = "bla bla bla" exports.name = "bla bla bla bla" exports.type = square.modifier; // type of plugin, modifies content, or something else. exports.version = "1.0.0"; // plugin version exports.init = function (configuration, fn) { };
or something simple like that
The plugin interface has been written, still needs tests and transform old style plugins to the new interface.
The plugin interface is "okay" but it's to molded to much around a middleware interface that is supported by connect / express et all..
To make the core more clear we should extract some logic.
or something simple like that