3 ms·
I want to be able include libraries that are server side only but the framework knows to separate that out and run on the server side and handle the data transm
by jlebrech 9y ago
I want to be able include libraries that are server side only but the framework knows to separate that out and run on the server side and handle the data transmission.
- alextheparrot 9y agoMight be worth looking into Autowire [0]. Runs Scala code locally, compiles your API through ScalaJS, allowing you to write your app all in one language without exposing the business logic to the client. [0] https://github.com/lihaoyi/autowire https://github.com/lihaoyi/autowire
- jlebrech 9y agomy idea for now are objects that can be compiled twice, once for private methods which run on the server and public methods on the client and the compilation process handles the wiring.