Rails on Rails 将其提升到一个新的水平

发布于 2024-11-26 20:23:07 字数 763 浏览 1 评论 0原文

在过去的几个月里,我感觉自己对 Ruby on Rails (RoR) 开发的了解已经达到了一个极限。我为大/小客户和朋友/爱好项目开发了大型和小型应用程序。我知道如何开发这些应用程序,但开始感觉有点乏味。我想将我的编程技能提升到一个新的水平,我对 Javascript 有一点经验,我沉迷于一些优秀的 Javascript 书籍并学到了很多东西!但现在我又回到了过去几个月的 RoR 水平。我想从 Javascript 书籍中获得知识提升。

我真的很想为很多开源项目做出贡献,但是当我查看源代码时,我感觉我对代码了解不够,并且我将成为项目主要开发人员的恼人负担( s)。这只是我的一些不确定性,但我不想让其他开发人员感到疲倦/激怒......

我感到陷入困境,我不知道该怎么做才能提高自己的水平。我尝试阅读源代码,但我经常遇到的主要问题是“你为什么这样做,它有什么好处?它是如何工作的?”。我知道我想提高对 ruby​​ 和 Rails 的了解,但我不知道该怎么做。在我编写 RoR 的过程中,我很难确定我的“技能水平”,因为我知道我总是可以提高我的技能。因此,了解了这一点后,我开始阅读一些基本的 Ruby 书籍:《The well grounded Rubyist》和《Beginning Ruby》。这些都是很棒的书,我学到了一些漂亮的小技巧,但仅此而已。

你们有推荐什么资源和/或书籍吗?除了 Ruby / Javascript 之外,我对其他语言没有太多经验。但我真的很想学习,我没有扎实的编程背景,因为它主要是从爱好发展到工作的。我想为开源项目和工作做出贡献,主要是向其他优秀的开发人员学习。我被困住了,不知道从哪里开始。

提前致谢。

For the past few months i've had the feeling that i reached a boundry in my knowledge of Ruby on Rails (RoR) development. I've developed large and small applications for both big/small clients and friends / hobby projects. I know how to develop these applications and it's beginning to feel a little bit tedious. I want to take my programming skills to the next level, me having a little experience with Javascript i enduldged myself in some good Javascript books and learned alot! But now i'm back stuck at the same RoR level that i've been for the past few months. and i want to get that knowledge boost i got from the Javascript books.

I really want to contribute to alot of open source projects but when i look at the source code i get the feeling that i dont know enough of the code and that i will become a irritating burdon to the main developer(s) of the project(s). This is just some uncertainty of mine but i dont want to tire/irritate other developers...

I feel stuck and i dont know what to do to up my own level. I try to read the source codes but often i get stuck with mainly the question "why are you doing this, and what are the benefits of it? And how does it work?". I know i want to up my knowledge of both ruby and rails but i dont know how to do this. In my time programming RoR it's been very difficult for me to pinpoint my "skill level" knowing i can always up my skills. So knowing this i started with some basic Ruby books: The well grounded Rubyist and Beginning Ruby. These were great books i learned some nifty little tricks but that's about it.

Do you guys recommend any resources and or books. I don't have alot of experience with other languages than Ruby / Javascript. But i really want to learn, i don't have a solid programming background because it mainly evolved from hobby to work. I want to contribute to open source projects and work and mainly learn from other great developers. I'm stuck and i don't know where to start.

Thanks in advance.

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

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

发布评论

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

评论(2

木槿暧夏七纪年 2024-12-03 20:23:07

几本书:

  • Eloquent Ruby

  • Rails 反模式

  • Crafting Rails 应用程序

然后,凭借知识,您将能够阅读代码(你的第一直觉):这是灵感的重要来源。

A few books:

  • Eloquent Ruby

  • Rails Anti Patterns

  • Crafting Rails Applications

Then, armed with knowledge, you'll be able to read code (your first and good intuition): that's a great source of inspiration.

陌上芳菲 2024-12-03 20:23:07

Railscasts 上有很多值得一看的好材料。您可以了解很多有关当前实践的知识,当大量 Rails 材料针对 2.x 或 3.0 并且不能反映最新技术时,这一点就显得尤为重要。

提高技能的最好方法就是寻找新的挑战来锻炼自己。您需要学习常规 Ruby 和常规编程,并提高您对 Rails 框架的了解。

留出时间阅读并理解您所接触到的各种 API。你对你的工具箱了解得越多,你花在尝试做已经实现的事情上的时间就越少。 APIDock 是 Ruby 和 Rails 的众多文档聚合器之一。由于 Ruby 通常具有很强的可读性,因此浏览您使用的库的源代码并了解提供了哪些方法以及通过观察它们的实现方式可能获得的任何见解甚至是有教育意义的。通常有一些有趣的用例从未被完整记录,但在您需要时将为您提供良好的服务。

还有很多话要说,但实际上,这是一个漫长的旅程。这就是为什么人们会写下诸如十年内自学编程之类的东西,作为“教学”的对立点。 《21 天做你自己 X》的书籍困扰着整个行业。

There's a lot of good material at Railscasts which is worth looking through. You can learn a lot about current practices, something doubly important when a lot of the Rails material out there is for 2.x or 3.0 and doesn't reflect the state of the art.

The best way to improve your skill is to find new challenges to exercise yourself. You'll need to work on general Ruby and general programming as well as improving your knowledge of the Rails framework.

Set aside time to read and understand the various APIs you're being exposed to. The more you know your toolbox, the less time you'll waste trying to do something that's already implemented. APIDock is one of the many documentation aggregators out there for Ruby and Rails. As Ruby is generally quite readable, it's even educational to browse through the source for the libraries you use and see what methods are offered as well as any insight you might gain from observing how they're implemented. Often there are interesting use cases that are never fully documented but will serve you well when you need them.

There's a lot more to say, but really, it's a long journey. That's why people write things like Teach Yourself Programming in Ten Years as a counter-point to the "Teach Yourself X in 21 Days" books plague the industry.

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