Skip to content

Objectory is a dart package that provide typed, checked environment to model, save and query data persisted on MongoDb

License

Notifications You must be signed in to change notification settings

adam-singer/objectory

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

##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).

###Getting started

Now you may run server-side blog example: /example/vm/blog.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 also clone of Dart WebComponents TodoMVC sample application with added by Objectory persistency

See Quick tour for futher information

About

Objectory is a dart package that provide typed, checked environment to model, save and query data persisted on MongoDb

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dart 100.0%