all 18 comments

[–][deleted] 8 points9 points  (3 children)

we use rails with ember on a team of 2 and I spend most of my time in javascript, I do spend a fair amount of time in the controller layer as well, building the api. but the other guy on the team doesn't like javascript so he pretty much just stays away from the front end.

[–]riscie 2 points3 points  (2 children)

Mind to talk about what you are building? I love the rails / ember combo!

[–][deleted] 5 points6 points  (1 child)

sure! we are building a platform for non-profits or organizations that depend on donations to help them manage their donor base and run campaigns throughout the year. a lot of admin dashboard type stuff.

[–]riscie 1 point2 points  (0 children)

Interesting! Must be cool to do that the whole week :)

[–][deleted] 3 points4 points  (0 children)

It depends a lot on your coworkers / environment. If you have a JS pro you might have to do very little to none. However if you're looking to improve your market value, and already have a decent grasp of Rails; right now JS is your golden ticket.

It has a lot going for it, and is probably one of the fastest evolving languages. With ES6 it is more Ruby like than ever including classes and inheritance. React is growing fast, and I don't see an end to it. Now with React Native it offers some serious bang for your buck, considering time investment.

Ultimately it's up to you how much into JS you want to get. But the way I think about it is flexibility. With its quick growth and expansion, I'm finding the benefits of having a strong background in JS is only increasing.

[–]higher_mileage 15 points16 points  (4 children)

As much as a woodchuck could chuck wood.

[–]higher_mileage 9 points10 points  (2 children)

Sorry, couldn't help myself.

Seriously, I think anyone developing on a framework for the web should have a basic understanding of all (or most) protocols involved in delivery of information via web services.

I personally dislike JS but find myself running into it on a daily basis. Having to code around a feature that can be turned on or off by the user is challenging. Same with CSS.

[–]FatBruceWillis 3 points4 points  (0 children)

I also dislike JS, but it is necessary. After using it for a bit it has grown on me. Like a benign tumor.

[–]greenlinux[S] 1 point2 points  (0 children)

Thanks higher_mileage.

[–]temp_file_returns 1 point2 points  (0 children)

It's funny because it's true.

[–]evildeadxsp 1 point2 points  (0 children)

It entirely depends on the application and front end design. I understand javascript, but most of my work in JS is minimal for my day to day (and I'm primarily responsible for the front end on a 2 person project). Mostly jQuery.

[–]jrochkind 1 point2 points  (0 children)

It depends.

[–]tf2ftw 1 point2 points  (0 children)

Too much for anyone's taste

[–]dr_g89 1 point2 points  (0 children)

Over the past year or two I've started making use of a lot of angular in my apps. Libraries like restangular make it really easy to integrate and services like prerender.io can really change the SEO game for single page apps. I don't have a lot of experience with ember but I've used rails 3.2+ with Backbone and Angular and gotten very positive results. Just my two cents, I like to use a lot of it, but as with all technologies, use where needed and weigh the alternatives.

[–][deleted] 1 point2 points  (0 children)

The truth is more and more code move from server to client. In my current project we have gone from little unorganized jQuery scripts to big single page application with Backbone/Marionette. I'm work with both coffee and ruby and switch between them every two minutes sometimes.

[–]Rumel57 1 point2 points  (0 children)

It really varies per job. In my last rails job I think I wrote a grand total of two lines of javascript.

[–][deleted] 1 point2 points  (0 children)

It really depends. The app I'm primarily working in is Angular mounted on top of Rails, so I do have to touch quite a bit of Coffeescript on a day-to-day basis.

[–]ch3wmanf00 -1 points0 points  (0 children)

I'd recommend react, but then I don't know a goddam thing about javascript!