The Rails View Create a Beautiful and Maintainable User Experience 1st Edition by John Athayde – Ebook PDF Instant Download/Delivery: 978-1934356876, 1934356875
Full download The Rails View Create a Beautiful and Maintainable User Experience 1st Edition after payment

Product details:
ISBN 10: 1934356875
ISBN 13: 978-1934356876
Author: John Athayde
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.
Table of contents:
-
Creating an Application Layout
1.1 Creating a Basic Layout
1.2 Setting Up a Boilerplate
1.3 Building the Page Frame
1.4 Adding a Sidebar
1.5 Adding Navigation
1.6 Displaying Notifications
1.7 Validating Our Code
1.8 Testing Internet Explorer
1.9 Wrapping Up -
Improving Readability
2.1 Choosing a Templating Language
2.2 Standardizing Coding Practices
2.3 Simplifying Complex Output
2.4 Working with Models
2.5 Displaying Conditional Content
2.6 Adding Model DOM IDs for JavaScript
2.7 Cleaning Up
2.8 Wrapping Up -
Adding Cascading Style Sheets
3.1 Using the Asset Pipeline
3.2 Learning SCSS
3.3 Adding Sprites
3.4 Using Web Fonts
3.5 Wrapping Up -
Adding JavaScript
4.1 Using JavaScript from Rails
4.2 Testing Ajax
4.3 Wrapping Up -
Building Maintainable Forms
5.1 Using Semantic Form Tags
5.2 Building Custom Form Builders
5.3 Looking Toward the Future of HTML5 Form Elements
5.4 Wrapping Up -
Using Presenters
6.1 Presenting a Record
6.2 Presenting Multiple Records
6.3 Using Presenters for Serialization
6.4 Wrapping Up -
Handling Mobile Views
7.1 Building a Flexible Layout
7.2 The Next Level with Responsive Design (media queries)
7.3 Using Mobile-Specific Templates
7.4 Using jQuery Mobile
7.5 Wrapping Up -
Working with Email
8.1 Building a Mailer
8.2 Handling Email Templates
8.3 Testing Locally
8.4 Testing Across Clients
8.5 Wrapping Up -
Optimizing Performance
9.1 A/B Testing with Vanity
9.2 Performance Testing and Maintenance
9.3 Wrapping Up
9.4 Where Do We Go from Here?
People also search for:
rails 5 create
view rails routes
rails generate view for existing controller
rails view context
rails generate views for existing model
Tags: John Athayde, The Rails, Create a Beautiful, Maintainable User Experience


