[ 
https://issues.apache.org/jira/browse/COUCHDB-486?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12748034#action_12748034
 ] 

Paul Joseph Davis commented on COUCHDB-486:
-------------------------------------------

I think Jan has a good point. Though I'm not sure I'd execute it quite like 
that. If we go through with the source tree reorganization then having a 
couch_db_client.erl, couch_view_client.erl etc etc is what I've seen in other 
projects.



> 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.

Reply via email to