Skip to content
This repository has been archived by the owner on Feb 1, 2025. It is now read-only.

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

Open
kissgyorgy opened this issue Jun 26, 2015 · 0 comments

Comments

@kissgyorgy
Copy link
Contributor

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant