Beginning CouchDB
Note: The source code for the book is finally available on the Apress website. You can download it here.
I recently posted a short blog entry about my forthcoming book on CouchDB. A lot of you have been asking me for more information about the book, so I decided to put together a page with much more detail about it. The book is titled “Beginning CouchDB” and is going to be published in December 2009 by Apress Publishing. The printed version of the book will sell for a RRP of $34.99 in the United States, with the e-Book selling for $24.49. It will be roughly 300 pages in length, spread over thirteen chapters and 2-3 appendices. Its target audience will be people who have very little or no experience with Apache CouchDB, and will guide readers through getting the software installed on their computer, creating their first database, managing the database, using the tools that come with CouchDB and other basic topics. It will also explore some of the more advanced areas of CouchDB, such as Map/Reduce, the JavaScript View engine, replication and scaling a CouchDB deployment. The book’s cover image is shown below. I will post a larger image as soon as I get it!
As for how the book is coming along, it’s going very well! I’m not a full-time writer so all of my writing is done in the evenings or over weekends. I’m learning things I never knew about Couch all the time, and with each passing day I grow fonder and fonder of this excellent database server. The book’s page is up on Apress.com at the following URL: http://apress.com/book/view/9781430272373. This page can also be found through a CouchDB.org link – http://books.couchdb.org/beginning – thanks to @CouchDB on Twitter! It’s not currently available for Pre-Order but it should be in the not too distant future. It should also become available on Amazon.com soon.
I’m currently working with the guys in Apress to get the book into their “Alpha Program”, which allows you to purchase the e-Book now and get access to each draft chapter as it becomes available. When the book is complete you will of course get access to the finished work as an e-Book. Purchasing the book through the Alpha Program will likely cost $24.49.

Have you posted the code/examples electronically from your book? APress doesnt list it, and the book jacket says that it is available. would make working thru examples (and modifying) manageable.
thanks
rich
rich
16 Jun 10 at 12:36 pm
Hi Rich,
Thanks for pointing that out – I’ll raise it with Apress so it should be available soon.
Best wishes,
Joe
Joe Lennon
3 Jul 10 at 1:05 pm
[...] I am on the subject of CouchApps, there is a typo in code listing 10-4 on page 171 of Beginning CouchDB which causes the javascript to not work. A the bottom of the listing, in the last <script> [...]
Typo in the code listing for Beginning CouchDB
22 Jul 10 at 5:22 pm
As of today, I still don’t see a link to source on the APress website; is there one here?
Ted Neward
19 Mar 11 at 7:47 am
Hi Ted,
I have followed up on this again with Apress. I have also sought permission to publish it on my blog. I will send you an e-mail with the archive shortly.
Apologies for any inconvenience and thanks for reading.
Joe
Joe Lennon
19 Mar 11 at 3:32 pm
All,
The source code is now available from the link at the top of the article, or from the book’s page on the Apress website.
Thanks,
Joe
Joe Lennon
23 Mar 11 at 6:09 pm
Hi,
is there an errata list, particular for the examples?
I tried to run the ‘couchtask’ example on pages 176/177,
Listing 10-6. main.js / Listing 10-7. index.html
I copied the listings, but tasks aren’t inserted.
Thanks.
Manfred Hainer
12 Jul 11 at 11:00 am
@Manfred:
There are two errors in the listings on page 171 and 176:
on p. 171 in listing 10-4 it should say:
” Note the missing period between couch and app ”
on p. 176 in listing 10-6 it should say:
var task_count = parseInt($(‘#task_count span’).html(), 10);
Note the missing ($
I hope this helps. I still can’t get it to work, though. Firebug (Javascript debugger) returns an error saying:
db.getDbProperty is not a function
[Break On This Error] error : function() {
jquery….app.js (line 183)
I submitted the errata to Apress…Errors are both in the listing in the book and the source code you can download.
Paul
13 Sep 11 at 12:11 pm
Your form doesn’t escape code snippets…how stupid is that?
open tag script src=”vendor/couchapp/jquery.couch.app.js”> closed tag script
is correct (Note the missing period)
Paul
13 Sep 11 at 12:13 pm