Hello,
I’m new to the RoR community. I’m reading “Rails 4 in Action” (August
2015)
They recommend using Coffee-script.
Is that still in vogue, or is using ES6/ES2015 the way to go now, for
new apps?
Thanks,
Quang
Hello,
I’m new to the RoR community. I’m reading “Rails 4 in Action” (August
2015)
They recommend using Coffee-script.
Is that still in vogue, or is using ES6/ES2015 the way to go now, for
new apps?
Thanks,
Quang
Quang V. [email protected] writes:
I’m new to the RoR community. I’m reading “Rails 4 in Action” (August
2015)They recommend using Coffee-script.
Is that still in vogue, or is using ES6/ES2015 the way to go now, for
new apps?
Great question. Rails itself doesn’t yet support the transpilers needed
for things like React.JS and so on, but people have already stepped up
with gems and such to support them. Note this may change by the time
RoR5 drops, too.
If you’re just learning, you may want to stick with coffee for now and
keep JS interaction to a minimum (again, for now), as there’s a ton to
learn about the entire Rails platform. There will be time for
everything, I promise, just not all at once. Rails makes a really
great backing web app for modern front end applications. So far what
I’ve experienced, and this is only a tiny view into the whole world of
it, writing a Rails web app to provide an API that can be used by many
front-end apps, desktop and mobile, seems a popular way to go.
All opinions! Not hard-and-fast facts, and everything is rapidly
changing.
–
Tamara T.
[email protected]
http://www.tamouse.org
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs