|
|
|
|
|
by piercey4
3662 days ago
|
|
Caching can easily be shared, @rill/loader works perfectly for my needs. For everything else you are more or less correct. However like i've mentioned Rill works perfectly fine as a standalone server side framework or a standalone browser framework. Everything you mentioned is achievable with Rill. I have found two simple ways to Isolate server only code in Rill. 1) Have two Rill servers, one with shared code and one without. Where the shared code server interacts with the isolated secure api from the other server. 2) Have one server that calls itself through http(s) requests where the api bits of the server and everything else you mention is hidden behind a "if (!process.browser)" statement. With browserify and other build tools you can have it automatically parse out any server side code. This is my preferred approach because I get to bundle all of the important parts of my app together while still having granular control over where things run. |
|
That's all I'm trying to say here.