Learning Rails 5 : Rails from the outside in /
"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 W...
Clasificación: | Libro Electrónico |
---|---|
Autores principales: | , , |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
Sebastopol, CA :
O'Reilly,
2016.
|
Edición: | First edition. |
Temas: | |
Acceso en línea: | Texto completo (Requiere registro previo con correo institucional) |
Tabla de Contenidos:
- 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.