CHAPTER 8Content Rendering

Chapter 6 explained in some detail how to use JRuby to get access to Java resources, and Chapter 7 described the implementation of most of the administrative user interface for the CoMpoSe application. This chapter is split in two parts. First of all, we're going to take a thorough look at different ways of doing content rendering. The examples here will be small standalone programs that can be executed outside Rails. In this way we can see many different ways of handling XML content, and also some other interesting approaches.

In the second part of the chapter we use what we learned from Chapters 6 and 7, and from the first part of this one, to finally create the rendering engine for CoMpoSe. The final system will ...

Get Practical JRuby on Rails Web 2.0 Projects: Bringing Ruby on Rails to Java™ Platform 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.