Synopses & Reviews
Synopsis
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 see how to build a social network application and then deploy it on a cloud provider such as Amazon Web Services.
After reading and using this book, you'll be able to effectively build and deploy your Rails application to the cloud. You'll also have used the Ruby on Rails framework to carry out the rapid development of an idea into a product without sacrificing quality.
What You Will Learn
- Use the Ruby on Rails 6 web development framework
- Integrate Docker with your Ruby on Rails code
- Apply software engineering techniques to learning the Rails framework
- Design, build, and deploy a social networking application to the Amazon cloud
Who This Book Is For
Beginners with at least some prior programming experience. Ruby experience is helpful, but not required.
Synopsis
Part 1: Introduction to Ruby and Rails
Chapter 1: Hello, Rails
- The world before the Rails
- Favorite things I gained from Rails
- Increased Signal-to-Noise ratio
- Testability since Day 1
- Programmer happiness
- Installing Docker on Windows
- Installing Docker on Ubuntu Linux
- Installing Docker on MacOS
- Creating simple containerized Rails app
- MVC architecture
- Deploying to Heroku
- Git workflow
Chapter 2: Ruby Quick Crash Course
- What kind of a language is Ruby?
- Interactive console
- Number
- String
- Making a Class
- Public functions
- Private and protected membership
- Instance variables
- Constants
- Building on a Module
- Everything is an Object
- Date
- Array
- Hash
- Symbol (after having experience building Hash with Symbol vs String)
- Instantiating other objects
- Make your own Block (simple way to introduce yield & block, and learn build simple DSL)
- Thread
- Meta-programming
Part 2: Building a Social Network
- What are we building?
- Use case diagram
- Entity diagram
Chapter 3: Building the Models
- User model
- Inserting data
- Updating data
- Seeking data
- Destroying data
- Unit-test the model with RSpec
- Complex Query
- Status model and Has One-to-One relationship
- Friendship model and Many-to-Many relationship
- Testing up the relationships
- Adding validations
- &