poker icon indicating copy to clipboard operation
poker copied to clipboard

User SQLALchemy's Dialect pattern to build hand history parser architecture

Open kissgyorgy opened this issue 9 years ago • 0 comments

http://aosabook.org/en/sqlalchemy.html SQLALchemy has an abstract class called Dialect for which database specific implementations exists. I feel that the same architecture could be applied to hand history parser class architecture.

Behind the scenes, the Engine references an object called a Dialect. The Dialect is an abstract class for which many implementations exist, each one targeted at a specific DBAPI/database combination. A Connection created on behalf of the Engine will refer to this Dialect for all decisions, which may have varied behaviors depending on the target DBAPI and database in use.

kissgyorgy avatar Jun 26 '15 20:06 kissgyorgy