Chapter 10. Getting in Front of Your Object with a Proxy
Software engineering is full of ironies. I can work day and night for months on the new BankAccount object, a technical masterpiece that allows clients to manage all their banking needs. Then I can labor for even more months to keep all but a very few (authorized) clients from getting anywhere near it.
But then my boss tells me that the authorized clients don’t even want my BankAccount object. Well, at least they don’t want it on their computers—it would be great if they could somehow use the BankAccount class while it is running on the server, but no way will the users install that thing on their computers.
Finally, as the all-but-impossible, we got to have this code right now deadline ...
Get Design Patterns in Ruby 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.