One reason I am not fond of singletons is that they make unit testing a lot
harder
Dhananjay
On Wed, Mar 25, 2015 at 7:02 PM, Abhaya Agarwal abhaya.agar...@gmail.com
wrote:
Hi,
I need to model four entities that share some attributes and behaviors and
also have some unique attributes and
Thanks Arun!
In my opinion, the major aspect that you are not considering is -
multi-tenancy. While SaaS might sound like a buzzword, it addresses some
very important pain points. Does your application guarantee that the client
confidential information of one client is completely isolated from
Hi Abhaya,
I believe you are on the right track. While I am not a big fan of
singletons (you could use pass the object to each function explicitly), the
rest of the design seems sound. You could model your architecture as model
classes in Django in a straightforward way.
In my opinion, the major
Hi,
I need to model four entities that share some attributes and behaviors and
also have some unique attributes and behaviors. I need to be able to refer
to them from other entities. And these entities are Singletons.
Ex: online marketplaces. They share common attributes like website, contact