ITPub博客

首页 > Linux操作系统 > Linux操作系统 > 10个应该了解的Ruby技术

10个应该了解的Ruby技术

原创 Linux操作系统 作者:jieforest 时间:2012-05-28 12:58:41 0 删除 编辑

Takeaway: Sharpen your Ruby development skills by taking advantageof these technologies.


I have been spending a good amount of time lately learning to navigate the Ruby waters. If you tooare getting your feet wet with Ruby for Web development, these 10 technologies will help you writebetter applications, faster.


1: The Ruby language


If you are planning on working inRuby, you should know the Rubylanguage. I have discovered that the syntax of Ruby itself is nottoo hard to learn, but there is a modeof thinking about Ruby code that takes time and experience working in Ruby to develop.Your best bet, in my experience, is to plan out a small project that will touchon all of the major pieces of the language (not just the basic items likearrays and strings, but the deeper ideas, such as mixins, monkey patching, blocks,and closures). Force yourself to do things the way a Ruby developer would, notthe way a Java or C# developer using a different syntax would. Recommendedreading materials are The Pickaxe Book” (Programming Ruby1.9: The Pragmatic Programmers’ Guide) and The Ruby Way.


2: Ruby on Rails


Ruby on Rails has been the reason for Ruby’s success inthe Web development world (though there are other excellent ways to use Ruby onthe Web as well). Indeed, Rails is one big reason why other systems likeASP.NET have started to move to the MVC pattern themselves. If you are lookingto do Web development, Rails is a well-supported and well-documented system andan excellent place to start learning. I took the Rails for Zombies course and I thought it was very good, and it helped me get aleg up on Rails.


来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/301743/viewspace-731267/,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2008-04-23

  • 博文量
    443
  • 访问量
    508257