Hello guys,
do you have any patterns for wrapping the DB calls into separate layer of classes instead of doing it all from the main Game class? It has those pesky static protected functions to work with the DB and I am not fluent enough in PHP to come up with something. I want to get those DB calls outside of main class to declutter it a bit.
Best regards
Tomasz
do you have any patterns for wrapping the DB calls into separate layer of classes instead of doing it all from the main Game class? It has those pesky static protected functions to work with the DB and I am not fluent enough in PHP to come up with something. I want to get those DB calls outside of main class to declutter it a bit.
Best regards
Tomasz