July 2010
Intermediate to advanced
640 pages
15h 45m
English
Programmers apply various coding standards, practices, and patterns to mainstream programming languages. This chapter describes how we can use some of these standards, practices, and patterns with PeopleCode.
In Chapter 1, we used application classes to create a PeopleCode logging framework. Our logging framework consisted of a Logger interface, a LoggerBase abstract class, and two concrete Logger implementations named FileLogger and MessageBoxLogger. This inheritance-based design decision served us well for Chapter 1, but let’s consider some more complex examples.
What if we want to add encryption to logging targets? How and where would we implement encryption? If we implement ...
Read now
Unlock full access