Strategy Design Pattern in LANSA
| Description: | Example Strategy Design Pattern in LANSA. |
|---|---|
| Price: | Free |
| Support: | Supplied on an as-is basis |
| Environment: | Visual LANSA V11 SP5 |
| Contributor: | LANSA |
| Details: | The Strategy Design Pattern basically consists of decoupling an
algorithm from its host, and encapsulating the algorithm into a separate
class. More simply put, an object and its behaviour are separated and
put into two different classes. This allows you to switch the algorithm
that you are using at any time. To better understand the Strategy Design Pattern, use this small Visual LANSA application (mini-calculator) that uses this pattern. Before copying the source, you will need to create the field III_INPUT (p,15,5) in your repository. |
| Disclaimer: |
Users of the Exchange who download any Component do so with the express understanding and agreement of the foregoing disclaimers. |
| Download: | |
| Example: |
![]() |
