Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suport for Plugins as NPM packages. #15

Closed
albertosouza opened this issue Feb 10, 2014 · 3 comments
Closed

Suport for Plugins as NPM packages. #15

albertosouza opened this issue Feb 10, 2014 · 3 comments

Comments

@albertosouza
Copy link
Member

Need to split this system into smaller parts that could be installable according to user demands.

Could be NPM packages

These plugins could have:
urls
One controller
One model

And a reference is to client side bower package.

Could operate so as follows:

$ we install messenger 

TODO check if this is better add this feature in sails.js

@albertosouza albertosouza added this to the Release v0.1.0 milestone Feb 10, 2014
@albertosouza
Copy link
Member Author

Sails has suport for hooks and in 0.10 will be better and functional ... but how to make it simple to install plugins?

References to sails hooks:
https://gist.github.com/mikermcneil/5746660
https://github.com/balderdashy/sails/tree/v0.10/lib/hooks#custom-hooks--plugins
https://github.com/balderdashy/sails/blob/master/lib/hooks/README.md

@albertosouza
Copy link
Member Author

Docs about sails.js events for use in hooks: https://gist.github.com/mikermcneil/5898598
And: balderdashy/sails#1522

@albertosouza
Copy link
Member Author

done with https://github.com/wejs/we-plugin-file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant