62,95 €*
Versandkostenfrei per Post / DHL
Lieferzeit 1-2 Wochen
Michael Hartl created the legendary Ruby on Rails Tutorial that helped jumpstart thousands of web development careers. A cofounder and principal author at Learn Enough, Hartl previously earned a Ph.D. in physics at the California Institute of Technology (Caltech), where he received a Lifetime Achievement Award for Excellence in Teaching. He is also an alumnus of Harvard University and the world-renowned Y Combinator entrepreneur program.
Foreword xvii
Preface xix
Acknowledgments xxv
About the Author xxvii
Chapter 1: From Zero to Deploy 1
1.1 Up and Running 5
1.2 The First Application 14
1.3 Version Control with Git 35
1.4 Deploying 52
1.5 Conclusion 61
1.6 Conventions Used in This Book 62
Chapter 2: A Toy App 65
2.1 Planning the Application 66
2.2 The Users Resource 71
2.3 The Microposts Resource 87
2.4 Conclusion 104
Chapter 3: Mostly Static Pages 107
3.1 Sample App Setup 107
3.2 Static Pages 115
3.3 Getting Started with Testing 126
3.4 Slightly Dynamic Pages 135
3.5 Conclusion 152
3.6 Advanced Testing Setup 153
Chapter 4: Rails-Flavored Ruby 159
4.1 Motivation 159
4.2 Strings and Methods 165
4.3 Other Data Structures 177
4.4 Ruby Classes 192
4.5 Conclusion 204
Chapter 5: Filling in the Layout 207
5.1 Adding Some Structure 207
5.2 Sass and the Asset Pipeline 232
5.3 Layout Links 242
5.4 User Signup: A First Step 255
5.5 Conclusion 260
Chapter 6: Modeling Users 263
6.1 User Model 264
6.2 User Validations 279
6.3 Adding a Secure Password 303
6.4 Conclusion 313
Chapter 7: Sign Up 315
7.1 Showing Users 316
7.2 Signup Form 337
7.3 Unsuccessful Signups 346
7.4 Successful Signups 361
7.5 Professional-Grade Deployment 374
7.6 Conclusion 380
Chapter 8: Basic Login 381
8.1 Sessions 381
8.2 Logging In 398
8.3 Logging Out 437
8.4 Conclusion 443
Chapter 9: Advanced Login 445
9.1 Remember Me 445
9.2 "Remember Me" Checkbox 470
9.3 Remember Tests 476
9.4 Conclusion 489
Chapter 10: Updating, Showing, and Deleting Users 493
10.1 Updating Users 493
10.2 Authorization 509
10.3 Showing All Users 526
10.4 Deleting Users 544
10.5 Conclusion 556
Chapter 11: Account Activation 559
11.1 Account Activations Resource 560
11.2 Account Activation Emails 568
11.3 Activating the Account 585
11.4 Email in Production 610
11.5 Conclusion 619
Chapter 12: Password Reset 621
12.1 Password Resets Resource 623
12.2 Password Reset Emails 634
12.3 Resetting the Password 641
12.4 Email in Production (Take 2) 658
12.5 Conclusion 659
12.6 Proof of Expiration Comparison 661
Chapter 13: User Microposts 663
13.1 A Micropost Model 663
13.2 Showing Microposts 679
13.3 Manipulating Microposts 693
13.4 Micropost Images 726
13.5 Conclusion 752
Chapter 14: Following Users 755
14.1 The Relationship Model 756
14.2 A Web Interface for Following Users 774
14.3 The Status Feed 805
14.4 Conclusion 821
Index 825
Erscheinungsjahr: | 2022 |
---|---|
Fachbereich: | Programmiersprachen |
Genre: | Informatik |
Rubrik: | Naturwissenschaften & Technik |
Medium: | Taschenbuch |
Inhalt: | Kartoniert / Broschiert |
ISBN-13: | 9780138049843 |
ISBN-10: | 013804984X |
Sprache: | Englisch |
Einband: | Kartoniert / Broschiert |
Autor: | Hartl, Michael |
Auflage: | 7th edition |
Hersteller: | Pearson Education |
Maße: | 231 x 180 x 46 mm |
Von/Mit: | Michael Hartl |
Erscheinungsdatum: | 12.11.2022 |
Gewicht: | 1,424 kg |
Michael Hartl created the legendary Ruby on Rails Tutorial that helped jumpstart thousands of web development careers. A cofounder and principal author at Learn Enough, Hartl previously earned a Ph.D. in physics at the California Institute of Technology (Caltech), where he received a Lifetime Achievement Award for Excellence in Teaching. He is also an alumnus of Harvard University and the world-renowned Y Combinator entrepreneur program.
Foreword xvii
Preface xix
Acknowledgments xxv
About the Author xxvii
Chapter 1: From Zero to Deploy 1
1.1 Up and Running 5
1.2 The First Application 14
1.3 Version Control with Git 35
1.4 Deploying 52
1.5 Conclusion 61
1.6 Conventions Used in This Book 62
Chapter 2: A Toy App 65
2.1 Planning the Application 66
2.2 The Users Resource 71
2.3 The Microposts Resource 87
2.4 Conclusion 104
Chapter 3: Mostly Static Pages 107
3.1 Sample App Setup 107
3.2 Static Pages 115
3.3 Getting Started with Testing 126
3.4 Slightly Dynamic Pages 135
3.5 Conclusion 152
3.6 Advanced Testing Setup 153
Chapter 4: Rails-Flavored Ruby 159
4.1 Motivation 159
4.2 Strings and Methods 165
4.3 Other Data Structures 177
4.4 Ruby Classes 192
4.5 Conclusion 204
Chapter 5: Filling in the Layout 207
5.1 Adding Some Structure 207
5.2 Sass and the Asset Pipeline 232
5.3 Layout Links 242
5.4 User Signup: A First Step 255
5.5 Conclusion 260
Chapter 6: Modeling Users 263
6.1 User Model 264
6.2 User Validations 279
6.3 Adding a Secure Password 303
6.4 Conclusion 313
Chapter 7: Sign Up 315
7.1 Showing Users 316
7.2 Signup Form 337
7.3 Unsuccessful Signups 346
7.4 Successful Signups 361
7.5 Professional-Grade Deployment 374
7.6 Conclusion 380
Chapter 8: Basic Login 381
8.1 Sessions 381
8.2 Logging In 398
8.3 Logging Out 437
8.4 Conclusion 443
Chapter 9: Advanced Login 445
9.1 Remember Me 445
9.2 "Remember Me" Checkbox 470
9.3 Remember Tests 476
9.4 Conclusion 489
Chapter 10: Updating, Showing, and Deleting Users 493
10.1 Updating Users 493
10.2 Authorization 509
10.3 Showing All Users 526
10.4 Deleting Users 544
10.5 Conclusion 556
Chapter 11: Account Activation 559
11.1 Account Activations Resource 560
11.2 Account Activation Emails 568
11.3 Activating the Account 585
11.4 Email in Production 610
11.5 Conclusion 619
Chapter 12: Password Reset 621
12.1 Password Resets Resource 623
12.2 Password Reset Emails 634
12.3 Resetting the Password 641
12.4 Email in Production (Take 2) 658
12.5 Conclusion 659
12.6 Proof of Expiration Comparison 661
Chapter 13: User Microposts 663
13.1 A Micropost Model 663
13.2 Showing Microposts 679
13.3 Manipulating Microposts 693
13.4 Micropost Images 726
13.5 Conclusion 752
Chapter 14: Following Users 755
14.1 The Relationship Model 756
14.2 A Web Interface for Following Users 774
14.3 The Status Feed 805
14.4 Conclusion 821
Index 825
Erscheinungsjahr: | 2022 |
---|---|
Fachbereich: | Programmiersprachen |
Genre: | Informatik |
Rubrik: | Naturwissenschaften & Technik |
Medium: | Taschenbuch |
Inhalt: | Kartoniert / Broschiert |
ISBN-13: | 9780138049843 |
ISBN-10: | 013804984X |
Sprache: | Englisch |
Einband: | Kartoniert / Broschiert |
Autor: | Hartl, Michael |
Auflage: | 7th edition |
Hersteller: | Pearson Education |
Maße: | 231 x 180 x 46 mm |
Von/Mit: | Michael Hartl |
Erscheinungsdatum: | 12.11.2022 |
Gewicht: | 1,424 kg |