Skip to content

Latest commit

 

History

History
74 lines (49 loc) · 3.98 KB

2014-08-29-1_0_0_alpha02.adoc

File metadata and controls

74 lines (49 loc) · 3.98 KB

Alpha02

We are proud to announce the second public alpha release of LiveOak!

Release Highlights

Some of the highlights of Alpha02 are:

  • Initial support for PostgreSQL as a storage Resource

  • Business Logic scripting for all Resources

  • LiveOak examples are now installable from within the Console

  • Managing Users directly in the Console

  • Improved UX when editing data through the Console

Along with many other improvements and bug fixes.

For a full list of all the resolved issues, see the Release Notes.

PostgreSQL Storage Resource

We are introducing another storage mechanism in addition to MongoDB. You can now use PostgreSQL database for storage. The REST API is very similar to the one for MongoDB, you can even use the same query language.

The major difference is that the database schema has to be explicitly defined, and redefined as the application evolves over time. The REST endpoint uses table definitions, primary keys, and foreign key constraints to expose table rows as JSON objects with one-to-many, and many-to-one relationships represented as nested objects with many layers of nesting.

The best way to get started is to take a look at the REST API documentation.

A good place to see some usage examples is in the main test class.

There is no integration with the LiveOak Admin Console yet, and none of the example applications uses PostgreSQL yet.

The feature set, though, is very good already, and is worth checking out. Any feedback is most welcome as we want to make this API very powerful, yet as simple to use as possible.

Business Logic Scripting

New in this alpha is server side scripting support. Currently we only support scripts which can be triggered by resource invocations, but look out for being able to trigger scripts based on a schedule or triggered when a custom REST endpoint is called!

Documentation for LiveOak Server Side Scripting can be found here.

Resource triggered scripts allow you to have custom scripts run against a resource or group of resources when an action is performed against that resource. This allows you to run scripts before or after any of the CRUD operation as well as when an exception occurs during one of these operations.

Checkout all our scripting examples which are available here, or installable from within the LiveOak Admin Console. These examples go through how to check and modify the request and response, how to access and modify other LiveOak resources (including how to create and modify existing storage data), and more.

Right now it requires a bit of effort to manage and edit scripts since they can only be done through the file system or via authenticated REST endpoints. But we should have an awesome console editor available soon. The docs for how to manage scripting through the filesystem can be found here and the REST endpoint specification can be found here.

Let use know what feature or additional functionality you would want for scripting support or if you have any additional questions about scripting, please ask away in our new user forums!

On the way to 1.0.0.Final?

Some of the key features we’re looking to introduce before we go final:

  • API usage metrics and basic analytics

  • Code editor for Business Logic scripts

  • Even more awesome functionality within the Admin Console

  • Managing application config via git

  • SDKs and tooling

Please download it and try it out, then go to our community page, subscribe to the mailing list and share your feedback!