|
Project Information
Members
Featured
Downloads
Wiki pages
Links
|
This is the Itemscript JSON Toolkit for standard Java and GWT Java. Main components:
Please feel free to log any issues, or contact us directly with questions or comments. News
1. JSON library features
2. RESTful data retrieval APIThis provides a simple, extensible RESTful interface to data storage. The API consists of Map-style get/put/delete operations that accept URLs as keys; they allow you to treat the web as a hashtable with URLs for keys. For GWT, asynchronous versions of these operations that accept callbacks are provided for retrieval via HTTP or JSONP. In GWT Java there are connectors for:
In standard Java there are connectors for:
This API is easily extensible using the pluggable connector interface. 3. In-memory RESTful databaseThis simple database provides storage and retrieval of resources via HTTP-style hierarchical URLs. It is intended primarily for mocking-up & testing of REST applications without needing to configure a server, and so it imitates the operations a typical REST server might provide. It can also be used as a configuration database, a cache, or to mediate interactions between various sub-systems in an application; sub-systems may attach event handlers to resources and be notified when they change, allowing decoupling of interactions. It can be used in both browser and standard Java environments. Getting started guide to the in-memory database 4. Itemscript Schema validatorThe toolkit includes a validator for the Itemscript Schema language, allowing you to validate JSON values against types defined using that language, usable for both immediate client-side validation and server-side validation. 5. JAM template languageThe JAM template language allows you to use JSON values to interpret templates; templates can produce text or JSON values as output. The template language can be efficiently parsed and compiled even in browser environments. ExamplesExamples of many of these features can be found here; a worked example of the Foundry/Factory system can be found here. Getting startedGetting started guide for standard Java Getting started guide for GWT Java Getting started with the in-memory database Other projectsThe JAM (JSON Application Markup) language describes applications, interfaces, events and data in a simple language based on JSON name:value pairs. JAM extends the Itemscript specification. The Web Data Model is a description of the implicit data model of the RESTful web; the in-memory database in Itemscript tries to emulate a simple, standard set of operations on it. Some notes on making a Java library that can be used both in standard Java environments and GWT. Read the FAQ for more information. Itemscript is a registered trademark of Database Architects, Inc. Itemscript is an open source work published under the new BSD license. |
