View Components for Rails Applications

Views are often the most neglected part of a Rails application. The framework's built-in mechanisms for organizing view related code are very rudimentary. They work fine for small to medium sized applications, but when your application grows past a certain size, helpers and partials are simply not enough. Rails does not provide any mechanism to model complex view components. Many Rails applications therefore suffer from the fact that there is no clean separation between the concept and the representation of interface elements.

In this talk, I present an easy solution to the problem described above. In essence, this talk is about building view components that adhere the principles of modern object oriented design, ultimately leading to an inferior application design. The talk has a strong focus on modularity, reusability and robustness. Among other things, you will learn how to build and test view components, as well as, how to package these components in order to use them in multiple applications.