Re:Hyperloop – The Missing Ruby Front-end Library
by michaelmior on Tuesday October 04, 2016 @07:39AM
(#12634788)
Not necessarily. You can use something like Prerender[0].
Re:Hyperloop – The Missing Ruby Front-end Library
by marcus_holmes on Tuesday October 04, 2016 @08:50PM
(#12640857)
but... that only renders JS... which is what the client speaks, so the client and server still speak the same language
Re:Hyperloop – The Missing Ruby Front-end Library
by michaelmior on Wednesday October 05, 2016 @03:22PM
(#12646915)
Your backend can run whatever language you want. There are examples right on the page that show integration with Rails, PHP, Go, and others.
If the client is written in a different language than the server then you have to maintain two versions of the page code to achieve this, and they have to be in perfect sync. Hard to do. Easier to write the code once and transpile to JS for the browser (or write the back end in JS).