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.
You will:
- 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 tothe Amazon cloud
Autorentext
Adam Notodikromo (formerly Adam Pahlevi Baihaqi) is a software engineer committed to creating working and technically well-written apps. With his colleagues in Indonesia and Germany, he is building their company together: Sonasign. He lives in Meguro, Tokyo to enjoy bowls of Yokohama-style ramen and also dry tantanmen. He works with kind teammates at Autify.
Inhalt
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 d...