The Definitive Guide to Berkeley Db Xml

by
Format: Hardcover
Pub. Date: 2006-08-21
Publisher(s): Springer-Verlag New York Inc
List Price: $73.49

Rent Textbook

Select for Price
There was a problem. Please try again later.

New Textbook

We're Sorry
Sold Out

Used Textbook

We're Sorry
Sold Out

eTextbook

We're Sorry
Not Available

How Marketplace Works:

  • This item is offered by an independent seller and not shipped from our warehouse
  • Item details like edition and cover design may differ from our description; see seller's comments before ordering.
  • Sellers much confirm and ship within two business days; otherwise, the order will be cancelled and refunded.
  • Marketplace purchases cannot be returned to eCampus.com. Contact the seller directly for inquiries; if no response within two days, contact customer service.
  • Additional shipping costs apply to Marketplace purchases. Review shipping costs at checkout.

Summary

The Definitive Guide to Berkeley DB XMLcovers Sleepycat's Berkeley DB XML, an open source embedded XML database. Berkeley DB XML runs on all major operating systems and has support for the most popular programming languages. The book includes tutorials and complete language references for C++, Java, Perl, Python, and PHP.Berkeley DB XML has the potential to dramatically simplify the development of your application's data tier. With native XML storage, flexible indexing, and the powerful XQuery query language (think SQL for XML), BDB XML provides everything you need for efficient XML management. Combined with Berkeley DB's transactions, logging, and replication, BDB XML is a powerful document storage solution.Author Danny Brian presents XML basics from the ground up for XML beginners, and covers database installation and configuration, the core concepts behind Berkeley DB XML, a look at application architecture, demonstrations of simple operations (i.e., text queries) to complex (i.e., set computations) using XQuery and FLWOR expressions, document indexing options, and a thorough look at the database APIs. You'll learn tips and tricks that you can immediately apply to your own applications.

Table of Contents

