Get a head start with eXist, the open source NoSQL database and application development platform built entirely around XML technologies. With this hands-on guide, you’ll learn eXist from the ground up, from using this feature-rich database to work with millions of documents to building complex web applications that take advantage of eXist’s many extensions.
If you’re familiar with XML—as a student, professor, publisher, or developer—you’ll find that eXist is ideal for all kinds of documents. This book shows you how to store, query, and search documents with XQuery and other XML technologies, and how to construct applications on top of the database with tools such as eXide and eXist’s built-in development environment.
Manage both data-oriented and text-oriented markup documents securely
Build a sample application that analyzes and searches Shakespeare’s plays
Go inside the architecture and learn how eXist processes documents
Learn how to work with eXist’s internal development environment
Choose among various indexes, including a full-text index based on Apache Lucene
Dive into eXist’s APIs for integrating or interacting with the database
Extend eXist by building your own Triggers, Scheduled Tasks, and XQuery extension modules
What Is eXist?
eXist Compared to Other Database Systems
Who Is Using eXist, and for What?
Contributing to the Community
Chapter 2Getting Started
Downloading and Installing eXist
Starting and Stopping eXist with a GUI
Starting and Stopping eXist from the Command Line
A First Tour Around Town
Getting Files into and out of the Database
Chapter 3Using eXist 101
Preparations and Basic Application Setup
Viewing the Data
Listing the Plays (XML)
Listing the Plays (HTML)
Analyzing the Plays
Linking the Analysis to the Play Overview
Searching the Plays
Creating a Log
Efficient XML Processing Architecture
Chapter 5Working with the Database
The Database’s Content
The XPath Collection and Doc Functions in eXist
Querying the Database Using REST
Controlling the Database from Code
Chapter 6XQuery for eXist
eXist’s XQuery Implementation
Controlling XQuery Execution
XQuery Documentation with xqDoc
Chapter 7Extension Modules
Types of Extension Modules
Enabling Extension Modules
Managing Users and Groups
User and Group Management with the Java Admin Client
Adam Retter is one of the core developers of eXist-db and has been using and contributing to eXist since 2005. Passionate about the Web, Code Quality, Standards and Portable Code, Adam has been promoting XQuery as a Web Application development language for the last few years. Adam is a member of the XML Guild, an Invited Expert to the W3C XML Query Working group and on the program committee of both the XML Prague and the XML Summer School conferences.
The animal on the cover of eXist is a lettered araçari (Pteroglossus inscriptus), a species of toucan that lives in swampy regions and forests around South America. It has been recorded at heights of approximately 4,000 feet in the Andean foothills, although lowland forest (even heavily disturbed rainforest) seems to be its preferred habitat.
The lettered araçari is only about a foot in length and weighs in at approximately one quarter of a pound. Its large, colorful bill helps members of the species recognize each other for mating purposes. It also allows the lettered araçari to grab and eat fruit, insects, and small birds such as finches. Birds of both genders have bodies that are green on top with striking yellow undersides, red rear ends, golden bills, and blue patches surrounding dark eyes.
A social animal, the lettered araçari roosts in groups throughout the year. It nests in cavities and sleeps with its tail folded over its back, along with up to five other adults and their offspring.
Many of the animals on O’Reilly covers are endangered; all of them are important to the world. To learn more about how you can help, go to animals.oreilly.com.
The cover image is from Johnson's Natural History. The cover fonts are URW Typewriter and Guardian Sans. The text font is Adobe Minion Pro; the heading font is Adobe Myriad Condensed; and the code font is Dalton Maag’s Ubuntu Mono.