3 ms·
Yeah, if your app happens to be the same on the frontend and backend.
by msie 10y ago
Yeah, if your app happens to be the same on the frontend and backend.
- kbenson 10y agoThere are benefits even if you aren't sharing the entire back-end. I develop an internal Mojolicious webapp, and there's been quite a few times where I would have loved to just have one or two of the backend libraries I've written available to JS, so I wouldn't have to write it again in JS or pass it to the server. Just knowing that I could write it once and have it be the same in both places, even if I changed it later, would be a real boon.
- paulddraper 10y agoExactly. Everytime I write a feature, I have to decide whether it's a backend feature or a frontend feature. Sometimes I get it wrong. I'd like to not lock myself into my choice.