Reuse the data CRUD methods in data access layer, but they are updated too quickly

Posted by ValidfroM on Programmers See other posts from Programmers or by ValidfroM
Published on 2012-09-13T11:28:39Z Indexed on 2012/09/13 15:50 UTC
Read the original article Hit count: 350

Filed under:
|
|
|

I agree that we should put CRUD methods in a data access layer, However, in my current project I have some issues.

It is a legacy system, and there are quite a lot CRUD methods in some concrete manager classes.

People including me seem to just add new methods to it, rather than reuse the existing methods.

Because

  1. We don't know whether the existing method is what we need
  2. Even if we have source code, do we really need read other's code then make decision?
  3. It is updated too quickly. Do not have time get familiar with the DAO API.

Back to the question, how do you solve that in your project? If we say "reuse", it really needs to be reusable rather than just an excuse.

© Programmers or respective owner

Related posts about architecture

Related posts about teamwork