The Rails View: Create a Beautiful and Maintainable User Experience (Paperback) (Rails 視圖:打造美觀且易於維護的使用者體驗)

Bruce Williams, John Athayde

  • 出版商: Pragmatic Bookshelf
  • 出版日期: 2012-04-06
  • 售價: $1,225
  • 貴賓價: 9.5$1,164
  • 語言: 英文
  • 頁數: 264
  • 裝訂: Paperback
  • ISBN: 1934356875
  • ISBN-13: 9781934356876
  • 相關分類: Ruby使用者經驗 UX
  • 立即出貨 (庫存 < 3)

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

相關主題

商品描述

Working in the View layer requires a breadth of knowledge and attention to detail unlike anywhere else in Rails. One wrong move can result in brittle, complex views that stop future development in its tracks. This book will help you break free from tangles of logic and markup in your views as you pick up the practical skills you need to implement your user interface cleanly and maintainably.

You'll discover how to build up solid, sustainable layouts and popular interface elements with semantic HTML5 and CSS3, and when you can responsibly generate markup and use advanced presenters... all without leaving the designers on your team out in the cold. Widen your appeal with responsive design, and discover how new progressive enhancement techniques can take you beyond the "weakest link" approach of the past. Master the asset pipeline introduced in Rails 3.1 and use Sass and Coffeescript to make your interface code shorter and more enjoyable.

You'll create elegant, well-structured views that are a joy to build on. You'll appreciate its comprehensive, objective guidance in a realm full of subjective opinions.

What You Need:

All examples in the book assume Rails 3.1 and Ruby 1.9.x are installed. Detailed information on how to install these for Windows, Mac OS X and Linux is included in the book.

商品描述(中文翻譯)

在Rails中,工作在View層需要廣泛的知識和對細節的關注,這是其他地方所沒有的。一個錯誤的舉動可能導致脆弱、複雜的視圖,阻礙未來的開發。這本書將幫助您擺脫視圖中的邏輯和標記的混亂,並學習實用的技能,以清晰、可維護的方式實現用戶界面。

您將發現如何使用語義化的HTML5和CSS3構建堅固、可持續的佈局和流行的界面元素,以及在不讓設計師感到冷落的情況下負責生成標記和使用高級Presenter。通過響應式設計擴大您的吸引力,並發現新的漸進增強技術如何超越過去的“最弱環節”方法。掌握在Rails 3.1中引入的資源管道,並使用Sass和Coffeescript使您的界面代碼更短、更愉悅。

您將創建優雅、結構良好的視圖,這將是一種樂趣。您將欣賞到這本書在主觀意見眾多的領域中提供的全面客觀指導。

所需材料:
本書中的所有示例都假設已安裝了Rails 3.1和Ruby 1.9.x。有關如何在Windows、Mac OS X和Linux上安裝這些軟件的詳細信息已包含在本書中。