The Definitive Guide to Berkeley DB XML

Berkeley DB XML is exciting to me for multiple reasons. Text data is appealing (as you’ll realize as you read The Definitive Guide to Berkeley DB XML), and I crave technologies that make it easy to work with. XML is attractive for its flexibility, XPath for its intuitive elegance, XSLT for its decla...

Mô tả đầy đủ

Đã lưu trong:
Chi tiết về thư mục
Tác giả chính: Brian, Danny
Định dạng: Sách
Ngôn ngữ:English
Được phát hành: Apress 2013
Những chủ đề:
Truy cập trực tuyến:http://scholar.dlu.edu.vn/thuvienso/handle/DLU123456789/34835
Các nhãn: Thêm thẻ
Không có thẻ, Là người đầu tiên thẻ bản ghi này!
Thư viện lưu trữ: Thư viện Trường Đại học Đà Lạt
id oai:scholar.dlu.edu.vn:DLU123456789-34835
record_format dspace
institution Thư viện Trường Đại học Đà Lạt
collection Thư viện số
language English
topic Guide
spellingShingle Guide
Brian, Danny
The Definitive Guide to Berkeley DB XML
description Berkeley DB XML is exciting to me for multiple reasons. Text data is appealing (as you’ll realize as you read The Definitive Guide to Berkeley DB XML), and I crave technologies that make it easy to work with. XML is attractive for its flexibility, XPath for its intuitive elegance, XSLT for its declarative nature, and so on. I know full well that XML didn’t break new technical ground or invent something we didn’t already have. I don’t care about that. What XML did was to convince an industry to use it—and to use it everywhere. Call it hype; call it The Man. The bottom line is that I now have an astonishing array of tools and technologies, all compatible, to work with data as I like. Until recently, a database was the big missing link; I had to convert data to and from SQL to index it. Eventually, XML databases began to pop up. But even as they did, I was unhappy with their design: most were language-specific, some were just XML-to-RDB interfaces, many had proprietary or otherwise limited query languages, and so on. Berkeley DB XML caught my eye for three reasons. First, it’s Sleepycat, and I’ve been a big fan of Berkeley DB for a long time—its ease of use, its simplicity, and its near-ubiquity. Second, it’s embedded, which is one of my pet requirements on any project that doesn’t absolutely need a database server (just ask my associates). And third, it has language API support for all the major programming languages. When version 2 came along with full support for the industry-standard XQuery language (which is so cool), it was ready for production use in my own sizable projects. I doubt that many technical books get written if the author isn’t excited by the subject matter. I want to assure you that this is the case for The Definitive Guide to Berkeley DB XML. I wanted this book to exist because BDB XML has made so much of my current work feasible and fun. I think it’s an important piece of software that can dramatically improve how you work with data: how you store it, how you search it, and how you retrieve it. I think XQuery is a great domain-specific language that makes querying data…er, enjoyable, if I dare say so. That’s what I think. And so I wrote the book I wanted to read on the matter.
format Book
author Brian, Danny
author_facet Brian, Danny
author_sort Brian, Danny
title The Definitive Guide to Berkeley DB XML
title_short The Definitive Guide to Berkeley DB XML
title_full The Definitive Guide to Berkeley DB XML
title_fullStr The Definitive Guide to Berkeley DB XML
title_full_unstemmed The Definitive Guide to Berkeley DB XML
title_sort definitive guide to berkeley db xml
publisher Apress
publishDate 2013
url http://scholar.dlu.edu.vn/thuvienso/handle/DLU123456789/34835
_version_ 1757665741184696320
spelling oai:scholar.dlu.edu.vn:DLU123456789-348352014-01-20T01:37:15Z The Definitive Guide to Berkeley DB XML Brian, Danny Guide Berkeley DB XML is exciting to me for multiple reasons. Text data is appealing (as you’ll realize as you read The Definitive Guide to Berkeley DB XML), and I crave technologies that make it easy to work with. XML is attractive for its flexibility, XPath for its intuitive elegance, XSLT for its declarative nature, and so on. I know full well that XML didn’t break new technical ground or invent something we didn’t already have. I don’t care about that. What XML did was to convince an industry to use it—and to use it everywhere. Call it hype; call it The Man. The bottom line is that I now have an astonishing array of tools and technologies, all compatible, to work with data as I like. Until recently, a database was the big missing link; I had to convert data to and from SQL to index it. Eventually, XML databases began to pop up. But even as they did, I was unhappy with their design: most were language-specific, some were just XML-to-RDB interfaces, many had proprietary or otherwise limited query languages, and so on. Berkeley DB XML caught my eye for three reasons. First, it’s Sleepycat, and I’ve been a big fan of Berkeley DB for a long time—its ease of use, its simplicity, and its near-ubiquity. Second, it’s embedded, which is one of my pet requirements on any project that doesn’t absolutely need a database server (just ask my associates). And third, it has language API support for all the major programming languages. When version 2 came along with full support for the industry-standard XQuery language (which is so cool), it was ready for production use in my own sizable projects. I doubt that many technical books get written if the author isn’t excited by the subject matter. I want to assure you that this is the case for The Definitive Guide to Berkeley DB XML. I wanted this book to exist because BDB XML has made so much of my current work feasible and fun. I think it’s an important piece of software that can dramatically improve how you work with data: how you store it, how you search it, and how you retrieve it. I think XQuery is a great domain-specific language that makes querying data…er, enjoyable, if I dare say so. That’s what I think. And so I wrote the book I wanted to read on the matter. About the Author . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xv About the Technical Reviewer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvi Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvii Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xix CHAPTER 1 A Quick Look at Berkeley DB XML . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 CHAPTER 2 The Power of an Embedded XML Database . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 CHAPTER 3 Installation and Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 CHAPTER 4 Getting Started . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 CHAPTER 5 Environments, Containers, and Documents . . . . . . . . . . . . . . . . . . . . . . . . . . 47 CHAPTER 6 Indexes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61 CHAPTER 7 XQuery with BDB XML . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73 CHAPTER 8 BDB XML with C++ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103 CHAPTER 9 BDB XML with Python . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125 CHAPTER 10 BDB XML with Java . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141 CHAPTER 11 BDB XML with Perl . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161 CHAPTER 12 BDB XML with PHP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 177 CHAPTER 13 Managing Databases . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 191 APPENDIX A XML Essentials . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 199 APPENDIX B BDB XML API Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 231 APPENDIX C XQuery Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 343 INDEX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 355 v 2013-07-22T03:09:50Z 2013-07-22T03:09:50Z 2006 Book 978-1-59059-666-1 http://scholar.dlu.edu.vn/thuvienso/handle/DLU123456789/34835 en application/pdf Apress