"Ruby on Rails(TM) Tutorial by Michael Hartl has become a must-read for developers learning how to build Rails apps." -Peter Cooper, Editor of Ruby Inside Using Rails, developers can build web applications of exceptional elegance and power. Although its remarkable capabilities have made Ruby on Rails one of the world's most popular web development frameworks, it can be challenging to learn and use. Ruby on Rails(TM) Tutorial, Second Edition, is the solution. Best-selling author and leading Rails developer Michael Hartl teaches Rails by guiding you through the development of your own complete sample application using the latest techniques in Rails web development. The updates to this edition include all-new site design using Twitter's Bootstrap; coverage of the new asset pipeline, including Sprockets and Sass; behavior-driven development (BDD) with Capybara and RSpec; better automated testing with Guard and Spork; roll your own authentication with has_secure_password; and an introduction to Gherkin and Cucumber. You'll find integrated tutorials not only for Rails, but also for the essential Ruby, HTML, CSS, JavaScript, and SQL skills you'll need when developing web applications. Hartl explains how each new technique solves a real-world problem, and he demonstrates this with bite-sized code that's simple enough to understand, yet novel enough to be useful. Whatever your previous web development experience, this book will guide you to true Rails mastery. This book will help you * Install and set up your Rails development environment * Go beyond generated code to truly understand how to build Rails applications from scratch * Learn test-driven development (TDD) with RSpec * Effectively use the Model-View-Controller (MVC) pattern * Structure applications using the REST architecture * Build static pages and transform them into dynamic ones * Master the Ruby programming skills all Rails developers need * Define high-quality site layouts and data models * Implement registration and authentication systems, including validation and secure passwords * Update, display, and delete users * Add social features and microblogging, including an introduction to Ajax * Record version changes with Git and share code at GitHub * Simplify application deployment with Heroku
Ruby on Rails Tutorial creator Michael Hartl is a programmer, educator, and entrepreneur. Michael was coauthor of RailsSpace, a Rails tutorial book published in 2007, and was cofounder and lead developer of Insoshi, a popular social networking platform in Ruby on Rails. Previously, he taught theoretical and computational physics at the California Institute of Technology (Caltech), where he received the Lifetime Achievement Award for Excellence in Teaching. Michael is a graduate of Harvard College, has a Ph.D. in Physics from Caltech, and is an alumnus of the Y Combinator entrepreneur program.
此书用TDD,测试驱动开发,第一次接触到,很是觉得舒服。不过测试真的非常多。 但是编写测试用例,也不是件简单的事,看例子都明白,自己写并且坚持TDD就是比较困难的。 Rails的开发的初学者,如果第一本就选就本,会很痛苦,css,html的基础知识最好要实现了解,有一定OO基础...
評分针对rails框架的使用来说,本书只是介绍了个皮毛,但是,此书的价值远不在这里,而在于他一步一步的引导初学者按照TDD的流程、规范来进行开发,在这个快餐式技术图书泛滥的今天,作者如此用心良苦为读者打基础,传授内功,实在是难能可贵。另外值得一提的是,这本书关于开发环...
評分此书用TDD,测试驱动开发,第一次接触到,很是觉得舒服。不过测试真的非常多。 但是编写测试用例,也不是件简单的事,看例子都明白,自己写并且坚持TDD就是比较困难的。 Rails的开发的初学者,如果第一本就选就本,会很痛苦,css,html的基础知识最好要实现了解,有一定OO基础...
評分针对rails框架的使用来说,本书只是介绍了个皮毛,但是,此书的价值远不在这里,而在于他一步一步的引导初学者按照TDD的流程、规范来进行开发,在这个快餐式技术图书泛滥的今天,作者如此用心良苦为读者打基础,传授内功,实在是难能可贵。另外值得一提的是,这本书关于开发环...
評分以下仅针对 ruby -v 2.12 and rails -v 4.1.5 1. In Rails 4.1+, they deprecated db:test:prepare with that message. You can now just use: ActiveRecord::Migration.maintain_test_schema! in spec_helper.rb (or similar files if you're not using RSpec). That will aut...
跟著做一遍確實能學到不少
评分非常好的教程,值得反復讀
评分不錯的入門書
评分TDD 的介紹太棒瞭 Red-Green-Refactor的流程一遍走 我就心領神會瞭 讀完這本再讀一些介紹ruby的書 After finishing the Rails Tutorial I suggest reading a pure Ruby book such as Beginning Ruby, The Well-Grounded Rubyist, or The Ruby Way.
评分不錯的入門書
本站所有內容均為互聯網搜索引擎提供的公開搜索信息,本站不存儲任何數據與內容,任何內容與數據均與本站無關,如有需要請聯繫相關搜索引擎包括但不限於百度,google,bing,sogou 等
© 2025 book.quotespace.org All Rights Reserved. 小美書屋 版权所有