Muutke küpsiste eelistusi

Learn Rails 6: Accelerated Web Development with Ruby on Rails 1st ed. [Pehme köide]

  • Formaat: Paperback / softback, 541 pages, kõrgus x laius: 254x178 mm, kaal: 1053 g, 154 Illustrations, black and white, 1 Paperback / softback
  • Ilmumisaeg: 25-Oct-2020
  • Kirjastus: APress
  • ISBN-10: 1484260252
  • ISBN-13: 9781484260258
  • Pehme köide
  • Hind: 72,03 €*
  • * hind on lõplik, st. muud allahindlused enam ei rakendu
  • Tavahind: 84,74 €
  • Säästad 15%
  • Raamatu kohalejõudmiseks kirjastusest kulub orienteeruvalt 3-4 nädalat
  • Kogus:
  • Lisa ostukorvi
  • Tasuta tarne
  • Tellimisaeg 2-4 nädalat
  • Lisa soovinimekirja
  • Formaat: Paperback / softback, 541 pages, kõrgus x laius: 254x178 mm, kaal: 1053 g, 154 Illustrations, black and white, 1 Paperback / softback
  • Ilmumisaeg: 25-Oct-2020
  • Kirjastus: APress
  • ISBN-10: 1484260252
  • ISBN-13: 9781484260258

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.


About the Author xiii
Acknowledgments xv
Introduction xvii
Chapter 1 First Things Rails
1(56)
The Web Chronicles
1(3)
Why Rails?
4(4)
Simplicity Through Conventions
4(1)
Increased Signal to Noise
4(1)
MVC Architecture
5(1)
ActiveRecord
6(1)
Automated Testing
6(1)
Maximizing Developer Happiness
7(1)
Multiple Environments
7(1)
Rapid Application Development
7(1)
Open Source
7(1)
Preparing the Toolbox
8(7)
Node.js
9(1)
Ruby 2.6.5
10(1)
An Overview of the Project
11(1)
PostgreSQL 11 with PostGIS
11(3)
Rails 6
14(1)
Integrated Development Environment
14(1)
Development
15(32)
In the Beginning
16(1)
Directory Structure
16(2)
Starting the Server
18(2)
Committing to Version Control
20(2)
Scaffolding Greeting
22(3)
Tour of the Routes
25(2)
Examining Actions
27(7)
Rails Console
34(4)
Layout
38(9)
Deployment
47(4)
Rails 6 vs. Rails 5: New Features
51(5)
Database Read/Write Switch
51(1)
ActionMailbox
52(1)
Zeitwerk
52(1)
Replanting Seed (and Truncation)
53(1)
Action Text
54(1)
Environment-Specific Credentials
55(1)
Webpacker
55(1)
Summary
56(1)
Chapter 2 Fundamental Ruby
57(30)
Interactive Ruby (irb) and Variables
57(2)
Nil
59(2)
The Boolean System
61(8)
Numeric
69(2)
String
71(5)
Array
76(4)
Symbol
80(1)
Hash
81(4)
Summary
85(2)
Chapter 3 Advanced Ruby
87(42)
Methods
87(5)
Classes
92(13)
Modules
105(3)
Lambdas and Blocks
108(6)
Metaprogramming
114(4)
Exception Handling
118(5)
Regular Expressions
123(1)
Bundler and Gemfiles
124(4)
Summary
128(1)
Chapter 4 Modeling the Models
129(80)
What Is a Database?
129(1)
Initializing Tandibi
130(3)
Welcoming Our Models
133(14)
User
134(3)
Bond
137(2)
Post
139(1)
Picture
140(1)
Status
141(1)
Place
141(5)
Sight
146(1)
Fundamental Techniques
147(14)
Defining a Model
147(1)
Initializing a Record
148(1)
Saving and Updating Data
149(4)
Finding Data
153(3)
Deleting Data
156(2)
Detecting Changes
158(1)
Transactional Block
159(2)
Domain Logics
161(38)
Validations and Errors
161(18)
Associations
179(16)
Single-Table Inheritance
195(1)
Callbacks
196(3)
Enrichment
199(8)
Factory Bot: Record Maker
199(3)
Automated Data Population
202(2)
Enumerated Values
204(1)
Scopes
205(1)
Active Model
206(1)
Summary
207(2)
Chapter 5 Session and Authentication
209(52)
First, Let's Sketch It
209(6)
ERB Templates 101
215(2)
Setting Up tailwind.css
217(2)
Authentication with Devise
219(29)
Integrating Devise
219(3)
Setting Up the Layout
222(6)
Customizing the Sign-Up Page
228(10)
Customizing the Sign-in Page
238(4)
Customizing the Forgot Password Page
242(3)
Customizing the Reset Password Page
245(3)
Proper Home Page
248(6)
Email Makeover
254(5)
Summary
259(2)
Chapter 6 Building the Timeline
261(56)
Let's Build the Timeline
262(28)
Preparing the Foundation
262(1)
Preparing the Layout
263(11)
Working on the Mass Timeline
274(7)
Using the Decorator Pattern
281(3)
Unit Testing a View
284(4)
Building the User's Timeline
288(2)
Say Something
290(26)
Preparing the User Interface
290(7)
Doing the Backend Work
297(6)
Performing Request Testing
303(2)
Posting a Comment
305(11)
Summary
316(1)
Chapter 7 Picturesque Storage
317(38)
Hitchhiker's Guide to Active Storage
317(3)
Setting Up Active Storage
318(1)
Attaching Files
318(2)
Posting the Pictures
320(18)
Creating the Uploader Form
321(9)
Working on the Backend
330(3)
Showing Off the Pictures
333(5)
Storing to Amazon S3
338(8)
Creating an S3 Bucket
339(1)
Obtaining and Storing Credentials
340(3)
Configuring Active Storage to Use S3
343(3)
Integration Testing with Capybara
346(7)
Summary
353(2)
Chapter 8 Places and Queues
355(64)
Enter Vue.js and Webpacker
355(4)
Google Maps and Places API
359(6)
Early User Interfaces
365(20)
Adding index.vue
368(5)
Adding Post Switcher
373(4)
Adding PlaceFinder.vue
377(2)
Adding Map.vue
379(3)
Adding PlaceList.vue
382(3)
Centralizing States via the Vuex Store
385(5)
Working on the Backend
390(8)
Place Finder and Crawler
390(5)
The Place Controller API
395(3)
Wiring Things Up
398(13)
Crawling in the Background
411(4)
Writing the Tests
415(3)
Summary
418(1)
Chapter 9 Friendship
419(46)
The Settings Page
419(9)
Respecting Privacy Through Authorization
428(9)
Follow Requests: Front End
437(9)
Processing Follow Requests
446(4)
Unfollowing
450(2)
Accepting and Rejecting Requests
452(11)
Summary
463(2)
Chapter 10 A Well-Rounded Engineer
465(64)
Continuous Integration
465(10)
Internationalization
475(12)
Containerization: Hypersonic Setup
487(9)
Deploying to AWS Elastic Beanstalk
496(30)
Installing the Command-Line Interface
497(1)
Setting Up the Elastic Beanstalk App
498(7)
Setting Up the Database
505(10)
Configuring the Application
515(7)
Deployment
522(3)
Enabling SSH
525(1)
Reflection
526(1)
Performance, Metrics, and Monitoring
526(1)
Summary
527(2)
Appendix: Validations 529(2)
Index 531
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.