简体   繁体   English

新手Web设计人员需要Ruby on Rails的建议

[英]Newbie Web Designer needing Advice for Ruby on Rails

I have been designing small and simple sites for years now, I have somehwat experience of PHP but I have good grasp over HTML and CSS and on Wordpress. 多年来,我一直在设计小型和简单的网站,我对PHP有一定的经验,但是我对HTML和CSS以及Wordpress有很好的了解。

Now, I want to try my hand on Ruby on Rails as well, just to get a hang of it and to be able to edit pre-written code. 现在,我也想尝试使用Ruby on Rails,只是想抓住它并能够编辑预编写的代码。

Please help me where to start and what to learn first, including articles, tutorials, books, videos, samples etc.... 请帮助我从哪里开始以及首先学习什么,包括文章,教程,书籍,视频,示例等。

Any kind of help in this matter will be greatly appreciated. 在这方面的任何帮助将不胜感激。

Zaid, There are quite a few resources out there, but two online ones spring to mind The official Ruby on Rails guides and Ryan Bates' screencasts . Zaid,这里有很多资源,但是想起了两个在线资源Ruby on Rails官方指南Ryan Bates的截屏视频 If you want some more detailed information try getting hold of Agile development with Rails , but you might want to wait a little while as Rails 3 will be out of beta relatively soon, so the 2.3 version of the book may be obsolete. 如果您想了解更多详细信息,请尝试使用Rails进行敏捷开发 ,但是您可能需要稍等片刻,因为Rails 3相对即将退出beta版,因此本书的2.3版本可能已过时。

I come from a non-programming background. 我来自非编程背景。 I have learned PHP on my own and recently joined a firm that specializes in Ruby on Rails. 我自己学习过PHP,最近加入了一家专门研究Ruby on Rails的公司。 They have a comprehensive Rails training program, which is flexible enough to accommodate whatever changes we want to implement. 他们有一个全面的Rails培训计划,该计划足够灵活以适应我们想要实施的任何更改。 Though I am not a rails pro, I would like to share my experience with rails. 尽管我不是Rails专业人士,但我想分享我在Rails方面的经验。 I hope that it helps. 希望对您有所帮助。

Here is the path I am following [combined with tools I am using] 这是我要遵循的路径[与我正在使用的工具结合]

  • Start with a simple ruby guide. 从简单的红宝石指南开始。 It will help a lot, since entire rails framework revolves around classes and objects. 因为整个rails框架围绕类和对象旋转,所以这将有很大帮助。
  • Environment and OS are not important. 环境和操作系统并不重要。 Though I am working on a Mac, I frequently work on Linux and Windows, and I do not face any problems. 尽管我在Mac上工作,但是我经常在Linux和Windows上工作,并且我没有遇到任何问题。
  • Start with a good book which explains using a demo app. 从一本好书开始,其中介绍了演示应用程序。 [I am using Agile Web Development with Rails - By The Pragmatic Bookshelf]. [我正在使用带有Rails的敏捷Web开发-实用书架]。 There are many other good books as well. 还有许多其他好书。
  • Once you are done with the application, you will have a good idea of the framework. 完成应用程序后,您将对框架有一个很好的了解。
    • Try to understand the SQL queries generated by Active Record module. 尝试了解Active Record模块生成的SQL查询。
    • Go through the Rails Guides. 浏览Rails指南。 You will find the framework a lot easier. 您会发现该框架更加容易。
  • Keep practicing. 保持练习。

Few imp points 一点曝光点

  • It takes years to learn a language completely. 完全学习一种语言需要花费数年时间。 So be patient and do not stop learning. 所以要有耐心,不要停止学习。
  • Go through rails api as when required. 根据需要通过rails api。 [While developing your first app] [在开发您的第一个应用程序时]
  • Google the things which you do not understand. 谷歌你不了解的东西。 People have written great articles on almost all topics. 人们撰写了几乎所有主题的出色文章。
  • Use Stackoverflow :-) [Only when you are not able to find the solution on your own.] 使用Stackoverflow :-) [仅当您无法自行找到解决方案时。]
  • Load railscasts on your phone or video player. 在您的手机或视频播放器上加载railscasts。 Watch 'em while travelling or in your free time. 在旅途中或空闲时间看他们。 They are of few minutes each. 他们每个人几分钟。 You will learn a great deal of things and also learn the best way of doing things. 您将学到很多东西,也学到最好的做事方式。

Tools 工具

  • Shell [in Mac and Ubuntu] Shell [在Mac和Ubuntu中]
  • Editor [Textmate in Mac, Gedit in Ubuntu and Notepad++ in Windows] 编辑器[Mac中为Textmate,Ubuntu中为Gedit,Windows中为Notepad ++]
  • Firefox with Firebug installed for testing. 安装了Firebug的Firefox进行测试。

Finally I have one thing to say "Keep trying". 最后,我有一句话说“继续尝试”。 All the best. 祝一切顺利。

In addition to the great resources that Ceilingfish and Jagira mention, take a look at Michael Hartl's Ruby on Rails Tutorial . 除了Ceilingfish和Jagira提到的大量资源外,还请参阅Michael Hartl的Ruby on Rails教程 Through the process of building a Rails application, he also shows how to use the basic tool set you'll need (git, various debugging gems, heroku, etc.) 在构建Rails应用程序的过程中,他还展示了如何使用所需的基本工具集(git,各种调试工具,heroku等)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM