Pradeep K. Pant Blog

 

PharseBook Design Pattern

The Phrasebook pattern is a technique to separate expressions in one language from themain code that is written in another programming language. This is done by keeping theexpressions in a separate phrasebook. Any specific expression can be generated byfinding the appropriate entry in the phrasebook and substituting application parametersinto it. This separation makes maintenance easier both for the main application code andfor the foreign language code. This pattern is generally used in Perl SQL database interaction.

References: The Phrasebook Pattern By Yonat Sharon and Rani Pinchuk



 

 

Copyright © 2007-2024 PRADEEP K. PANT

Source Code | RSS