The Rails View
Create a Beautiful and Maintainable User Experience
Publisher: Pragmatic Bookshelf
Final Release Date: March 2012
Pages: 264

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 or later 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.

Product Details
About the Author
Recommended for You
Customer Reviews

REVIEW SNAPSHOT®

by PowerReviews
oreillyThe Rails View
 
5.0

(based on 1 review)

Ratings Distribution

  • 5 Stars

     

    (1)

  • 4 Stars

     

    (0)

  • 3 Stars

     

    (0)

  • 2 Stars

     

    (0)

  • 1 Stars

     

    (0)

Reviewed by 1 customer

Displaying review 1

Back to top

 
5.0

Finally, a current view-layer book!

By Larry

from Somerville, MA

About Me Developer

Pros

  • Concise
  • Easy to understand
  • Helpful examples
  • Well-written

Cons

    Best Uses

    • Expert
    • Intermediate
    • Novice

    Comments about oreilly The Rails View:

    The best (and most important) thing I liked about this book was how current it was. I've read quite a few Rails books, and the chapters on the View Layer are all pretty much the same in that they cover ERB, partials, forms, helpers, 'xxx_tag' helpers for non-model forms, render vs. redirect, etc.

    Few resources cover the current - and important - stuff that this book covers, for example using normalize.css, Modernizr, Selectivizr, Total Validator, SASS/SCSS, email, etc. They also cover things we need to be aware of for mobile views like Responsive Design, mobile-specific templates, and jQuery Mobile.

    All in all this is the most up-to-date resource for the View Layer that I'm aware of, and I think that fact alone means it's worth a look-see.

    Displaying review 1

    Back to top

     
    Buy 2 Get 1 Free Free Shipping Guarantee
    Buying Options