O'Reilly logo

Apex Design Patterns by Anshul Verma, Jitendra Zaa

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

The memento pattern

As the team progresses and is now focused on creating effective and efficient functionalities, Universal Call Center's management team decides to provide the sales team with a comprehensive functionality to generate quotes on the fly. The development team decided to create a Visualforce page within Salesforce to enable sales persons to generate quotes and present it to customers.

So, the team created a Visualforce page and controller to create a single page, which enables sales persons to select various products and generate quotes.

The following screenshot shows the final Visualforce page output created by developers:

The memento pattern

All was ...

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