Learn Rails 6 : accelerated web development with Ruby on Rails /
Effectively learn and apply software development and engineering techniques to web application development using Rails 6 with this accelerated tutorial. This book teaches modern engineering practices including git flow, containerization, debugging, testing, and deployment. Along the way, you'll...
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
Berkeley, CA :
Apress,
2020.
|
Temas: | |
Acceso en línea: | Texto completo (Requiere registro previo con correo institucional) |
Tabla de Contenidos:
- Intro
- Table of Contents
- About the Author
- Acknowledgments
- Introduction
- Chapter 1: First Things Rails
- The Web Chronicles
- Why Rails?
- Simplicity Through Conventions
- Increased Signal to Noise
- MVC Architecture
- ActiveRecord
- Automated Testing
- Maximizing Developer Happiness
- Multiple Environments
- Rapid Application Development
- Open Source
- Preparing the Toolbox
- Node.js
- Ruby 2.6.5
- An Overview of the Project
- PostgreSQL 11 with PostGIS
- Rails 6
- Integrated Development Environment
- Development
- In the Beginning
- Directory Structure
- Starting the Server
- Committing to Version Control
- Scaffolding Greeting
- Tour of the Routes
- Examining Actions
- Rails Console
- Layout
- Deployment
- Rails 6 vs. Rails 5: New Features
- Database Read/Write Switch
- ActionMailbox
- Zeitwerk
- Replanting Seed (and Truncation)
- Action Text
- Environment-Specific Credentials
- Webpacker
- Summary
- Chapter 2: Fundamental Ruby
- Interactive Ruby (irb) and Variables
- nil
- The Boolean System
- Numeric
- String
- Array
- Symbol
- Hash
- Summary
- Chapter 3: Advanced Ruby
- Methods
- Classes
- Modules
- Lambdas and Blocks
- Metaprogramming
- Exception Handling
- Regular Expressions
- Bundler and Gemfiles
- Summary
- Chapter 4: Modeling the Models
- What Is a Database?
- Initializing Tandibi
- Welcoming Our Models
- User
- Bond
- Post
- Picture
- Status
- Place
- Sight
- Fundamental Techniques
- Defining a Model
- Initializing a Record
- Saving and Updating Data
- Finding Data
- Deleting Data
- Detecting Changes
- Transactional Block
- Domain Logics
- Validations and Errors
- Validating Data Uniqueness
- Validating Data Existence
- Restricting Possible Value
- Validating Data Conformity
- Other Validation Techniques
- Investigating Errors
- Forcing a Save
- Associations
- One-to-One (belongs_to)
- One-to-Many
- One-to-Many Through
- Many-to-Many
- Polymorphic Association
- Single-Table Inheritance
- Callbacks
- Enrichment
- Factory Bot: Record Maker
- Automated Data Population
- Enumerated Values
- Scopes
- Active Model
- Summary
- Chapter 5: Session and Authentication
- First, Let's Sketch It
- ERB Templates 101
- Setting Up tailwind.css
- Authentication with Devise
- Integrating Devise
- Setting Up the Layout
- Customizing the Sign-Up Page
- Customizing the Sign-in Page
- Customizing the Forgot Password Page
- Customizing the Reset Password Page
- Proper Home Page
- Email Makeover
- Summary
- Chapter 6: Building the Timeline
- Let's Build the Timeline
- Preparing the Foundation
- Preparing the Layout
- Working on the Mass Timeline
- Using the Decorator Pattern
- Unit Testing a View
- Building the User's Timeline
- Say Something
- Preparing the User Interface
- Doing the Backend Work
- Performing Request Testing
- Posting a Comment
- Summary
- Chapter 7: Picturesque Storage