Rails Crash Course: A No-Nonsense Guide to Rails Development Paperback

Anthony Lewis

  • 出版商: No Starch Press
  • 出版日期: 2014-10-08
  • 售價: $1,400
  • 貴賓價: 9.5$1,330
  • 語言: 英文
  • 頁數: 296
  • 裝訂: Paperback
  • ISBN: 1593275722
  • ISBN-13: 9781593275723
  • 相關分類: Ruby
  • 海外代購書籍(需單獨結帳)

相關主題

商品描述

Rails is a robust, flexible development platform that lets you build complex websites quickly. Major websites like GitHub, Hulu, and Twitter have run Rails under the hood, and if you know just enough HTML and CSS to be dangerous, Rails Crash Course will teach you to harness Rails for your own projects and create web applications that are fast, stable, and secure.

In Part I, you'll learn Ruby and Rails fundamentals and then dive straight into models, controllers, views, and deployment. As you work through the basics, you'll learn how to:

  • Craft persistent models with Active Record
  • Build view templates with Embedded Ruby
  • Use Git to roll back to previous versions of your code base
  • Deploy applications to Heroku
In Part II, you'll take your skills to the next level as you build a social networking app with more advanced Ruby tools, such as modules and metaprogramming, and advanced data modeling techniques within Rails's Active Record. You'll learn how to:
  • Implement an authentication system to identify authorized users
  • Write your own automated tests and refactor your code with confidence
  • Maximize performance with the asset pipeline and turbolinks
  • Secure your app against SQL injection and cross-site scripting
  • Set up a server and deploy applications with Capistrano
Each chapter is packed with hands-on examples and exercises to reinforce what you've learned. Whether you're completely new to Ruby or you've been mucking around for a bit, Rails Crash Course will take you from the basics to shipping your first Rails application, fast.

商品描述(中文翻譯)

Rails是一個強大且靈活的開發平台,讓您能夠快速建立複雜的網站。像GitHub、Hulu和Twitter這樣的主要網站都在幕後運行著Rails,如果您對HTML和CSS有一定的了解,Rails Crash Course將教您如何運用Rails來建立自己的項目,並創建快速、穩定和安全的Web應用程序。

在第一部分中,您將學習Ruby和Rails的基礎知識,然後直接深入研究模型、控制器、視圖和部署。在學習基礎知識的過程中,您將學會如何:
- 使用Active Record創建持久模型
- 使用嵌入式Ruby構建視圖模板
- 使用Git回滾到代碼庫的先前版本
- 將應用程序部署到Heroku

在第二部分中,您將通過使用更高級的Ruby工具(如模塊和元編程)以及Rails的Active Record中的高級數據建模技術,將您的技能提升到更高的水平。您將學會如何:
- 實現身份驗證系統以識別授權用戶
- 編寫自己的自動化測試並自信地重構代碼
- 通過資源管道和turbolinks提高性能
- 保護您的應用程序免受SQL注入和跨站腳本攻擊
- 設置服務器並使用Capistrano部署應用程序

每個章節都充滿了實踐示例和練習,以鞏固您所學的知識。無論您是完全新手還是有一些經驗,Rails Crash Course都將帶您從基礎知識到快速發布您的第一個Rails應用程序。