node.js - Express route handler like functionality in Sails applications -


tl;dr there way have sails applications work similar express route handlers?

i'm working on application has few major components (e.g. ecommerce, blogging , on). it's working fine, huge number of models, controllers , views making difficult me visualize them separate components , making me feel little congested comfort.

i've been through threads this , understand nesting available controllers, want split project discrete components.

what i'm doing splitting project different applications , exposing rest apis gluing application show magic. @ least much-needed segregation. how make endpoints accessible gluing application? using req? while give me liberty host other components on machine, slow things down considerably, right? there way interact other processes "directly", route handlers in express (though they're not separate processes)? ideally have them running separate processes 1 component doesn't bring down on failure. @ same time, want interaction "local" possible.

am missing fundamental here? suggestions appreciated.

also, more of serverfault question?


Comments