Experimenting with php DTO and sql acces