CouchDb

Information about CouchDb and project status

alpha1

On going information about Alpha1 testing.

Download here (Windows Only): http://damienkatz.net/CouchDb0.1.zip

To install and run, just unzip all files and execute "CouchDb0.1/startCouchDb.cmd".

Inside of the download file is couchPHPDemo.zip, which contains PHP demo files. See its readme.txt for information about running the demo.

Api documentation here: RESTApi

Source code will be made available soon.

Comments

Any chance of a binary for us folk not running Windows?

Unfortunately this project isn't pure Erlang so for now it's just on Windows, but a Linux port is a high priority. The biggest part is porting the Fabric engine, but it shouldn't be more than a days work.

I'm putting together a source code package that should be up later today if anyone wants to tackle the project.

Update: Its taking me a little longer to produce source pack suitable for distribution. It's coming...

hi damien

great , it rocks!!!! just for your information i played the php examples and it were ok , but , moving forward i test some cfhttp coldfusion(railo) functions and they go even faster and easier. congratulations ill keep testing CDB bye joseluis

Eagerly anticipating the *nix port for os OS X folks! :) When I get to work tomorrow, I will play with it on the crap Windows box I have. I must say that, despite how different the PHP demo works, it really looks promising. While playing around tomorrow, I'll probably write a quick wrapper object to hopefully make a Couch OO option in PHP. (Thankfully, communicating with the server is via HTTP/CURL, so it'll work with PHP!)

Looking good thus far!

M.T.

DEBUGGING.....................

what does it means ? (exactly)

http request: "POST /couchtest/? HTTP/1.1"
3650- fatal: expected_element_start_tag
ResponseCode:500

makerjoe

Hmm, that's most likely an XML parsing error.

One thing I've definitley learned from the feedback is I need better logging and debugging support built in.

Anyone know where to find php_http.dll for PHP 5.1.1, required to run the demo?

You could try downloading XAMPP and pulling the DLL from the zip.

any hope to have encoded form variables key=value (not xml strings)for posting to couchdb ?

Possibly, but why? What problem would it solve for you?

not to bother the application to get a xml string to post just using simple hash query post lists key=value&key1=value1......already being done by a submit form the same for get issues

how i have to think about like doc(-notes)ids for parent-response documents on a relational master-detail structures? where i have to store the parent docid on the child document?

thanx joseluis

This is essentially what is happening in the discussion demo, a one level parent child response heirarchy (threadid is actually the docid of the parent).

A fully threaded discussion is also possible with the current architecture. I'll create a demo to show how it's possible soon.

oops....,sorry.....

security:

im testing simple xmlhttp(ajax) easy html-javascript against couchdb and they work smoothly any thoughts about couchdb unauthorized "sql-cdb" injections ?

joseluis

Currently all security is expected to be handled at the application server level, with the CouchDb server sitting behind a firewall. For admin/development purposes direct access by AJAX/web clients should be possible though. In fact I need such an application to built that can look into Couch databases for debugging purposes. (CouchPeek is a good name, anyone want to create it?).

A full security model is due much later in the project.

what i meant is that i used cfobject (xmkhttp) calls from a second tier coldfusion server on another domain outside the couchdb(8888)server but just for fun

thanks for your answer

ODBC - jdbc for couchdb.........

COUCHDB cheat sheet

may be everybody will need it (like the following example for ND7)

Domino URL cheat sheet
This article, updated for Domino 6, explains the URLs Domino uses to access servers, databases, and other Web site pieces. Use these URL commands to design links or enter commands directly into a browser to navigate a site or reach components quickly. Editor's note: This article has been updated for Domino 6 with information that also appears in Domino Designer 6 Help. Many of these commands and arguments are supported by the latest maintenance release of Domino 5, except where indicated.

Domino uses URLs to access servers, databases, and other components of a Web site. Knowing the URL commands lets you design links or enter commands directly into a browser to navigate a site or reach components quickly. You can use the URL commands to:

Open databases and views Open framesets Open forms, navigators, and agents Open, edit, create, save, and delete documents Open documents by key name from a view Open pages Open resources Open attachments, image files, and OLE objects Open Web preferences Create search queries Require authentication Process SSL certificates Specify a character encoding

joseluis

1. is any way to retrieve all documents without creating any computed tables ? just alldocs by default ?

2. if the computed table is created after some data have been inserted into the database ... it will show the old documents?

joseluis

  1. Not exposed via the REST api yet. It's a high priority though.
  2. Yes.

erl error

by the way i pressed the enter key at the erl monitor, the cursor went down one line...... after that erl stopped processing any new requests.

it must be rebooted to get it running normaly again

That's an actual Erlang interactive prompt. You must use caution when interacting with it!

Some future version will probably hide that as a backend debug feature, but for now use caution.

computed tables syntax

1.is there a complete guide ? 2.does SELECT has a sql LIKE '%somestring%'? 3.is it possible to delete several documents with one shot?

  1. Not yet. Want to write one?
  2. Not yet. The text processing features are incomplete. I've lots of work to do here.
  3. Not yet. I've lots of work to do here.

really i would be very happy to colaborate but actually i am a blind alpha tester dealing with the try and error phenomena without the couchdb inside features and possible hidden functions

for example:

i dont know the limits/restrictions (maximums and minimums for field length , number of computed tables , fabric optimized use, timeouts, error handling, bulk document posting (3.5secs - 10000 docs - 5 fields pIII myserver), blah blah ,,,etc

so, without base information nothing can be guessed between the things that you have in mind and my wishlist.

by the way , are you the onlyone who is developing the whole project? where couchdb is based ? where is here ?

here i am cheers joseluis makerjoe@gmail.com THE COUCHDB FANATIC

Welcome to the world of technical documentation!

The situation you ae in no different from any other tech writer. The technical writing process:

  1. Ask engineer how the damn thing works.
  2. Deafing silence.
  3. Crickets.
  4. Tumbleweed.
  5. Just start writing something. Anything.
  6. Give this something to the engineer.
  7. Watch engineer become quite upset at how badly you've missed the point of everything.
  8. As the engineer berates you, in between insults he will also throw off nuggets of technical information.
  9. Collect these nuggets, as they are the only reliable technical information you will receive.
  10. Try like hell to weave together this information into something enlightening and technically accurate.
  11. Go to step 6.

Ok, you're not the doc writing type. That's okay, neither am I. However, people are already working to make this better, and I will continue to do so.

Yes, I am the only developer on the project. I am in Charlotte NC, I work from home and am currently self funding development.

hi damien,

excellent to-do list here we go.... ill mail you my first more or less whitepaper to be reproduced at your blog site, obviously copyrighted, starting your new magazine issue#1

cheers joseluis

where is the CouchDB LOGO?

perhaps:= if CouchDB---- > then Encode(CDB)---->endif = "SEE THE BEE"

bye makerjoe

<a href="buy> antivert</a>

Add a comment

you're not logged in