The Rails 4 Way, 3/e (Paperback)

Obie Fernandez, Kevin Faustino

  • 出版商: Addison Wesley
  • 出版日期: 2014-05-29
  • 售價: $1,750
  • 貴賓價: 9.5$1,663
  • 語言: 英文
  • 頁數: 880
  • 裝訂: Paperback
  • ISBN: 0321944275
  • ISBN-13: 9780321944276
  • 相關分類: Ruby
  • 立即出貨(限量) (庫存=1)

買這商品的人也買了...

相關主題

商品描述

The “Bible” for Rails Development: Now Fully Updated for Rails 4.1

 

"When I read The Rails Way for the first time, I felt like I truly understood Rails for the first time.”

—From the Foreword by Steve Klabnik

 

Ruby on Rails 4 is leaner, tighter, and even more valuable to professional web developers. More than ever, it helps you focus on what matters most: delivering business value via clean and maintainable code.

 

The Rails 4 Way is the only comprehensive, authoritative guide to delivering production-quality code with Rails 4. Kevin Faustino joins pioneering Rails developer Obie Fernandez to illuminate the entire Rails 4 API, including its most powerful and modern idioms, design approaches, and libraries. They present extensive new and updated content on security, performance, caching, Haml, RSpec, Ajax, the Asset Pipeline, and more.

 

Through detailed code examples, you’ll dive deep into the Rails 4 code base, discover why Rails is designed as it is, and learn how to make it do exactly what you want. Proven in dozens of production systems, this book’s techniques will maximize your productivity and help you build more successful solutions. You’ll want to keep this guide by your computer—you’ll refer to it constantly.

 

This guide will help you

  • Build powerful, scalable REST-compliant APIs
  • Program complex program flows using Action Controller
  • Represent models, relationships, CRUD operations, searches, validation, callbacks, and more
  • Smoothly evolve application database schema via Migrations
  • Apply advanced Active Record techniques: single-table inheritance, polymorphic models, and more
  • Create visual elements with Action View and partials
  • Optimize performance and scalability with view caching
  • Master the highly productive Haml HTML templating engine
  • Make the most of Rails’ approach to session management
  • Secure your systems with Rails 4’s improved authentication and authorization
  • Resist SQL Injection, XSS, XSRF, and other attacks
  • Extend Rails with popular gems and plugins, and learn to write your own
  • Integrate email services with Action Mailer
  • Use Ajax via Rails 4 support for unobtrusive JavaScript
  • Improve responsiveness with background processing
  • Leverage Asset Pipeline to simplify development, improve perceived performance, and reduce server burdens
  • Accelerate implementation and promote maintainability with RSpec

商品描述(中文翻譯)

《The Rails 4 Way》是一本針對Rails開發的「聖經」,現已完全更新至Rails 4.1版本。當我第一次閱讀《The Rails Way》時,我感覺我真正理解了Rails。”——Steve Klabnik的前言。

Ruby on Rails 4更加精簡、緊湊,對於專業的網頁開發人員來說更加有價值。它更加幫助你專注於最重要的事情:通過乾淨且易於維護的代碼提供商業價值。

《The Rails 4 Way》是唯一一本全面且權威的指南,教你如何使用Rails 4交付生產質量的代碼。Kevin Faustino與先驅性的Rails開發者Obie Fernandez合作,詳細介紹了整個Rails 4 API,包括其最強大和現代的慣用語法、設計方法和庫。他們提供了關於安全性、性能、緩存、Haml、RSpec、Ajax、Asset Pipeline等方面的全新和更新的內容。

通過詳細的代碼示例,你將深入研究Rails 4的代碼庫,了解Rails的設計原理,並學習如何使其完全符合你的需求。這本書的技巧在數十個生產系統中得到驗證,將最大限度地提高你的生產力,幫助你構建更成功的解決方案。你會想把這本指南放在電腦旁,經常參考。

這本指南將幫助你:

- 構建強大、可擴展的符合REST標準的API
- 使用Action Controller編寫複雜的程序流程
- 表示模型、關係、CRUD操作、搜索、驗證、回調等
- 通過Migrations平滑地演進應用程序數據庫架構
- 應用高級的Active Record技術:單表繼承、多態模型等
- 使用Action View和partials創建視覺元素
- 通過視圖緩存優化性能和可擴展性
- 掌握高效的Haml HTML模板引擎
- 充分利用Rails對會話管理的方法
- 通過Rails 4改進的身份驗證和授權保護系統
- 防止SQL注入、XSS、XSRF等攻擊
- 使用流行的gems和插件擴展Rails,並學習如何編寫自己的插件
- 通過Action Mailer集成電子郵件服務
- 使用Rails 4對不顯眼JavaScript的支持使用Ajax
- 通過後台處理提高響應能力
- 利用Asset Pipeline簡化開發,提高感知性能,減輕服務器負擔
- 使用RSpec加速實施並提高可維護性。

最後瀏覽商品 (20)