This is sample source code used as part of the "How Refactoring Helps Bulletproof Your Application" and "How Do I Improve Software Quality?" presentations by Scott Klement and Yvonne Enselman.
If you like, you can try out this application for yourself by cloning this Git repository and building it on your system.
Main website https://www.scottklement.com/presentations/
To build the invoice demo from IFS source, follow these instructions:
-
If not already installed, you'll need YUM on your IBM i. Instructions can be found here:
-
You'll need
gitandGNU make. If not already installed, from a PASE command line, type:yum install gityum install make-gnu
-
Clone this repository from GitHub. From a PASE command line:
- (if your PATH isn't set up)
export PATH=/QOpenSys/pkgs/bin:$PATH https://github.com/ScottKlement/invoice.git
- (if your PATH isn't set up)
-
Build HTTPAPI from the PASE command line:
- (if your PATH isn't set up)
export PATH=/QOpenSys/pkgs/bin:$PATH cd invoicemake BUILDLIB=SKINVDEMO
- (if your PATH isn't set up)
NOTE: To keep the messages on the screen clean and easy to follow, compile errors are not printed to the screen. Instead, files are created in the tmp subdirectory containing the output of the various compile commands.
Good Luck!