What JS framework would be your first choise in Rails World 2015

39 views
Skip to first unread message

Taras Matsyk

unread,
Jul 31, 2015, 4:46:57 PM7/31/15
to rubyonra...@googlegroups.com
Hi everyone,

Just want to know your opinion on what JS framework better suites rails
world in 2015. Which one would you prefer and what advantages and
disadvantages it has?

Personally I found Angular good enough to work with and I ended up in a
mess with Ember (Ember CLI) which some people claimed to be the most
elegant solution for rich client side rails app.

--
Posted via http://www.ruby-forum.com/.

Scott Ribe

unread,
Jul 31, 2015, 5:49:28 PM7/31/15
to rubyonra...@googlegroups.com, Taras Matsyk
On Jul 31, 2015, at 2:46 PM, Taras Matsyk <li...@ruby-forum.com> wrote:
>
> Personally I found Angular good enough to work with and I ended up in a
> mess with Ember (Ember CLI) which some people claimed to be the most
> elegant solution for rich client side rails app.

Ember is richer and more full-featured, but is large & complex, and changing quickly.

Angular doesn't provide as much infrastructure, but definitely has a certain spartan elegance going for it.

Flux or Redux on top of React is one more option.

In my opinion, those are the top 3.

(Actually, I think a better question would be: is Rails right for the SPA web apps of 2015?)

--
Scott Ribe
scott...@elevated-dev.com
http://www.elevated-dev.com/
https://www.linkedin.com/in/scottribe/
(303) 722-0567 voice





Victor H. Goff III

unread,
Jul 31, 2015, 10:40:41 PM7/31/15
to rubyonra...@googlegroups.com
So are you saying these three top choices for more than a single page app, but
question if Rails is appropropriate for a single page application (SPA)?

I am curious why you brought a specific group of application style into
the discussion. How would you change up your recommendation for a
multiple page application?

Scott Ribe

unread,
Jul 31, 2015, 10:52:04 PM7/31/15
to rubyonra...@googlegroups.com, Victor H. Goff III
On Jul 31, 2015, at 8:39 PM, Victor H. Goff III <keepero...@gmail.com> wrote:
>
> So are you saying these three top choices for more than a single page app, but
> question if Rails is appropropriate for a single page application (SPA)?
>
> I am curious why you brought a specific group of application style into
> the discussion. How would you change up your recommendation for a
> multiple page application?

Well, I suppose I was being a bit loose in my phrasing, and used SPA when I was really referring to any web app where the rendering is done client-side, and the app server now just sends over data, instead of rendering pages.

jel...@gmail.com

unread,
Aug 1, 2015, 2:41:29 AM8/1/15
to rubyonra...@googlegroups.com
I've tried Angular and Ember both. For some reason I haven't had much luck with learning them. I picked up React recently and I really like it. And it integrates nicely with my Rails apps.

Sent from my iPhone
> --
> You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-ta...@googlegroups.com.
> To post to this group, send email to rubyonra...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/20150801023949.GB18798%40lazurus.
> For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages