Introduction
When I was about nine years old, I had an Acorn Electron, a home computer developed by Acorn Machines and one of the major precursors to modern home computing. It was tiny by todays standards, having just 32K of RAM, a 2MHz CPU, and with the staggering ability to store a massive 360 Kb on the 3 inch Amstrad disks I was using at the time. It wasnt my first machine; I cut my teeth on the Sinclair ZX81 and later the ZX Spectrum. Despite all these limitations, I built numerous different pieces of software for myself, including my very first database for my second greatest passion, books.
Through the yeras, Ive worked on many different database systems, including dB III+, Microsoft Access, Oracle, BRS, Filemaker, Omni 4D, and what Im probably best known for, MySQL. The fundamentals of wanting to store information and retrieve it very quickly are all possible using these tools and just as I did in 1983, Ive built some fun and serious applications in all of them. For the most part, though, the database became a tooljust another utility that became part of the toolkit for building the application.
Then I was introduced to Apache CouchDB, and I rediscovered the passion I had when developing applications on the Electron. Building databases was fun. They could be built quickly, without having to worry about drivers, languages, or indeed many of the complexities of querying and retrieving information. Most importantly, for any database application, I didnt have to worry about structures or how to get the information in a structured format.
When you read this book, thats the passion I hope you getthe realization that storing and retrieving information can be fun again with the help of CouchDB.
Conventions Used in This Book
The following typographical conventions are used in this book:
Italic
Indicates new terms, URLs, email addresses, filenames, and file extensions.
Constant width
Used for program listings, as well as within paragraphs to refer to program elements such as variable or function names, databases, data types, environment variables, statements, and keywords.
Constant width bold
Shows commands or other text that should be typed literally by the user.
Constant width italic
Shows text that should be replaced with user-supplied values or by values determined by context.
Tip
This icon signifies a tip, suggestion, or general note.
Caution
This icon indicates a warning or caution.
Using Code Examples
This book is here to help you get your job done. In general, you may use the code in this book in your programs and documentation. You do not need to contact us for permission unless youre reproducing a significant portion of the code. For example, writing a program that uses several chunks of code from this book does not require permission. Selling or distributing a CD-ROM of examples from OReilly books does require permission. Answering a question by citing this book and quoting example code does not require permission. Incorporating a significant amount of example code from this book into your products documentation does require permission.
We appreciate, but do not require, attribution. An attribution usually includes the title, author, publisher, and ISBN. For example: Getting Started with CouchDB by MC Brown (OReilly). Copyright 2012 MC Brown, 978-1-449-30755-4.
If you feel your use of code examples falls outside fair use or the permission given above, feel free to contact us at .
Safari Books Online
Note
Safari Books Online is an on-demand digital library that lets you easily search over 7,500 technology and creative reference books and videos to find the answers you need quickly.
With a subscription, you can read any page and watch any video from our library online. Read books on your cell phone and mobile devices. Access new titles before they are available for print, and get exclusive access to manuscripts in development and post feedback for the authors. Copy and paste code samples, organize your favorites, download chapters, bookmark key sections, create notes, print out pages, and benefit from tons of other time-saving features.
OReilly Media has uploaded this book to the Safari Books Online service. To have full digital access to this book and others on similar topics from OReilly and other publishers, sign up for free at http://my.safaribooksonline.com.
How to Contact Us
Please address comments and questions concerning this book to the publisher:
OReilly Media, Inc. |
1005 Gravenstein Highway North |
Sebastopol, CA 95472 |
800-998-9938 (in the United States or Canada) |
707-829-0515 (international or local) |
707-829-0104 (fax) |
We have a web page for this book, where we list errata, examples, and any additional information. You can access this page at:
http://shop.oreilly.com/product/0636920020837.do |
To comment or ask technical questions about this book, send email to:
For more information about our books, courses, conferences, and news, see our website at http://www.oreilly.com.
Find us on Facebook: http://facebook.com/oreilly
Follow us on Twitter: http://twitter.com/oreillymedia
Watch us on YouTube: http://www.youtube.com/oreillymedia
Acknowledgements
It should go without saying that without the brainchild of Damien Katz, this book wouldnt exist, and CouchDB in its current form wouldnt exist without the help and input of other CouchDB developers like Jan Lenhardt, J. Chris Anderson, Benjamin Young, and the other developers and team at CouchOne (now Couchbase). Thanks, as well, to James Phillips and Bob Wiederhold at Couchbase for supporting me while I developed this book. Bradley Holt has been a champion for CouchDB books for some time, and he provided help and support on this title. Finally, the ever patient folks at OReilly, including, but not limited to, Mike Loukides, Julie Steele, and Melanie Yarbrough, who gave me the opportunity and helped me turn the raw text into a good looking book.