[ https://issues.apache.org/jira/browse/COUCHDB-486?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12748022#action_12748022 ]
Damien Katz commented on COUCHDB-486: ------------------------------------- I like the ideas behind this patch, but I think I don't like everything dumped into a single module. I think I'd prefer instead to have the same module names and the wrapper calls in the same modules, with the implementation code in a new file. So the public wrapper calls for couch_db would remain in couch_db, but the code is now moved to couch_db_imp or couch_db_priv. I think export_all is fine if everything is going to be exported anyway. > Better separation between httpd and core through api layer > ---------------------------------------------------------- > > Key: COUCHDB-486 > URL: https://issues.apache.org/jira/browse/COUCHDB-486 > Project: CouchDB > Issue Type: Improvement > Components: Database Core > Reporter: Adam Kocoloski > Fix For: 0.11 > > Attachments: couch_api.patch > > > I'm attaching a patch that routes non-purely-functional calls into core > CouchDB modules through a new couch_api module. I also went ahead and wrote > down dialyzer specs for everything in couch_api. I think this will be a > useful reference, will make the codebase a bit more accessible to newcomers, > and will help us maintain better separation between the purely functional > httpd layer and the core (useful in e.g. partitioning work). -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.