Database Reference
In-Depth Information
filesystem still exists, using the database is absolutely preferred. See “Where to
Store Your Application?” on page 194 .
The URL rewriting mapping mechanism
How does the URL rewriting mechanism map HTTP requests to functionality?
See “URL Mapping Using URL Rewriting” on page 194 .
Cleaning up URLs for URL rewriting
Up to now we have only seen ugly URLs like http://localhost:8080/exist/rest/db/
myapp/ . For a real application, you probably want to change these into some‐
thing like http://www.myapp.com/ . How to achieve this with URL rewriting is
described in “Changing the URL for URL Rewriting” on page 205 .
Requests, sessions, and responses
Inside your application you'll want to inspect the requests, keep data alive
between requests, and control the server's responses. Information about this can
be found in “Requests, Sessions, and Responses” on page 209 .
Security for applications
How to handle the user base and add an extra layer of security using eXist's
native mechanisms is described in “Application Security” on page 212 .
Global error pages
How to create specific pages that handle HTTP 400 (bad request), 404 (not
found), and other response error codes is explained in “Global Error Pages” on
page 215 .
Using RESTXQ
RESTXQ is substantially different from URL rewriting. You can read more about
it in “Building Applications with RESTXQ” on page 215 .
Packaging
How to use the eXist packaging mechanism to easily distribute your application
is described in “Packaging” on page 227 .
Getting Started, Quickly?
This chapter will teach you the basic mechanisms for eXist applications: how they
work and how to customize them to your needs. However, this might be too much
information if you want to write an application quickly and are not really interested
in what lies underneath.
In that case, we advise you to use eXide's (eXist's internal IDE's) application frame‐
work. This allows you to quickly set up small- to medium-sized applications without
any fuss. Please refer to “eXide” on page 374 for more information.
Search WWH ::




Custom Search