About the Author xv
About the Technical Reviewer xvi
Acknowledgments xvii
Introduction xix
CHAPTER 1 A Quick Look at Berkeley DB XML 1(6)
A Complete Example
1(4)
Creating and Using a Database
2(1)
Querying a Database
3(1)
Creating and Querying a Second Database
3(1)
Metadata
4(1)
XQuery
4(1)
Conclusion
5(2)
CHAPTER 2 The Power of an Embedded XML Database 7(18)
Database Servers vs. Embedded Databases
7(3)
Architecture Example
9(1)
Embedded Databases You Might Know
10(4)
SQLite
11(1)
Wordnet
11(3)
Embedded Databases on the Desktop
14(1)
XML for Data Exchange
14(2)
XML for Data Storage
16(2)
Indexing XML
18(2)
High-Performance XML Databases
20(1)
BDB XML for Quality Architecture
21(2)
Conclusion
23(2)
CHAPTER 3 Installation and Configuration 25(10)
BDB XML Packages and Layout
25(1)
Berkeley DB
25(1)
Xerces C++
25(1)
Pathan
26(1)
XQuery
26(1)
Berkeley DB XML
26(1)
Installation
26(2)
Windows
26(2)
Unix
28(5)
Building and Using Individual Packages
29(1)
Unix Variants
30(1)
Building Bindings
31(2)
Conclusion
33(2)
CHAPTER 4 Getting Started 35(12)
Core Concepts
35(1)
The Shell
35(10)
Shell Options
36(1)
Creating Containers
36(1)
Adding and Deleting Documents
37(1)
Querying Containers
38(2)
Indexing Containers
40(1)
Using XQuery
41(2)
Metadata
43(1)
Transactions
44(1)
Conclusion
45(2)
CHAPTER 5 Environments, Containers, and Documents 47(14)
Environments
47(3)
Creating and Opening Environments
48(1)
Additional Environment Configuration
49(1)
Containers
50(3)
Creating and Opening Containers
50(1)
Container Types
51(1)
Some Container Operations
52(1)
Documents
53(4)
Adding Documents
54(1)
Retrieving a Document
54(1)
Replacing Documents
55(1)
Modifying Documents Programmatically
55(1)
Deleting Documents
56(1)
Transactions
56(1)
Validation
56(1)
Metadata
57(1)
Conclusion
57(4)
CHAPTER 6 Indexes 61(12)
Creating and Manipulating Indexes
61(1)
Index Nodes
62(1)
Index Types
62(3)
Uniqueness
63(1)
Path Types
63(1)
Node Types
64(1)
Key Types
64(1)
Syntax Types
65(1)
Managing Indexes
65(3)
Adding Indexes
65(2)
Listing Indexes
67(1)
Deleting and Replacing Indexes
67(1)
Default Indexes
68(1)
Index Strategies
68(2)
Query Plans
70(2)
Conclusion
72(1)
CHAPTER 7 XQuery with BDB XML 73(30)
Trying XQuery
73(1)
Sample Data
74(1)
XPath
75(1)
Expressions
76(1)
Sequences
77(1)
A Complete Example
78(2)
FLWOR Expressions
80(2)
for
80(1)
let
81(1)
where
81(1)
order by
81(1)
return
82(1)
Data Types
82(2)
Nodes
84(1)
Atomic Values
84(1)
Navigation
84(1)
Comparisons
85(1)
User Functions
86(1)
Modules
87(1)
Some XQuery Tricks
87(12)
Iteration vs. Filtering
87(1)
Regular Expressions
88(1)
Querying for Metadata
89(1)
Querying Multiple Data Sources
90(1)
Recursion
90(2)
Reshaping Results
92(2)
Utilizing Hierarchy
94(2)
Ranges
96(2)
Unions, Intersections, and Differences
98(1)
Indexes and Queries
99(3)
Query Plans
99(2)
Node Names and Wildcards
101(1)
Queries Against Results
102(1)
Conclusion
102(1)
CHAPTER 8 BDB XML with C++ 103(22)
Compiling Applications
103(1)
Class Organization
104(1)
Errors and Exception Handling
105(2)
Opening Environments
107(1)
XmlManager Class
108(8)
Instantiating XmlManager Objects
108(1)
Managing Containers
108(2)
Loading Documents
110(2)
Preparing and Executing Queries
112(2)
Using Query Results
114(1)
Creating Other Objects
115(1)
Using XmlContainer
116(3)
Using XmlDocument
119(1)
Using XmlModify
120(1)
Using XmlTransaction
121(2)
BDB XML Event API
123(1)
Conclusion
124(1)
CHAPTER 9 BDB XML with Python 125(16)
Running Applications
125(1)
Class Organization
125(1)
Errors and Exception Handling
126(1)
Environments
126(1)
XmlManager
127(6)
Instantiating XmlManager Objects
127(1)
Managing Containers
127(1)
Loading Documents
128(1)
Preparing and Executing Queries
129(2)
Using Query Results
131(2)
Creating Other Objects
133(1)
Using XmlContainer
133(3)
Using XmlDocument and XmlModify
136(2)
Transactions
138(1)
Conclusion
139(2)
CHAPTER 10 BDB XML with Java 141(20)
Running Applications
141(1)
Class Organization
142(1)
Errors and Exception Handling
142(2)
Environments
144(1)
XmlManager
145(8)
Instantiating XmlManager Objects
145(1)
Managing Containers
145(2)
Loading Documents
147(1)
Preparing and Executing Queries
148(3)
Using Query Results
151(2)
Creating Other Objects
153(1)
Using XmlContainer
153(3)
Using XmlDocument and XmlModify
156(3)
Conclusion
159(2)
CHAPTER 11 BDB XML with Peri 161(16)
Running Applications
161(1)
Class Organization
161(1)
Errors and Exception Handling
162(1)
Environments
163(1)
XmlManager
163(6)
Instantiating XmlManager Objects
163(1)
Managing Containers
163(2)
Loading Documents
165(1)
Preparing and Executing Queries
166(2)
Using Query Results
168(1)
Creating Other Objects
169(1)
Using XmlContainer
169(3)
Using XmlDocument
172(1)
Using XmlModify
173(2)
Conclusion
175(2)
CHAPTER 12 BDB XML with PHP 177(14)
Running Applications
177(1)
Class Organization
177(1)
Environments
178(1)
XmlManager
179(6)
Instantiating XmlManager Objects
179(1)
Managing Containers
179(1)
Loading Documents
180(1)
Preparing and Executing Queries
181(2)
Using Query Results
183(1)
Creating Other Objects
184(1)
Using XmlContainer
185(2)
Using XmlDocument
187(1)
Using XmlModify
188(1)
Conclusion
189(2)
CHAPTER 13 Managing Databases 191(8)
Populating Containers
191(1)
Dumping Containers
192(1)
Loading Containers
193(1)
Managing Logs
193(1)
Detecting Deadlocks
194(1)
Checkpointing Transactions
195(1)
Recovery
195(1)
Debugging Databases
196(1)
Backup and Restore
196(1)
Conclusion
197(2)
APPENDIX A XML Essentials 199(32)
It's About the Data
199(4)
XML Building Blocks
203(3)
Elements
203(1)
Attributes
203(1)
Well-Formedness
204(1)
C DATA
205(1)
Relationships
206(1)
Namespaces
206(1)
Validation
207(3)
XML Schemas
209(1)
XPath: the Gist
210(2)
Paths
211(1)
Nodes
211(1)
Document Object Model (DOM)
212(2)
XPath: the Details
214(7)
Contexts
214(1)
Path Operators
214(1)
Predicates
215(2)
Operators
217(1)
Axes
217(2)
Functions
219(2)
XML DOM, Continued
221(5)
Implementation Considerations
222(1)
Reading and Writing XML
223(3)
Other XML Technologies
226(4)
XSLT
226(3)
SAX
229(1)
RPC-XML and SOAP
229(1)
Conclusion
230(1)
APPENDIX B BDB XML API Reference 231(112)
Language Notes
231(1)
DbEnv
232(3)
DbXml
235(3)
XmlContainer
238(22)
XmlContainerConfig
260(1)
XmlDocument
261(8)
XmlDocumentConfig
269(1)
XmlException
270(1)
XmllndexLookup
270(5)
XmllndexSpecification
275(7)
XmllnputStream
282(2)
XmlManager
284(26)
XmlManagerConfig
310(1)
XmlMetaDatalterator
311(1)
XmlModify
312(5)
XmlQueryContext
317(7)
XmlQueryExpression
324(3)
XmlResults
327(5)
XmlStatistics
332(2)
XmlTransaction
334(2)
XmlUpdateContext
336(1)
XmlValue
337(6)
APPENDIX C XQuery Reference 343(12)
Expressions
343(4)
Functions
347(4)
Data Types
351(4)
INDEX 355

An electronic version of this book is available through VitalSource.

This book is viewable on PC, Mac, iPhone, iPad, iPod Touch, and most smartphones.

By purchasing, you will be able to view this book online, as well as download it, for the chosen number of days.

Digital License

You are licensing a digital product for a set duration. Durations are set forth in the product description, with "Lifetime" typically meaning five (5) years of online access and permanent download to a supported device. All licenses are non-transferable.

More details can be found here.

A downloadable version of this book is available through the eCampus Reader or compatible Adobe readers.

Applications are available on iOS, Android, PC, Mac, and Windows Mobile platforms.

Please view the compatibility matrix prior to purchase.