Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(128)

Delta Between Two Patch Sets: README.rdoc

Issue 89083: Start the appengine-tools gem (Closed) SVN Base: http://appengine-jruby.googlecode.com/svn/trunk/appengine-tools/
Left Patch Set: Created 5 months ago
Right Patch Set: Clean up xml formatting. Created 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
LEFTRIGHT
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
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).
LEFTRIGHT

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld r497