pmdb

Cross-platform embedded database engine in pure-Haxe
http://github.com/DavisDevelopment/hx-pmdb

To install, run:

haxelib install pmdb 0.2.1 

See using Haxelib in Haxelib documentation for more information.

README.md

hx-pmdb

An Embedded DataStore Engine for the Haxe Language

Written in pure Haxe code, PmDb aims at being a feature-rich and powerful embedded database to be used in any Haxe project requiring persistent data management. <!-- PmDb is, fundamentally, an "In-Memory Database", as the DataStore is kept entirely in-memory and is never directly persisted to the disk. -->

#### NOTE: Disregard following message. Updated README coming very soon

PmDb is still very much a Work-In-Progress, and should be ruled out entirely for any sort of production use (for now). PmDb's implementation is quite experimental at the moment, and puts a lot of focus on the JavaScript/NodeJS target. That doesn't mean that it won't work on other targets, but the kind of performance that PmDb is designed to coax out of JavaScript should not be expected on any of the other targets (except maybe Flash?), and that's including the Java and C++ targets. It should still be fast enough for many use cases on those targets, but it will most likely be most useful in JavaScript-rich environments (specifically running on Google's V8 engine). Lots of implementation details still up in the air, but the goal list so far is this:
- [ ] Allow declaration of a schema to improve performance some, without requiring one. - [ ] When no schema is provided, gather type-information about the data being stored at runtime - [ ] Represent queries as trees of nodes, much like an AST, but inextricable from (in fact, identical to) its "interpreter") - [ ] Use hscript (or something similar) for writing out queries a Strings - [ ] Support a fluent, Object-Oriented API for query building - [ ] Design internal algorithms to take all reasonable measures for maximizing the degree to which V8 (& associated JIT optimizer) JIT-compile the Database-related portions of your application

Immediate Roadmap:
  • [ ] Finish the prototype for the APIs surrounding query-creation and execution of UPDATE queries
  • [ ]
Contributors
DavisDevelopment
Version
0.2.1
Published
6 years ago
Dependencies
License
MIT

All libraries are free

Every month, more than a thousand developers use Haxelib to find, share, and reuse code — and assemble it in powerful new ways. Enjoy Haxe; It is great!

Explore Haxe

Haxe Manual

Haxe Code Cookbook

Haxe API documentation

You can try Haxe in the browser! try.haxe.org

Join us on GitHub!

Haxe is being developed on GitHub. Feel free to contribute or report issues to our projects.

Haxe on GitHub