I'm interested how I would implement something link this myself. Googling around for "salesforce clones" I find nothing. I get that MongoDB et al have relations and fluid schemas, but not the SQL-like query language or (IMO) the ability to support hundreds of users all customising the base schema with extra fields, as Salesforce does.
How would you go about implementing this (albeit at a smaller scale)
A few choice quotes from https://developer.salesforce.com/page/From_SQL_to_SOQL
"In Force.com, every database table corresponds to an object that inherits from the SObject object type. Database fields automatically map to their corresponding language types. There are no tools, configuration or XML files required to create the object-relational mapping – it just happens. If you add a field to a database object, that field can be immediately referenced from workflows and code. What’s more, once you have referenced a database field, Force.com prevents you from deleting that field or changing it to an incompatible data type." ... "The relationship between objects and tables is so tight that in Force.com we don’t refer to tables at all – we only refer to them as objects"