"
d...@danmyersconsulting.com"
The thought I had is to create a document in the db whose type is defined as
"data-dictionary". That document contains an array of document
definitions. You could then define views that enumerate the defintions.
{
"_id": DATA_DICTIONARY,
"_rev": "01",
"doc_type": "data_dictionary",
"document_definitions": {
"person_doc": {
"f_name": "string",
"m_name": "string",
"l_name": "string",
"birth_date": "date",
...
}
}
}
You may also want to look at kanso. It has an admin module which works
in conjuntion with a couch-types module to generate forms dynamically.
I think it could be used as an example to create a javascript solution.
http://github.com/kanso
--
Regards,
Brian Winfrey