Admin Tools

When you get your own Amazon Instance of the NextDB system, you will have your own copy of the admin interface. The evaluation version of the admin interface are hosted at:

http://www.nextdb.net/admin

Intro to the NextDB web based database admin pages:

Video of Admin Interface | screen shots

Sign up and get instant access to the admin pages to start developing:

Getting Started


JavaScript API

NextDB offers a simple JavaScript API that allows you to interact with your database directly and securely from the browser. The API offers simple object oriented functions for all of the database operations, such as executing queries, inserts, updates, deletes, and relating data. The API also offers utilities for working with dates and binary data, as well as several utilities for speeding up the development process by automatically building and styling your HTML forms.

The API is framework agnostic and integrates with all of the other popular JavaScript frameworks, e.g. jQuery, Dojo, prototype, YUI etc.

Documentation

The API documentation is available at

http://www.nextdb.net/docs

This is an article on the basics of the API:

http://www.nextdb.net/examples/basics.html

This is an article on the form builder utilities:

http://www.nextdb.net/examples/forms.html

This is an article on the email notification triggering:

Email Notification API


RESTful Database API

REST enables you to easily access your NextDB data, often with very little programming. The REST features are complimentary to our existing JavaScript API. Our REST system tries to follow the HATEOAS design principle. That is, Hypermedia As The Engine Of Application State. What that means is, for the most part you shouldn't have to construct REST URLs (though we explain the format of our permalinks throughout this wiki page). Rather, you should simply use the links that the server provides to you. For example, if you want to provide links allowing a user to access different pages of database content, rather than creating those links yourself, simply extract the links from the HTML representation, and use them as needed in your application.

Documentation

Full REST docs and examples are available at:

http://nextdb.net/wiki/en/REST


Java API

In addition to our pure client side JavaScript API. We also offer a server side API.

This API is designed for Java programmers who are looking to hook their application to a hosted cloud database service.

This API is ideal for JSP developers to easily data enable their pages. Used in conjunction with the NextDB.net JavaScript API, certain elements of the page can be rendered on the server, while other more dynamic elements can be rendered on the client using AJAX techniques with our JavaScript API. This API also works on Android and with a few minor tweaks it can work on J2ME.

The general design of this API is similar to the NextDB JavaScript API. There is a Callback interface that you need to implement to handle the JSON responses from the server. Or you can use the BasicCallback implementation class. The JSON data that is returned is parsed into the JSON.org Java libraries.

The Connection class allows for both synchronous and asynchronous communication styles. If you are using JSP, you must make the call synchronously. If you are building a mobile app or a desktop app, you must keep the network calls out of the UI thread so that the UI does not block, for this, we offer an asynchronous mode that spawns new threads.

Documentation

The Java API documentation is available at

http://nextdb.net/javadocs/

Our Java API is open source. You can get the source at:

http://code.google.com/p/nextdb/source/browse/trunk/java-client/


NextDB Mobile API

As mobile application development becomes more popular, the need for off-board storage tools and resources will become more necessary. Storing user data locally on the phone is dangerous because it can become easily corrupted, the phone can be lost or damaged, and most importantly the data cannot be shared. With the new NextDB.net Android API, you can now add full relational database access to your android application where all of your data is stored safely on the NextDB server. In conjunction with the NextDB.net JavaScript API and REST API, you can now interact with your data from virtually anything that has a network connection. Using NextDB in your mobile applications gives you a real advantage because you can easily surface all of the users data on the web. Your mobile application can have an associated web application, both speaking to and communicating through a shared database.

NOTE: the NextDB.net JavaScript API also works on mobile phones in: Joint Innovation Labs and the Opera Widgets Mobile Widget Runtimes. As well as all smart phone browsers.

Documentation

You can get all of the NextDB.net Android example source code at:

http://code.google.com/p/nextdb/source/browse/#svn/trunk/mobile/android/

The Java API documentation is available at

http://nextdb.net/javadocs/

Example W3C widget code:

http://nextdb.net/widgets/notes/