Page 234 - DCAP307_PLANNING_AND_MANAGING_IT_INFRASTRUCTURE
P. 234
Planning and Managing IT Infrastructure
Notes
Example: A repository is a Business-to-Consumer (B2C) website where a person who
has a job to be done posts his requirement on the website, and people interested in doing that job
can post their requests, and then the person who posted a job can allocate the job to one of these
contenders depending on their qualifications and abilities.
14.2.6 Interpreter
The interpreter architectural style is suitable for applications in which the most appropriate
language or machine for executing the solution is not directly available. The pattern is also
suitable for applications in which the core problem is defining a notation for expressing solutions,
for example as scripts.
The best example of this type of architectural style is the interpreter for any programming language.
Figure 14.4: Diagrammatic Representation of Interpreter
Source: http://etd.lsu.edu/docs/available/etd-07082004-152330/unrestricted/Banerjee_thesis.pdf
14.2.7 Main Program and Subroutines
This style suits applications in which the computation can appropriately be defined via a hierarchy
of procedure definitions. It is usually used with a single thread of control. The Block Builder can
be definitely represented in this architectural style because the software is written in C, a
procedural language.
Figure 14.5: Representation of Main Program and Subroutines
Call/return
Source: http://etd.lsu.edu/docs/available/etd-07082004-152330/unrestricted/Banerjee_thesis.pdf
228 LOVELY PROFESSIONAL UNIVERSITY