faif / python-patterns

A collection of design patterns/idioms in Python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add Data Access Object (DAO), Data Transfer Object (DTO) patterns?

gyermolenko opened this issue · comments

Add Data Access Object (DAO), Data Transfer Object (DTO) patterns?

Can you provide some explanation and why/how will these patterns be useful for this repo?

I think having a dao pattern here would be beneficial, knowing how to inherit from a MySQLDAO or FileDAO base class for example.

Useful to see the abstraction layer a dao pattern provides

how to put an id fr MySQL Type patterns