Re: When to normalize data

2011-10-15 Thread Luciano Ramalho
databases (a.k.a. document databases, but semistructured or semi-structured are the terms used in research since the 1990s). Cheers, Luciano -- Luciano Ramalho Twitter: @luciano Autor e instrutor da Academia Python na Globalcode http://python.globalcode.com.br programador repentista ||

Re: UnQL

2011-08-26 Thread Luciano Ramalho
queries imperatively is the way to go. [1] http://journal.code4lib.org/articles/4893 -- Luciano Ramalho programador repentista || stand-up programmer Twitter: @luciano

Re: to CouchApp or not to CouchApp

2011-08-01 Thread Luciano Ramalho
n to this problem?  Or do I have to give up CouchApp? I am also a fan of the simple CouchApp model, but that is really not acceptable. Looking forward to a positive answer to your question, Chang! -- Luciano Ramalho programador repentista || stand-up programmer Twitter: @luciano

Re: CouchDB's advantages over MongoDB

2011-04-15 Thread Luciano Ramalho
One word: simplicity. One should always choose the simplest solution that solves a problem. If CouchDB solves your problem, there's no reason to choose a more complex alternative. It's just sound engineering. Cheers, Luciano

Paper about moving bibliographic data to CouchDB

2011-04-11 Thread Luciano Ramalho
: From Relations to Semistructured Data and XML. San Francisco: Morgan Kaufmann, 1999. TOK, Wang Ling; LEE, Mong Li; DOBBIE, Gillian. Semistructured Database Design. Boston: Springer Science, 2005. -- Luciano Ramalho programador repentista || stand-up programmer Twitter: @luciano

Re: Re-writing content on save

2011-04-04 Thread Luciano Ramalho
i.apache.org/couchdb/Formatting_with_Show_and_List Cheers, -- Luciano Ramalho programador repentista || stand-up programmer Twitter: @luciano

Re: Full text search - is it coming? If yes, approx when.

2011-03-28 Thread Luciano Ramalho
ld around the product. That said, considering that there are already good Open Source solutions to the full-text indexing problem, I'd say the CouchDB Open Source community should focus on other priorities. -- Luciano Ramalho programador repentista || stand-up programmer Twitter: @luciano

Re: Full text search - is it coming? If yes, approx when.

2011-03-28 Thread Luciano Ramalho
ist of major CouchDB features and the last one mentioned was "full-text search (soon)". Why would a company create expectations over a feature it never planned to deliver? -- Luciano Ramalho programador repentista || stand-up programmer Twitter: @luciano

Re: Couchdb on Google App Engine

2010-12-10 Thread Luciano Ramalho
hed Python and Java runtime environments they offer. So I don't see any way to run CouchDB on Google App Engine at this time. > does anyone knows a couchdb provider? There is CouchOne, but it is still beta. I'd also appreciate pointers to alternatives. -- Luciano Ramalho progra

Re: XPath in CouchDB?

2010-12-07 Thread Luciano Ramalho
t was Python or Ruby, it would be easy to introspect and find out, but unfortunately JavaScript introspection sucks. Can any of the gurus post pointers to the source code where perhaps we could find out which functions are available for use from JavaScript? Cheers, -- Luciano Ramalho programador repentista || stand-up programmer Twitter: @luciano

Re: !json and !code or require()

2010-12-05 Thread Luciano Ramalho
ould make it possible to change the behaviour of a map function without changing it's source code, by changing a require'd function. Therefore we need to resort to the more primitive mechanism of includes. Fortunately CouchApp solves that problem for us. -- Luciano Ramalho programa

Re: Benchmarking view functions

2010-11-18 Thread Luciano Ramalho
nge some documents, > trigger the view and see how long it takes to get a response back. OK, thanks, that was easy. I was not sure when the reindexing was triggered, if when the view functions were updated or when the view was rendered. Thanks, Sebastian -- Luciano Ramalho programador r

Benchmarking view functions

2010-11-18 Thread Luciano Ramalho
Hello, I need to compare the performance of a few different data models and map functions. For timing bulk uploads, I used the good old UNIX time command with curl, while loading 1 docs. But what would be an easy way to time the indexing process resulting from updating a view? -- Luciano

Re: Unable to delete empty key document

2010-11-15 Thread Luciano Ramalho
looks like a tag will not be shown by the browser, unless you look at the source code of the page. I'd take a look at the HTML source code of the Futon page displaying the record. -- Luciano Ramalho programador repentista || stand-up programmer Twitter: @luciano

Re: Banking Recipe

2010-11-14 Thread Luciano Ramalho
ansactional apps he had in mind, and perhaps he is right. If one can model every transaction as a single document POST, great. Not all applications can be bent to work that way. -- Luciano Ramalho programador repentista || stand-up programmer Twitter: @luciano

Re: Banking Recipe

2010-11-14 Thread Luciano Ramalho
is perfect for a job like this, because I can structure and manage the whole CTR as one document. Keeping past versions frozen is a snap. CouchDB is just the right tool for a job like this. A forklift sucks at digging, but if you need to move crates around, nothing beats it. -- Luciano Ramalho programador repentista || stand-up programmer Twitter: @luciano

Re: Can I prevent replication of design documents?

2010-11-10 Thread Luciano Ramalho
main. This seems to be the way to go. The question raised by Hendrik is a crucial one, and is probably in the minds of many people who are afraid to commit to CouchDB because of this, so it would be great if the issue was addressed authoritatively and the question put into a FAQ. -- Luciano Ramalho programador repentista || stand-up programmer Twitter: @luciano

Re: catalogs in CouchDB

2010-11-09 Thread Luciano Ramalho
2010/11/9 José M Martínez : > I mean by catalogs, a data dictionary.CouchDB used a data dictionary to find > details of documents and list all documents in my database? Perhaps you should read the official docs: http://wiki.apache.org/couchdb/Introduction_to_CouchDB_views -- Luciano R

Re: catalogs in CouchDB

2010-11-08 Thread Luciano Ramalho
purpose with a little extra configuration. > What operating systems support CouchDB? All of them ;-). It runs on Linux, OSX, Windows and can probably be compiled in Unixes. The easiest intasllers are here: http://www.couchone.com/get -- Luciano Ramalho programador repentista || stand-up programmer Twitter: @luciano

Re: Write race conditions, working without _rev

2010-11-06 Thread Luciano Ramalho
there's no way to overwrite a previous update by accident. This is one of the best features of CouchDB for document-oriented persistency. -- Luciano Ramalho programador repentista || stand-up programmer Twitter: @luciano

Re: local test server for couchapps

2010-11-06 Thread Luciano Ramalho
ttp://reddes.bvsalud.org/projects/isisnbp/browser/sandbox/luciano.ramalho/couchdb/xlilacs/xlil/_attachments/qunit.html BTW, all the code in that repo is LGPL, so feel free to explore and re-use. We are just starting with CouchDB. Cheers, -- Luciano Ramalho programador repentista || stand-up programmer Twitter: @luciano

Re: multi columns

2010-11-03 Thread Luciano Ramalho
“crash-only” design where the CouchDB server does not go through a shut down process, it’s simply terminated. """ http://couchdb.apache.org/docs/overview.html If you want in-place updates, and you are ready to pay its price in terms of reliability and/or deployment complexity, try