Posts

Showing posts from 2014

Common Pega methods used

Please register yourself in pega developer network to get detailed answers. This is only to give a quick view to help analysts know what technical people are talking about. Obj-Open method Used to open an instance stored in the PegaRULES DB and save it as a clipboard page. Obj-Browse method Obj-Browse method is used to selects list of records based on some condition. In other words,it is used to  search instances of one class and copy the entire instances to the clipboard as an array of embedded pages. Only properties exposed as columns can be used as selection criteria. However, values of properties that are not exposed as columns, including embedded properties, can be returned. Obj-Open-By-Handle Method Use the Obj-Open-By-Handle method only if you can determine the unique handle that permanently identifies which instance to open. We have have to pass the pzInskey  as a instance handle, this method will  open only  one record at time. Ob...

Design Patterns commonly used in OOP

A design pattern is a general reusable solution to a commonly occurring problem within a given context in software design. It is a framework based on which applications can be made. They are widely used in Object Oriented Programming/Design. The intent of this post is to give general awareness on the various design patterns that are commonly used.  Strategy Pattern According to the GoF book, Strategy design pattern should “Define a family of algorithms, encapsulate each one, and make them interchangeable. Strategy lets the algorithm vary independently from clients that use it.”  You encapsulate code in external algorithms for easy use rather than spreading it around inside your core code and modifying it throughout that code. Decorator Pattern According to the GoF book, Decorator Pattern should “Attach additional responsibilities to an object dynamically. Decorators provide a flexible alternative to subclassing for extending functionality.” Factory Pattern Ac...