3.6 Moving Ahead
In this chapter, we learned about the eRuby templating system and how to use its implementation library, ERB, with dRuby and CGI.
We also experimented with three different ways of allocating Reminder
and ReminderCGI
into processes.
I hope you found it easy to make these changes, because dRuby is designed to act just like Ruby. There are many ways to architect the layout of objects into processes, and dRuby can help you when designing your system architecture.
In the next chapter, you’ll learn two different ways to exchange objects across processes: passing by reference and passing by value. You may encounter unexpected behavior if you aren’t aware of these differences, so let’s find out more details.
English edition
The dRuby Book: Distributed and Parallel Computing with Ruby
by Masatoshi Seki (Translated by Makoto Inoue)
Copyright (C) 2012 by Masatoshi Seki
Originally published by Pragmatic Programmers, LLC.
Original Japanese edition
dRuby ni yoru Bunsan Web Programming
by Masatoshi Seki
Copyright (C) 2005 by Masatoshi Seki
Published by Ohmsha, Ltd.
3-1 Kanda Nishikicho, Chiyodaku, Tokyo 101-8460
Japan
The adobe copyright notice shall be included in all copies.