Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: your definition of KISS

by Anonymous Monk
on Feb 07, 2012 at 17:04 UTC ( [id://952310]=note: print w/replies, xml ) Need Help??


in reply to your definition of KISS

I can't say either approach is appealing :) as both seem to miss the real problem, object oriented design, how to model tenancy (i rent you rent we rent a dwelling, not Multitenancy principle of software architecture )

From what little I can understand, and from what I've seen over the years, the common pattern , often seen in database tutorials, is to have a collection, a tenant is a tenant (name, contact info, financials...), addTenant, removeTenant ... just rows in a tenants table

Replies are listed 'Best First'.
Re^2: your definition of KISS
by klekker (Pilgrim) on Feb 07, 2012 at 20:51 UTC
    Thanks for your answer.
    Multitenancy is not relevant for the problem; there are -and I agree with you- better ways to model multitenancy (as NOT in i rent, you rent...)
    Important for me was just the inheritance-part.

    k

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://952310]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (7)
As of 2024-04-25 15:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found