2009/10/27 Paulo Cassiano <[email protected]>:
> Every e-commerce app shows at least one product's picture, along with
> descriptions and other useful information. Does CouchDB supports images -
> JPEG, GIF and so on - files?

Each CouchDB doc can have multiple attachments, see
http://wiki.apache.org/couchdb/HTTP_Document_API#Attachments.

I would say a "product" makes an almost perfect CouchDB document. The
document itself could contain whatever data the product needed to
describe it (description, options, price, bulk prices, etc, etc) and
the images of the product would be its attachments.

>
> How could I use CouchDB in an e-commerce app?

That's a much bigger question ;-).

- Matt

Reply via email to