On Dec 15, 2011, at 10:54 AM, Johannes Erdfelt wrote:

What kinds of things?

I'm just trying to better understand what is object-oriented about the
data returned from a database? What methods would we want to use?

JE

Any direct access to the data within a record should be encapsulated within the 
model object.

For example, changing an instance's progress should be a method on Instance, 
not a method buried in vmops.

~ Aaron
_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to     : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp

Reply via email to