Limit search to available items
Book Cover
E-book
Author Locklear, J. Mark, author

Title Learning Rails 5 : Rails from the outside in / J. Mark Locklear, with Barnabas Bulpett and Eric J. Gruber
Edition First edition
Published Sebastopol, CA : O'Reilly, 2016

Copies

Description 1 online resource
Contents Copyright; Table of Contents; Foreword; Preface; Who This Book Is For; Who This Book Is Not For; What You'll Learn; Ruby and Rails Style; Other Options; Rails Versions; If You Have Problems Making Examples Work; If You Like (or Don't Like) This Book; Conventions Used in This Book; Using Code Examples; SafariĀ® Books Online; How to Contact Us; Acknowledgments; Chapter 1. Starting Up Ruby on Rails; If You Run Windows, You're Lucky; Getting Started at the Command Line; Starting Up Rails; Test Your Knowledge; Quiz; Answers; Chapter 2. Rails on the Web; Creating Your Own View
What Are All Those Folders?Adding Some Data; How Hello World Works; Adding Logic to the View; Test Your Knowledge; Quiz; Answers; Chapter 3. Adding Web Style; I Want My CSS!; Specifying Stylesheets; Creating a Layout for a Controller; Choosing a Layout from a Controller; Sharing Template Data with the Layout; Setting a Default Page; Test Your Knowledge; Quiz; Answers; Chapter 4. Managing Data Flow: Controllers and Models; Getting Started, Greeting Guests; Application Flow; Keeping Track: A Simple Guestbook; Connecting to a Database Through a Model; Connecting the Controller to the Model
Finding Data with ActiveRecordTest Your Knowledge; Quiz; Answers; Chapter 5. Accelerating Development with Scaffolding and REST; A First Look at Scaffolding; REST and Controller Best Practices; Websites and Web Applications; Toward a Cleaner Approach; Examining a RESTful Controller; index: An Overview of Data; show: Just One Row of Data and the Before Filter; new: A Blank Set of Data Fields; edit: Hand Me That Data, Please; create: Save Something New; Put This Updated Record In; Destroy It; Escaping the REST Prison; Test Your Knowledge; Quiz; Answers; Chapter 6. Presenting Models with Forms
More Than a Name on a FormGenerating HTML Forms with Scaffolding; Form as a Wrapper; Creating Text Fields and Text Areas; Labels; Creating Checkboxes; Creating Radio Buttons; Creating Selection Lists; Dates and Times; Creating Helper Methods; Test Your Knowledge; Quiz; Answers; Chapter 7. Strengthening Models with Validation; Without Validation; The Original Model; The Power of Declarative Validation; Managing Secrets; Customizing the Message; Limiting Choices; Testing Format with Regular Expressions; Seen It All Before; Numbers Only; A Place on the Calendar; Testing for Presence
Beyond Simple DeclarationsTest It Only If; Do It Yourself; Test Your Knowledge; Quiz; Answers; Chapter 8. Improving Forms; Adding a Picture by Uploading a File; File Upload Forms; Model and Migration Changes; Results; Standardizing Your Look with Form Builders; Supporting Your Own Field Types; Adding Automation; Integrating Form Builders and Styles; Test Your Knowledge; Quiz; Answers; Chapter 9. Developing Model Relationships; Connecting Awards to Students; Establishing the Relationship; Supporting the Relationship; Connecting Students to Awards; Removing Awards When Students Disappear
Summary "If you're a web developer or designer ready to learn Ruby on Rails, this hands-on guide is the ideal way to get started. Rather than toss you into the middle of the framework's Model-View-Controller architecture, as many books do, Learning Rails 5 begins with the foundations of the Web you already know. You'll learn how to create something visible with Rails' view layer before diving into the more difficult inner layers: the database models and controller code. All you need to begin your Rails journey is HTML experience. Each chapter includes exercises and review questions to test your understanding as you go"--Back cover
Notes Includes index
Online resource; title from PDF title page (EBSCO, viewed September 6, 2016)
SUBJECT Ruby on rails (Electronic resource) http://id.loc.gov/authorities/names/n2007054474
Ruby on rails (Electronic resource) fast
Subject Ruby (Computer program language)
Web site development.
Application software -- Development.
COMPUTERS -- Programming -- Object Oriented.
Application software -- Development
Ruby (Computer program language)
Web site development
Websites.
Ruby (programmeertaal)
Form Electronic book
Author Bulpett, Barnabas, author
Gruber, Eric J. (Eric Jason), 1976- author.
LC no. 2017394659
ISBN 9781491926178
1491926171
9781491926154
1491926155