Repository pattern vs. “smart” business objects [closed]

I use the repository pattern because of the Single Responsibility Principle. I don’t want each individual object to have to know how to save, update, delete itself, when this can be handled by one single generic repository

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)