TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Forcing myself to learn RoR

9 点作者 daemonl超过 12 年前

5 条评论

jiggy2011超过 12 年前
He wants to learn RoR because he wants to learn "a new language" but by the sounds of it he isn't too psyched about learning a whole new web framework. I don't blame him, once you have seen one MVC framework..<p>So, why not just learn ruby but learn it in a context that has nothing to do with web frameworks? For example a program that can play music, a terminal script that automates something or a program to procedurally draw fractals.<p>You will learn ruby quicker because you won't have to get bogged down in details about how rails decides to do things.<p>If you find that you like the language more than what you are used to and wish you could write your webapps in this language you now have a solid reason to learn rails.
评论 #5156130 未加载
评论 #5157590 未加载
czbond超过 12 年前
I've been using RoR exclusively for a few years building fairly complex companies - and still not a big fan - I think the Rails way only works in certain shops. Agreed that Rails is moving more to be the API provider only.<p>What Rails does for me is help with the mindset of a structured framework of good practices that is otherwise easy to let slip. So you can transition those to (say) Express.js , and then you value frameworks like Tower.js more (IMHO).<p>Start with Sinatra (it's more the Express of Node). Rails is great, but it's very convoluted and heavy. Ruby is a great language, so make sure to bifurcate the two.
评论 #5156548 未加载
shadowmint超过 12 年前
Here's a hint: If you want to learn a language or framework, pick a problem (not a stupid trivial problem like 'hello world', a real problem, like, a kandan clone, or todo list you can append to via email or something) and solve it using that language and framework.<p>That process will give you an understanding not only of the sort of ways the framework is useful, but the sorts of people who answer questions about it on stackoverflow, the community, tutorials, existing basic MVP bases, etc.<p>Code jams are great for this sort of thing.<p>...but, what? You want to learn it because you don't want to, and want to add the 'rails' checkex to your CV? O_o<p>Do yourself a favour and don't bother.
评论 #5157624 未加载
Turing_Machine超过 12 年前
My advice would be to learn Sinatra first. The time investment will be much lower than with Rails, IMO, and will let you know if Ruby is a good fit for you.<p>You might even find that Sinatra does everything you need. :-)
daGrevis超过 12 年前
Seems to me that you think that all server-side stuff is all the same.<p>Learn Haskell.
评论 #5157606 未加载