orb '$' simplification
eldoy opened this issue · comments
It's more verbose, but maybe we can simplify the '$' object? It's easier to know where it comes from and is defined if we have to explicity write it, also easier to document.
Right now object are a little 'all over the place' and in multiple locations.
$.params > $.req.params
$.query > $.req.query
$.files > $.req.files
$.db > $.plugins.db
$.net > $.plugins.net
Plugins implode at $.app.plugins at the moment. We can't really used that, too much typing?
$.db > $.app.plugins.db
The most used plugins likedb
could possibly just be made global?
$.db > db
At least document the short cuts?