You can download the code for this example here: OnyxDevTools/onyx-database-samples/restful-web-persistence-manager.
A Restful Persistence API is used to connect and interact to an Onyx Database just as you would with any other Restful Web Service.
You would use the Onyx Restful Web Server if you need to have interoperability with various clients written in other languages such as Objective C, NodeJS, Ruby, PHP, Android, ExtJS, HTML5, Python, or any technology that supports web services.
The main method will configure and create a running instance of the database server.
Navigate to the queryRootDirectory directory of the database server project, and run the following command:
1. In XCode, go to File > New > Project ...
2. Select Single View Application as the application type.
3. Name the project "OnyxDatabaseClientExample".