3 ms·
Since JavaScript is the only way to achieve a lot of things people want to do it is not going anywhere, even when the craze for server-side JS eventually dies.
by emodendroket 11y ago
Since JavaScript is the only way to achieve a lot of things people want to do it is not going anywhere, even when the craze for server-side JS eventually dies.
- justifier 11y agomy biggest interest in server side js is what i call offloading i have server side code that can do a lot of heavy data calculations, and i client side code that can do a lot of heavy presentation calculations, and then i have the internet as a connection between them since the presentation layer is burdened by needing to be sent to the client over the connection i have a constant optimisation interest in the size of the client code if i am concerned about the time and data cost on the client, i can do a lot of presentation calculations on the server and send the results stead the source that found them alternatively, if i am unconcerned with the time and data cost on the client, i can send more server code to the client to offload some of the work to relieve the server because of this constant optimisation interest i always duplicate my server functions, whatever language they may be, in the presentation source.. currently javascript.. and vice versa so i can decide on the fly where any function will run when situations define the optimal configuration server side js would limit the extra work in some cases but i doubt i'd utilise it because i find the transliterating step to be valuable in hardening the code and logic underlying
- emodendroket 11y agoWell, you don't really need server-side JS to do that, but I can see how it would save some work.