Write better code faster. Leverage modern frameworks!
Many PeopleTools features, such as Event Mapping and Integration Broker, REQUIRE Application Classes.
What you will learn
- Object-oriented Concepts
- Inheritance
- Properties and Methods
- Abstract Classes
- Test-first Programming
- Dynamic PeopleCode
- Basics of Application Classes
- Constructors
- Interfaces
- Design Patterns
- PSUnit Unit Testing Framework
- Best practices
WHO SHOULD ATTEND?
-
PeopleSoft Developers
RECOMMENDED PREREQUISITES
-
PeopleTools 1 (or equivalent)
-
PeopleCode
Course curriculum
-
1
Introduction
- © Copyright
- 💡 Hints and Definitions
- How to use this course
-
2
Creating the Sample Module
- Creating the Sample Module
- Activity: Create Fields
- Activity: Create Records
- Activity: Create Pages
-
3
1. Review Activity
- Review Activity
- Activity 1-1 Writing Business Logic
- Solution: Prerequisite Checkbox
- Solution: Date Validation
- Solution: Date Defaults
- The Delegate Pattern
-
4
2. Object-oriented Concepts
- Object-Oriented PeopleCode
- Object-Oriented Terminology
- Object-Oriented Terminology
-
5
3. Basics of Application Classes
- About Application Packages and Application Classes
- My First Application Class
- Walkthrough 3-1: My First Application Class
- A Simple Test Harness
- Walkthrough 3-2: A Simple Test Harness
- Drill/Inspect
- Special Words and Variables
- Methods
- Walkthrough 3-3: Methods
- More Methods
- Activity 3-4: More Methods
- Review: More Methods
- Refactoring
- Activity 3-5: Refactoring
- Review: Refactoring
- Access Control and Instance Variables
- Walkthrough 3-6: Access Control and Instance Variables
- Review: Access Control and Instance Variables
- Constructors
- Walkthrough 3-7: Constructors
- Initialization
- Walkthrough 3-8: Initialization
- Properties
- Walkthrough 3-9: Properties
- More Properties
- Activity 3-10: More Properties
- Oracle-Delivered Example
- Activity 3-11: Oracle-Delivered Example
- Review: Oracle-Delivered Example
- Get-ters and Set-ters Pattern
- Get-ters and Set-ters Pattern
-
6
4. Inheritance
- Inheritance
- About Inheritance
- Walkthrough 4-1: Extending a class
- New Methods and Properties
- Activity 4-2: Create New Methods and Properties
- Student Class
- Activity 4-3: Student Class
- Get-ters and Set-ters Applied to Employee
- Composition -vs- Inheritance
-
7
5. Test-first Programming
- Introduction to Test-First Development
- Test First Programming
- Testing Tools and PSUnit
- Walkthrough 5-1: Installing PSUnit
- Using PSUnit
- Walkthrough 5-2: Writing a PSUnit Test Case
- Walkthrough 5-3: Configuring a PSUnit Test Case
- Activity 5-4: Create more test cases
-
8
6. Interfaces and Abstract Classes
- Interfaces
- About Interfaces
- Abstract Classes
- About Abstract Classes
-
9
7. Composition and Other Design Patterns
- About Composition and Why Composition
- Designing a Package
- Activity 7-1: Designing a Composition Solution
- Coding a Package
- Activity 7-2: Building a Composition Solution
- Review: Coding a Package
-
10
8. Dynamic PeopleCode
- Configurable Code
- Dynamic PeopleCode
- Activity 8-1: Dynamic Code
- Solution: Dynamic PeopleCode
-
11
9. Use Case: Event Mapping
- Introduction to Event Mapping
- Event Mapping
- Walkthrough 9-1: Review Direct Deposit Scenario
- Walkthrough 9-2: Step 1 Create an Application Class
- Walkthrough 9-3: Step 2 Event Mapping Service Creation
- Walkthrough 9-4: Step 3 Map Service Definition to a Content Reference
- Mask Routing Number
- Activity 9-5: Mask Routing Number
- Concerns
- Best Practices
-
12
10. Java Considerations
- Using Java in Application Classes
- Java Considerations
- Walkthrough 10-1: Safe JavaObject Usage
-
13
11. Best Practices Summary
- Best Practices
- Best Practices
-
14
12. Final Activity
- Final Activity
- Walkthrough 12-1: Review the Delegate Pattern
- Activity 12-2: Implement the Delegate Pattern
- Activity 12-3: Event Mapping