Hi Johan,

But how do you cache those objects?
Are those cached over all request so pretty much readonly ?

yes, they are.

caching (and also marking as dirty) of objects is encapsulated within the dao -
so i do not have to worry much about this.

also, IDataProvider isn't supposed to work only for Databases, right? suppose
the following (which i actually also have): i get a list of rssfeed-urls from
the database and within model i retrieve them - that's called 'separation of
concerns' which is also good programming style.

best regards, --- jan.

Reply via email to