Component-Based Rails Applications: Large Domains Under Control, 1st edition

Published by Addison-Wesley Professional (June 22, 2018) © 2018

  • Stephan Hagemann
Products list

Title overview

When Ruby on Rails was introduced, web developers flocked to it, quickly building applications that have become utterly indispensable to their organisations. But those early Rails applications have often proven extremely difficult to maintain, evolve, and scale. Now, in Component-Based Rails Applications, Stephan Hagemann introduces a practical, start-to-finish methodology for modernising and restructuring existing Rails applications with modern components. One step at a time, Hagemann demonstrates how to revamp Rails applications to exhibit visible, provably independent, and explicitly connected parts--thereby simplifying them, and making them far easier to manage, change, and test.

The first and only guide to componentising Rails, this book offers hands-on, step-by-step coverage of

  • Creating a full-fledged component-based Rails application from the ground up
  • Refactoring an existing Rails application to extract components
  • Using gems and engines to implement components in Ruby and Rails code bases
  • Applying modern patterns such as DCI and hexagonal architecture
  • Overcoming the unique challenges that arise during componentisation of Rails applications
Throughout, Hagemann introduces concepts and techniques that developers can use to improve applications of many kinds, even if they weren’t built with Rails or Ruby.

The full text downloaded to your computer

With eBooks you can:

  • search for key concepts, words and phrases
  • make highlights and notes as you study
  • share your notes with friends

eBooks are downloaded to your computer and accessible either offline through the Bookshelf (available as a free download), available online and also via the iPad and Android apps.

Upon purchase, you'll gain instant access to this eBook.

Time limit

The eBooks products do not have an expiry date. You will continue to access your digital ebook products whilst you have your Bookshelf installed.

Table of contents

  • Preface
  • About the Author
  • Chapter 1: Introduction to Component-Based Rails Applications
  • Chapter 2: Creating a Component-Based Application
  • Chapter 3: Tooling for Components
  • Chapter 4: Component Refactorings–Extracting Components Out of Components
  • Chapter 5: From Ball of Mud to First Components
  • Chapter 6: Component-Based Rails in Relation to Other Patterns
  • Chapter 7: Components in Other Languages
  • Appendix
  • Index

Need help?Get in touch