We are in the process of updating our documentation and want to ensure that we are providing valuable resources for the Seneca community.
This would be a great place to gather feedback from the community on any areas they wish to see documented.
We are in the process of updating our documentation and want to ensure that we are providing valuable resources for the Seneca community.
This would be a great place to gather feedback from the community on any areas they wish to see documented.
Oh, another one: it seems that every projects uses a sort of template for the Readme. Well, this is good, but I think this template should be made more simple to read: it is useless to keep the seneca logo on the top and yes, I know that this plugin is part of the seneca framework. These are notes that should be pushed at the bottom. As a developer I need to make my decision, try and fail fast. So I need to be able to take a quick glance over the Readme: About (what and when), then install and then how to use (how and where) . Finally why and who.
thanks for the feedback @pibi much appreciated
var Seneca = require('seneca');
var fooAction = function (args, done) {
done('bar');
};
var plugin = function () {
this.add({role: 'plugin', cmd: 'foo'}, fooAction);
};
var seneca = Seneca()
.use(plugin)
.add({role: 'action', cmd: 'foo'}, fooAction);
console.log(seneca.has({role: 'plugin', cmd: 'foo'})); // false
console.log(seneca.has({role: 'action', cmd: 'foo'})); // true
seneca.ready(function () {
console.log(seneca.has({role: 'plugin', cmd: 'foo'})); // true
console.log(seneca.has({role: 'action', cmd: 'foo'})); // true
});
Only simple examples and documentation which only gives a small side of the story are available. Make the canvas bigger if possible:
Sorry, not an expert myself, but that's why I'm here in the first place :) - just blurting out whatever came to mind. In short more PRACTICAL scenarios based on PRODUCTION setup.
thanks guys this is all very useful to us
Following gitter discussion:
After 3 weeks on Seneca this is my take on the project:
act
(false$:true) andadd