faif/python-patterns

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

gyermolenko opened this issue · 3 comments

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

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