Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Clojure library to make life on Google AppEngine clean and easy

tree: 7555fd6cfb

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 src
Octocat-spinner-32 test
Octocat-spinner-32 .gitignore Testing around find-all. April 04, 2009
Octocat-spinner-32 README.textile
Octocat-spinner-32 build.xml
README.textile

appengine-clj

Clojure library aimed at making life on Google AppEngine clean and easy for a Clojure app.

appengine-clj.users

Convenience API for the com.google.appengine.api.users package.

The user-info function can be called from anywhere to get the current user and a UserService.
For a more functional approach, a Ring middlware function is provided
to assoc the user info into every request under the key :appengine-clj/user-info.

appengine-clj.datastore

A convenience API for the com.google.appengine.api.datastore package providing access to Google’s schema-free datastore.

It allows you to work with immutable data structures instead of mutable Entity instances.

(require '[appengine-clj.datastore :as ds])
(ds/create {:kind "Person" :name "Jimmmy" :age 25})
=> {:kind "Person" :key #<Key Person(1138)> :name "Jimmy" :age 25}

appengine-clj.test-utils

Provides setup and teardown of an in-memory Datastore for use in tests or from a REPL.
If you’re using clojure.contrib.test-is, you can use the dstest macro to get a fresh Datastore for each test.


Copyright © 2009 John D. Hume.

Released under an MIT license.

Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the “Software”), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following
conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.

Something went wrong with that request. Please try again.