Designer News
Where the design community meets.
almost 9 years ago from Rik Lomas, Freelancer
Sure, fair question. It's about picking good tools for the job. Why should trendiness matter when picking a tool? Javascript and Node are great tools but so is Rails.
I've taught both Javascript and Rails to students and I've found that Rails is a lot easier to comprehend for beginners. The way Rails is written is visually clearer than Javascript - you need a lot less brackets, braces and semi-colons.
You can achieve a lot with Rails in a very short amount of time. I used to teach how to make a basic version of Airbnb to beginners in two days - that would include payments, geo-location, user registration and more. Once you understand the principles behind how it works, there's a lot you can achieve.
I gave up learning Javascript because of the brackets. I just totally CAN'T deal with it. Now I wanna try Ruby!
Check out Coffeescript!
+1 here, coffeescript solves those problems quickly. Having programmed extensively in both ruby and coffeescript, I feel like they are very close as far as read/writeability. In some aspects coffeescript is actually cleaner.
What are good resources to learn coffeescript? I find a lot of times finding snippets in js but not knowing enough to make it into coffeescript
This might be what you're after: http://arcturo.github.io/library/coffeescript/
The coffeescript.org reference helps a lot too, and is very detailed.
awesome, thanks!
You wouldn't happen to have a write up on the Airbnb tutorial online anywhere, would you?
I don't unfortunately, the material is owned by my old company, sorry!
That's too bad. Thanks though! Great write up
CodeAcademy has a Airbnb tutorial but isn't for rails. http://www.codecademy.com/skills/make-a-website
Yeh, that's just the front-end and design of the site, nothing to do with Rails or any of the functionality of Airbnb :)
Brilliant answer. I learnt Ruby and then Rails first up and it was definitely a lot easier than my failed attempts at learning JS.
For people trying to decide here, this is the correct answer. As the OP said here, it's trendiness has absolutely nothing to do with whether it's worth using, and this is always the case for every tool. In fact, I'd be cautious of more trendy tools, as they tend to be as such because they attract more beginning developers, and if you are a full time dev, tools that are good for beginner devs are not what you want most of the time.
If you are just trying to get something off the ground quickly, rails is a great solution. It's been around for a while and has a ton of gems you can use to not write extra code, as you can see in this tutorial. To be good with rails, you do really need to understand it's internals, which is a monumental task though. So if you are investing heavy in rails, know that you will hit certain walls after a while that you won't be able to get past without understanding exactly how it works under the hood, which takes some time and a good foundation in both programming and ruby.
If you are tying to build a more stable foundation for a larger app, starting off with an API is probably the way to go. Once you have a good API, then build out the front end in backbone/angular/whatever, or even as a native app if you want. You can also build APIs in any language more or less equally well. Sinatra is great for ruby (it's like a mini-rails), express is great for node, and flask is great for python. The flexibility of APIs is their strength.
RoR is very much relevant.
Some simple proof:
GitHub just made a pretty large effort to migrate to a newer version of Rails (Rails 3). See this writeup.
The master branch of Rails, which is at Rails 4.2.0 was last updated 2 hours ago at the time of this comment.
2,446 contributors have made Rails what it is today, and it runs some of the most useful applications on the web.
Relevance isn't about how old or "in" something is. Relevance is about matching the solution to the problem. In many cases, Rails exceeds simply because of the Ruby community and the wide range of gems available to do tons of common tasks. Making similar applications in Node is possible, but may not be as easily accomplished, simply because Node is still relatively young.
Designer News
Where the design community meets.
Designer News is a large, global community of people working or interested in design and technology.
Have feedback?
Ok, honest question here:
Is RoR still relevant? It starts to seem like a fading trend, now that everyone is moving to the .JS phenomenon.
I really don't know much about backend, thats why I'm asking