✓ Schweizer Online-Shop
Ruby on Rails Tutorial: Learn Web Development with Rails

Ruby on Rails Tutorial: Learn Web Development with Rails

von Michael Hartl

Verlag
Pearson
Unsere Artikel-Nr.
2Y4VQ6W

Beschreibung

"Ruby on Rails Tutorial by Michael Hartl has become a must-read for developers learning how to build Rails apps. ". -Peter Cooper, Editor of Ruby Inside. Used by sites as varied as Hulu, GitHub, Shopify, and Airbnb, Ruby on Rails is one of the most popular frameworks for developing web applications, but it can be challenging to learn and use. Whether you're new to web development or new only to Rails, Ruby on Rails Tutorial, Seventh Edition,. is the solution. Best-selling author and leading Rails developer Michael Hartl teaches Rails by guiding you through the development of three example applications of increasing sophistication. The tutorial's examples focus on the general principles of web development needed for virtually any kind of website. The updates to this edition include full compatibility with Rails 7. This indispensable guide provides integrated tutorials not only for Rails, but also for the essential Ruby, HTML, CSS, and SQL skills you need when developing web applications. Hartl explains how each new technique solves a real-world problem, and then he demonstrates it with bite-sized code that's simple enough to understand while still being useful. Whatever your previous web-development experience, this book will guide you to true Rails mastery. This book will help you. Set up your Rails development environment. Record version changes with Git and create a secure remote repository at GitHub. Deploy your applications early and often with Heroku. Go beyond generated code to truly understand how to build Rails applications from scratch. Learn testing and test-driven development (TDD). Effectively use the model-view-controller (MVC) pattern. Structure applications using the REST architecture. Build static pages and transform them into dynamic ones. Master the Ruby programming skills all Rails developers need. Create high-quality site layouts and data models. Implement registration and authentication systems, including validation and secure passwords. Update, display, and delete users. Upload and display images using Active Storage and Amazon S3. Implement account activation and password reset, including sending email with Rails. Integrate JavaScript with Rails using Importmap. Add social features and microblogging, including an introduction to Hotwire and Turbo. Register your book for convenient access to downloads, updates, and/or corrections as they become available. See inside book for details.

Spezifikationen

SpracheEnglisch
AutorMichael Hartl
ThemaSoftwareentwicklung: Programmiersprachen
Auflage7
Erscheinungsjahr2023
FormatBuch (Softcover)
Anzahl Seiten896

Inhaltsverzeichnis

"

Foreword xvii<\/em>\r\nPreface xix<\/em>\r\nAcknowledgments xxv<\/em>\r\nAbout the Author xxvii<\/em><\/p>

Chapter 1: From Zero to Deploy 1\r\n1.1 Up and Running 5\r\n1.2 The First Application 14\r\n1.3 Version Control with Git 35\r\n1.4 Deploying 52\r\n1.5 Conclusion 61\r\n1.6 Conventions Used in This Book 62<\/p>

Chapter 2: A Toy App 65\r\n2.1 Planning the Application 66\r\n2.2 The Users Resource 71\r\n2.3 The Microposts Resource 87\r\n2.4 Conclusion 104<\/p>

Chapter 3: Mostly Static Pages 107\r\n3.1 Sample App Setup 107\r\n3.2 Static Pages 115\r\n3.3 Getting Started with Testing 126\r\n3.4 Slightly Dynamic Pages 135\r\n3.5 Conclusion 152\r\n3.6 Advanced Testing Setup 153<\/p>

Chapter 4: Rails-Flavored Ruby 159\r\n4.1 Motivation 159\r\n4.2 Strings and Methods 165\r\n4.3 Other Data Structures 177\r\n4.4 Ruby Classes 192\r\n4.5 Conclusion 204<\/p>

Chapter 5: Filling in the Layout 207\r\n5.1 Adding Some Structure 207\r\n5.2 Sass and the Asset Pipeline 232\r\n5.3 Layout Links 242\r\n5.4 User Signup: A First Step 255\r\n5.5 Conclusion 260<\/p>

Chapter 6: Modeling Users 263\r\n6.1 User Model 264\r\n6.2 User Validations 279\r\n6.3 Adding a Secure Password 303\r\n6.4 Conclusion 313<\/p>

Chapter 7: Sign Up 315\r\n7.1 Showing Users 316\r\n7.2 Signup Form 337\r\n7.3 Unsuccessful Signups 346\r\n7.4 Successful Signups 361\r\n7.5 Professional-Grade Deployment 374\r\n7.6 Conclusion 380<\/p>

Chapter 8: Basic Login 381\r\n8.1 Sessions 381\r\n8.2 Logging In 398\r\n8.3 Logging Out 437\r\n8.4 Conclusion 443<\/p>

Chapter 9: Advanced Login 445\r\n9.1 Remember Me 445\r\n9.2 \"Remember Me\" Checkbox 470\r\n9.3 Remember Tests 476\r\n9.4 Conclusion 489<\/p>

Chapter 10: Updating, Showing, and Deleting Users 493\r\n10.1 Updating Users 493\r\n10.2 Authorization 509\r\n10.3 Showing All Users 526\r\n10.4 Deleting Users 544\r\n10.5 Conclusion 556<\/p>

Chapter 11: Account Activation 559\r\n11.1 Account Activations Resource 560\r\n11.2 Account Activation Emails 568\r\n11.3 Activating the Account 585\r\n11.4 Email in Production 610\r\n11.5 Conclusion 619<\/p>

Chapter 12: Password Reset 621\r\n12.1 Password Resets Resource 623\r\n12.2 Password Reset Emails 634\r\n12.3 Resetting the Password 641\r\n12.4 Email in Production (Take 2) 658\r\n12.5 Conclusion 659\r\n12.6 Proof of Expiration Comparison 661<\/p>

Chapter 13: User Microposts 663\r\n13.1 A Micropost Model 663\r\n13.2 Showing Microposts 679\r\n13.3 Manipulating Microposts 693\r\n13.4 Micropost Images 726\r\n13.5 Conclusion 752<\/p>

Chapter 14: Following Users 755\r\n14.1 The Relationship Model 756\r\n14.2 A Web Interface for Following Users 774\r\n14.3 The Status Feed 805\r\n14.4 Conclusion 821<\/p>

Index 825<\/em><\/p>"

Bewertungen

Produkt bewerten

Für dieses Produkt liegt noch keine Bewertung vor. Wenn Sie es gekauft haben, teilen Sie gerne Ihre Erfahrung.

Zahlungsarten

payment-einzahlungsscheinpayment-twintpayment-mastercardpayment-visapost-finance-paypayment-apple-paypayment-google-paysamsung-pay

Rechnung (Einzahlungsschein mit QR-Code), Twint, Kreditkarte, PostFinance, Apple, Google oder Samsung Pay.

Versand

Kostenlos: Schweiz & Liechtenstein

Rückgabe

30 Tage Rückgaberecht

Sie können das Produkt innerhalb von 30 Wochentagen ohne Angabe von Gründen zurücksenden, sofern es unbeschädigt und in der Originalverpackung ist.

Weitere Hinweise finden Sie in unseren AGB unter D.1.