Anvil v0.3.0 has been released! Please read the release notes and download here
Anvil is a plugin API that aims to help developers create structured cross-platform plugins. Included in anvil is an entity framework and many services that abstract platform-specific actions so that they can be used in common code, which means you don’t need to create a completely rewritten plugin for each platform you’d like your plugin to run on - you write the common code and Anvil will help you easily integrate it into each platform.
Anvil is not only cross-platform for plugin platforms but also for databases. As of this writing, Anvil ships with MongoDB and Xodus support by default. With Anvil, you can write a central abstract set of logic that can work on several different database types.
The two databases that are natively supported at the moment are MongoDB and Xodus.
- MongoDB is an external database that requires a separate installation. https://www.mongodb.com/
- Xodus is an embedded datastore which means there is no additional setup required. https://github.com/JetBrains/xodus
Anvil will use Xodus out of the box, meaning there is no configuring or set up required other than placing the jar in the appropriate folder in your server.