couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "c.Kleinhuis" ...@digitalgott.de>
Subject pseudo types ?
Date Thu, 13 May 2010 10:05:25 GMT
hello all again,

next thing i would like to ask is:

is there a way that "default fields" for a given type can be stored 
somewhere ?

i know that couchdb is type free, but for example a blog post should 
have the fields
"title", "author","body" which are mandatory for a blog document, is 
that only decided
by my application ? e.g. by hard coding the 3 form elements and store 
them in a db ?

i think of a system like,
- i would create a new blog post
- give me the required fields
- automatically generate default formular
- allow additional fields
- save it as blog post

thx
ck


Mime
View raw message