DBA

From BaseX Documentation
Revision as of 00:12, 12 December 2014 by CG (talk | contribs)
Jump to navigation Jump to search

This page is part of the Getting Started Section.

Since Version 8.0, the full distributions of BaseX are equipped with a simple browser-based database administration interface, the DBA. The browser frontend was completely written in XQuery and RESTXQ. It allows you to create and administer database instances, evaluate queries, view log files and manage users.

These were our design goals:

  • The code base is supposed to help and motivate you developing your own RESTXQ web applications.
  • The whole DBA code consumes only 100 KB. It uses very simple Javascript code that should run with nearly every browser. The interface is functional, but limited in terms of flashiness and interactivity.
  • We tried to make the DBA features as self-explanatory as possible. All functionalities are also available via Commands, XQuery Modules or the Java GUI.
  • The dba sub-directory can simply be copied and moved to any other place. All URL paths point to the same directory; it should be straightforward to adjust the RESTXQ path.

The DBA has just been released, and it is in beta stage, so we are looking forward to your feature requests. Patches and extensions are welcome.

Startup

Start Page

On the welcome page, you will need to authenticate yourself by entering a username and password. The default user is admin/admin. By specifying a host and port, you can communicate with a remote BaseX server instance. If you keep the field empty, you will be connected to the local BaseX instance.

Main Page

The main page of the DBA interface contains a list of all databases on the left. On the right, the global and local options are listed, along with some system information.

With the "Create…" button, a new database can be created. Existing database can be viewed, optimized, and dropped.

File:Bla.png
DBA Main Page

Changelog

Introduced with Version 8.0.