[p2pu-dev] Tech call notes: 2013-01-17
dirk at p2pu.org
Wed Jan 23 13:36:55 UTC 2013
On Tue, Jan 22, 2013 at 7:28 PM, Jos Flores <josmasflores at gmail.com> wrote:
> If all your business logic is encapsulated in classes, your domain
> objects will be usable by both Django and flask, and being plain
> objects, can be very testable. But anyway, this is pretty much the
> same you are saying! :)
I tend to agree with you on this. I prefer writing domain logic behind a
stateless API that answers questions. Anything behind your API is free to
use any data store. Resources should be referenced by URI and you have the
possibility of weak references. Exposing an APIs over HTTP follows easily.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the p2pu-dev