CHAPTER 4

Component Refactorings: Extracting Components out of Components

Photo: Eric Isselee/Shutterstock

With the previous chapter behind us, we know how to create a component- based application. It covered all the techniques relevant in the creation of a component. If, however, you picked up this book because you would like to change the existing application you are working on, there is a big, unanswered question: How do you find the actual components in your application?

Also, with just one component present, the benefits of CBRA are impossible to communicate. We have already discovered many quirks when using gems and engines as components, ...

Get Component-Based Rails Applications: Large Domains Under Control now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.