Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Objectory is a dart package that provide typed, checked environment to model, save and query data persisted on MongoDb
Dart Shell
Branch: master
Failed to load latest commit information.
bin v0.1.39
doc More formatting and typos fixes for the quick tour.
example v0.3.21
lib Model and Schema generation works. Test for schema and model generation
test Model and Schema generation works. Test for schema and model generation
tool
.gitignore Ignore IDEA
.project RootPersistentObject ==> PersistentObject
CHANGELOG.md v0.3.21
LICENSE Initial commit
README.md Random documentation changes
dart-sdk-revision bugfix in ObjectoryServerImpl. Addressed [issue 64](#64)
pubspec.yaml v0.3.21

README.md

Objectory - object document mapper for server-side and client side Dart applications

Objectory provides typed, checked environment to model, save and query data persisted on MongoDb.

Objectory provides identical API for server side and browser applications (both Dartium and dart2js supported).

Build Status

Getting started

Now you may run server-side blog example: /example/console/blog_console.dart. This example uses connection to free MongoLab account

  • Install MongoDb locally. Ensure that MongoDB is running with default parameters (host 127.0.0.7, port 27017, authentication disabled)

Now you may run server side objectory tests: test/base_objectory_tests.dart and test/vm_implementation_tests.dart

  • While running local MongoDB process, start websocket objectory server: bin/objectory_server.dart

  • Configure Dartium launches for test/objectory_test.html and /example/blog.html In group Dartium settings uncheck Run in checked mode and Enable debugging.

Now you may run browser tests and blog example (port of server-side example to browser) both in Dartium and as JavaScript. JavaScript launches do not require any special setup.

See Quick tour and API documentation for futher information

See also Sample full stack application with

  • Angular.dart as primary framework
  • MongoDb as backend DB
  • Objectory as object/document mapper
  • Rikulo Stream Web server to serve static content and as a container for Objectory WebSocket handler.
Something went wrong with that request. Please try again.