Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant