← Back to team overview

launchpad-dev team mailing list archive

Re: Some launchpad data model thoughts

 

On Thu, Aug 26, 2010 at 2:47 PM, Guilherme Salgado
<salgado@xxxxxxxxxxxxx> wrote:
...
> On Thu, 2010-08-26 at 08:52 +1000, Ian Booth wrote:
> [...]
>> What would I do? Well layered architectures I've worked with in the past
>> include a persistence layer containing data access objects (DAOs). These
>> are responsible for collaborating with the O/R mapping infrastructure to
>> retrieve/save objects from the domain model and it's here where the O/R
>> mapping logic is placed. For testing purposes, the DAOs can be stubbed
>> out or an alternative method can be used, but the key point is that
>> business domain objects are created for the various unit tests without
>> the need for the database.
...
>> What do others think? Are my thoughts sensible? Is the type of
>
> I like your suggestion. Here are some thoughts:
>
>  - ISTM that we could do this incrementally without disrupting anything,
> so we don't need a coordinated effort to do it all at once

Really? I haven't thought much about it. How would you go about doing
this incrementally?

jml



Follow ups

References