| LEFT | RIGHT |
|---|---|
| 1 == dm-appengine | 1 Generate XML files required by App Engine for JRuby from a rackup file. |
| 2 This works from standard Ruby or JRuby, but you'll need the rack gem. | |
| 2 | 3 |
|
woodie
2009/07/02 03:33:09
Generate XML files required by App Engine for JRub
ribrdb
2009/07/02 22:32:15
On 2009/07/02 03:33:09, mando.woodie wrote:
> Gene
| |
| 3 A DataMapper adapter for the Google App Engine Datastore. | 4 Configure your app from within the 'config.ru' file: |
| 4 | 5 |
| 5 Currently this is pretty basic. There's no support for Parent entities, | 6 AppEngine::Rack.app.configure( :application => 'simple', :version => 2 ) |
| 6 transactions, Blobs, or Links, for example. Any query supported by the | |
| 7 Datastore should work. That means the like, regexp, and not operators are not | |
| 8 supported. Or is only supported for fetching several entities by the Key. | |
| 9 | 7 |
| 10 == Bugs | 8 Now run xmlgen.rb and and your ready to go: |
| 11 | 9 |
| 12 - DataMapper likes to lazily load properties. The Datastore always sets and | 10 jruby -rubygems -e 'require "appengine-tools/genxml"' |
| 13 returns all properties on an entity. If you have lazily loaded properties | |
| 14 strange things will happen (like properties potentially disappearing). | |
| LEFT | RIGHT |