On Thu, Jan 19, 2012 at 16:59, Jason Smith <[email protected]> wrote: > On Fri, Jan 20, 2012 at 4:59 AM, Benoit Chesneau <[email protected]> wrote: >>> Bottom line: It's my opinion that _replicator (and _user) were wrongly >>> exposed as full-blooded databases when all we needed to use was the >>> database format (and carefully curate API endpoints). But, alas, that >>> train has sailed. >>> >> >> Imo such dbs should be hidden, and we could only provide entry points >> accessing to them. For example having all systems dbs under /couchdb/ >> prefix and hide them for others excepts admins. Just like postgres >> does. I'm agree it was a mistake to expose them. I think we should >> stop to do it in near future imo. > > Exposing features as manipulations to normal documents makes CouchDB's > API simpler and more orthogonal.
On the other hand, exposing features via special-purpose APIs hides the implementation and frees us to change how it works under the hood. > > -- > Iris Couch
