Google is making so many changes and improvements to the underlying App
Engine platform that I think it's going to be real tough for OpenBD to keep
up. They did the impossible by getting the cfml engine to work, but for GAE
GAE-specific activities like Datastore, MemCached, Task Queues, HTTP
Services, etc. I think dropping down to Java is going to be the way to go
for the foreseeable future until Google stabilizes their development.

Baz


On Mon, Apr 19, 2010 at 11:00 AM, Edward Smith <[email protected]>wrote:

> Going to reply to myself...
>
> Looks like I can do this with the low level java api pretty easily.
>
> For instance:
>
> message = structNew();
> message['sender'] = 5; // Sender's ID
> message['message'] = "This is a 140 character or less message";
> messageID = createUUID();
>
> recipentList = structNew();
> recipentList['recipients'] = [46,24,67,30,22,11,54];
> recipentID = createUUID;
>
> // Persist the entities
> messageKey = googleWrite(message,"message",messageID);
> recipentListKey =
> googleWrite(recipentList,"messageRecipientList",recipentID);
>
> //Get a KeyBuilder for the message I just persisted
> messageBuilder =
>
> createObject("java","com.google.appengine.api.datastore.KeyFactory.Builder").init(messageKey);
> childKey =
> messageBuilder.addChild("messageRecipientList",recipentID).getKey();
> // And any other "indexed" properties that I want to query on but
> don't really care about returning...
>
> I'll have to try this tonight when I get home.
>
> --
> Open BlueDragon Public Mailing List
>  http://www.openbluedragon.org/   http://twitter.com/OpenBlueDragon
>  mailing list - http://groups.google.com/group/openbd?hl=en
>
>  !! save a network - please trim replies before posting !!
>

-- 
Open BlueDragon Public Mailing List
 http://www.openbluedragon.org/   http://twitter.com/OpenBlueDragon
 mailing list - http://groups.google.com/group/openbd?hl=en

 !! save a network - please trim replies before posting !!

Reply via email to