2014年4月4日金曜日

PoEAA のパターン一覧を頭に入れなおしてみる

Patterns of Enterprise Application Architecture』 と言えば、2000年代前半の パターン本の金字塔と言われていて、今でもいろんな文献で引用されていたりする。

ただ、だいぶ昔に一通り読んではいるものの、使っていないパターンなどで忘れていたりしているものも多くて、最近の本とか論文とかを読んでいるときに出くわしたりすると、とっさに思い出せない事がある。

というわけで今更だけど、最低限パターン名と概要だけでも、この際いったん全部頭に入れてしまおう思い、以下の暗記カードを作った。

邦訳本も一応出版されているけど、パターン名が原語のそれと全然違っていたりして、あまり評判もよくないので、原書の記述に基づいて作った。

PoEAA のパターン一覧を覚えてみる
{ "height":200, "width":400, "opacity":0.9, "start-color":"#000000", "start-bg-color":"#FEFFFE", "question-color":"#002200", "question-bg-color":"#FEFFFE", "statusbar-bg-color":"#FEFFFE", "statusbar-color":"#000000", "last-bg-color":"#FEFFFE", "last-color":"#002200", "answer-color":"#0044AA", "answer-bg-color":"#FEFFFE", "button-color":"#FEFFFE", "caption":"PoEAA のパターン一覧を覚えてみる", "caption-color":"#CCEEFF", }
以下の記述が示すPoEAAパターン名は何か?
Organizes business logic by procedures where each procedure handles a single request from the presentation.
Transaction Script
以下の記述が示すPoEAAパターン名は何か?
An object model of the domain that incorporates both behavior and data.
Domain Model
以下の記述が示すPoEAAパターン名は何か?
A single instance that handles the business logic for all rows in a database table or view.
Table Module
以下の記述が示すPoEAAパターン名は何か?
Defines an application's boundary with a layer of services that establishes a set of available operations and coordinates the application's response in each operation.
Service Layer
以下の記述が示すPoEAAパターン名は何か?
An object that acts as a Gateway to a database table. One instance handles all the rows in the table.
Table Data Gateway
以下の記述が示すPoEAAパターン名は何か?
An object that acts as a Gateway to a single record in a data source. There is one instance per row.
Row Data Gateway
以下の記述が示すPoEAAパターン名は何か?
An object that wraps a row in a database table or view, encapsulates the database access, and adds domain logic on that data.
Active Record
以下の記述が示すPoEAAパターン名は何か?
A layer of Mappers that moves data between objects and a database while keeping them independent of each other and the mapper itself.
Data Mapper
以下の記述が示すPoEAAパターン名は何か?
Maintains a list of objects affected by a business transaction and coordinates the writing out of changes and the resolution of concurrency problems.
Unit of Work
以下の記述が示すPoEAAパターン名は何か?
Ensures that each object gets loaded only once by keeping every loaded object in a map. Looks up objects using the map when referring to them.
Identity Map
以下の記述が示すPoEAAパターン名は何か?
An object that doesn't contain all of the data you need but knows how to get it.
Lazy Load
以下の記述が示すPoEAAパターン名は何か?
Saves a database ID field in an object to maintain identity between an in-memory object and a database row.
Identity Field
以下の記述が示すPoEAAパターン名は何か?
Maps an association between objects to a foreign key reference between tables.
Foreign Key Mapping
以下の記述が示すPoEAAパターン名は何か?
Saves an association as a table with foreign keys to the tables that are linked by the association.
Association Table Mapping
以下の記述が示すPoEAAパターン名は何か?
Has one class perform the database mapping for a child class.
Dependent Mapping
以下の記述が示すPoEAAパターン名は何か?
Maps an object into several fields of another object's table.
Embedded Value
以下の記述が示すPoEAAパターン名は何か?
Saves a graph of objects by serializing them into a single large object (LOB), which it stores in a database field.
Serialized LOB
以下の記述が示すPoEAAパターン名は何か?
Represents an inheritance hierarchy of classes as a single table that has columns for all the fields of the various classes.
Single Table Inheritance
以下の記述が示すPoEAAパターン名は何か?
Represents an inheritance hierarchy of classes with one table for each class.
Class Table Inheritance
以下の記述が示すPoEAAパターン名は何か?
Represents an inheritance hierarchy of classes with one table per concrete class in the hierarchy.
Concrete Table Inheritance
以下の記述が示すPoEAAパターン名は何か?
A structure to organize database mappers that handle inheritance hierarchies.
Inheritance Mappers
以下の記述が示すPoEAAパターン名は何か?
Holds details of object-relational mapping in metadata.
Metadata Mapping
以下の記述が示すPoEAAパターン名は何か?
An object that represents a database query.
Query Object
以下の記述が示すPoEAAパターン名は何か?
Mediates between the domain and data mapping layers using a collection-like interface for accessing domain objects.
Repository
以下の記述が示すPoEAAパターン名は何か?
Splits user interface interaction into three distinct roles.
Model View Controller
以下の記述が示すPoEAAパターン名は何か?
An object that handles a request for a specific page or action on a Web site.
Page Controller
以下の記述が示すPoEAAパターン名は何か?
A controller that handles all requests for a Web site.
Front Controller
以下の記述が示すPoEAAパターン名は何か?
Renders information into HTML by embedding markers in an HTML page.
Template View
以下の記述が示すPoEAAパターン名は何か?
A view that processes domain data element by element and transforms it into HTML.
Transform View
以下の記述が示すPoEAAパターン名は何か?
Turns domain data into HTML in two steps: first by forming some kind of logical page, then rendering the logical page into HTML.
Two Step View
以下の記述が示すPoEAAパターン名は何か?
A centralized point for handling screen navigation and the flow of an application.
Application Controller
以下の記述が示すPoEAAパターン名は何か?
Provides a coarse-grained facade on fine-grained objects to improve efficiency over a network.
Remote Facade
以下の記述が示すPoEAAパターン名は何か?
An object that carries data between processes in order to reduce the number of method calls.
Data Transfer Object
以下の記述が示すPoEAAパターン名は何か?
Prevents conflicts between concurrent business transactions by detecting a conflict and rolling back the transaction.
Optimistic Offline Lock
以下の記述が示すPoEAAパターン名は何か?
Prevents conflicts between concurrent business transactions by allowing only one business transaction at a time to access data.
Pessimistic Offline Lock
以下の記述が示すPoEAAパターン名は何か?
Locks a set of related objects with a single lock.
Coarse-Grained Lock
以下の記述が示すPoEAAパターン名は何か?
Allows framework or layer supertype code to acquire offline locks.
Implicit Lock
以下の記述が示すPoEAAパターン名は何か?
Stores session state on the client.
Client Session State
以下の記述が示すPoEAAパターン名は何か?
Keeps the session state on a server system in a serialized form.
Server Session State
以下の記述が示すPoEAAパターン名は何か?
Stores session data as committed data in the database.
Database Session State
以下の記述が示すPoEAAパターン名は何か?
An object that encapsulates access to an external system or resource.
Gateway
以下の記述が示すPoEAAパターン名は何か?
An object that sets up a communication between two independent objects.
Mapper
以下の記述が示すPoEAAパターン名は何か?
A type that acts as the supertype for all types in its layer.
Layer Supertype
以下の記述が示すPoEAAパターン名は何か?
Defines an interface in a separate package from its implementation.
Separated Interface
以下の記述が示すPoEAAパターン名は何か?
A well-known object that other objects can use to find common objects and services.
Registry
以下の記述が示すPoEAAパターン名は何か?
A small simple object, like money or a date range, whose equality isn't based on identity.
Value Object
以下の記述が示すPoEAAパターン名は何か?
Represents a monetary value.
Money
以下の記述が示すPoEAAパターン名は何か?
A subclass that provides special behavior for particular cases.
Special Case
以下の記述が示すPoEAAパターン名は何か?
Links classes during configuration rather than compilation.
Plugin
以下の記述が示すPoEAAパターン名は何か?
Removes dependence upon problematic services during testing.
Service Stub
以下の記述が示すPoEAAパターン名は何か?
An in-memory representation of tabular data.
Record Set
この作業やってて、パターン名だけは一応なんとか見覚えがあっても、内容がよく思い出せないのが、3分の2くらいもあった。

まあ印象が薄いのは、そもそもあまり重要でないパターンだったのかもしれないけど、名称と概要くらいなら、いつでも取り出せる形で、脳内の引き出しに入れておいても邪魔にはならないだろう。

0 件のコメント:

コメントを投稿