为经验丰富的开发人员简要介绍 Ruby on Rails?

发布于 2024-11-09 23:50:27 字数 1536 浏览 3 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

恋竹姑娘 2024-11-16 23:50:27

您可能对 Sam Ruby、Dave Thomas 所著的使用 Rails 进行敏捷开发感兴趣。

您可以跳过“构建应用程序”部分,直接进入深入了解 Rails 部分。

我引用最后一部分的介绍:

在本书的其余部分,我们将逐个主题地讨论 Rails(其中
几乎意味着逐个模块)。您已经看过其中的大部分模块
之前在行动。我们不仅会介绍每个模块的作用,还会介绍如何
扩展甚至替换模块以及您可能想要这样做的原因。
第三部分的章节涵盖了 Rails 的所有主要子系统:Active Record、
活动资​​源、操作包(包括操作控制器和操作
查看)和主动支持。接下来是对迁移的深入研究。
然后我们将深入研究 Rails 的内部并展示如何
组件是如何组合在一起的、它们如何启动以及如何替换它们。
展示了如何将 Rails 的各个部分组合在一起后,我们将完成此任务
本书对一些流行的替换零件进行了调查,其中许多
可以在 Rails 之外使用。
但首先,我们需要设置场景。本章涵盖了所有高级内容
你需要知道才能理解其余的内容:目录结构、配置、
和环境。

我不知道我是否有权粘贴此内容,但如果这能让您购买这本书,我相信作者会同意的!

You might be interested in Agile Development with Rails by Sam Ruby, Dave Thomas.

You could skip the "Building Application" part and go straight to Rails in Depth part.

I quote the introduction to this last part:

For the rest of the book, we’ll go through Rails topic by topic (which
pretty much means module by module). You have seen most of these modules
in action before. We will cover not only what each module does but also how
to extend or even replace the module and why you might want to do so.
The chapters in Part III cover all the major subsystems of Rails: Active Record,
Active Resource, Action Pack (including both Action Controller and Action
View), and Active Support. This is followed by an in-depth look at migrations.
Then we are going to delve into the interior of Rails and show how the com-
ponents are put together, how they start up, and how they can be replaced.
Having shown how the parts of Rails can be put together, we’ll complete this
book with a survey of a number of popular replacement parts, many of which
can be used outside of Rails.
But first, we need to set the scene. This chapter covers all the high-level stuff
you need to know to understand the rest: directory structures, configuration,
and environments.

I don't know if I have right to paste this but if that can make you buy this book, I'm sure the author would agree!

や三分注定 2024-11-16 23:50:27

在我看来,要擅长 Rails,您首先应该确保自己很好地理解 Ruby。我建议浏览一些基本的 Ruby 书籍(如果您已经是一名成熟的程序员,则无需仔细阅读),例如: 为什么是 Ruby 的精彩指南
编程 Ruby

之后,您应该熟悉 Rails API 和 DSL,我建议您首先阅读 Ruby on Rails 指南。当您了解 Rails 基础知识时,Rails 的终极参考是 Ryan Bates 的优秀 Railscasts。如果您不喜欢观看视频,该网站有一个 ascii 镜像。即使您心中没有特定的任务,也可以观看其中的一些内容,以真正了解 Rails 中解决问题的方式。

当然,当要真正获得开发 Rails 技能时,您必须亲自尝试实际制作一些 Rails 应用程序。 Rails 的学习曲线非常陡峭,因此在尝试使用 Rails 构建您一生的工作之前,最好先尝试一些简单的、不重要的应用程序。

To become good at Rails in my opinion you should first be sure that you understand Ruby well. I would suggest browsing through (careful reading is not necessary if you're already an established programmer) some of the basic ruby books like: Why's Poignant Guide to Ruby
and Programming Ruby.

After this, you should become familiar with the Rails API's and DSL's, I would suggest beginning with reading Ruby on Rails Guides. When you understand the Rails basics the ultimate Rails reference is Ryan Bates' excellent Railscasts. If you don't like watching videos the site has an ascii mirror. Even if you don't have a specific task in mind, go watch a few of these to really understand the way problems are tackled in Rails.

Ofcourse when it comes to actually gaining skill in developing Rails skills, it is imperative that you try your hand at actually making a few Rails applications. Rails has a notoriously steep learning curve, so it's best when you have tried a few simple unimportant applications before you try to build your life's work with Rails.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文