O'Reilly logo

PeopleSoft PeopleTools Tips & Techniques by Jim J. Marion

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CHAPTER 16 PeopleCode Language Arts

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.

Composition over Inheritance

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required