[ANN] appengine-magic: using Clojure with Google App Engine

21 views
Skip to first unread message

Constantine Vetoshev

unread,
Sep 20, 2010, 4:15:33 PM9/20/10
to Clojure
I'd like to announce the release of a working version of appengine-
magic, a library designed to make it easier to get started with Google
App Engine using Clojure.

appengine-magic abstracts away nearly all the boilerplate necessary to
deploy an App Engine application. It also enables interactive
development through the REPL.

http://github.com/gcv/appengine-magic

The library is available on Clojars. It does not currently provide any
App Engine services, but I wanted to get a usable version out as
quickly as possible. Please look through the README file for details.

Comments welcome, as always.

Constantine Vetoshev

Saul Hazledine

unread,
Sep 20, 2010, 5:30:38 PM9/20/10
to Clojure
On Sep 20, 10:15 pm, Constantine Vetoshev <gepar...@gmail.com> wrote:
> I'd like to announce the release of a working version of appengine-
> magic, a library designed to make it easier to get started with Google
> App Engine using Clojure.
>
> appengine-magic abstracts away nearly all the boilerplate necessary to
> deploy an App Engine application. It also enables interactive
> development through the REPL.
>
> http://github.com/gcv/appengine-magic
>

It took me days to get a working app-engine development environment
setup. This is very welcome indeed.

Saul

Saul Hazledine

unread,
Sep 21, 2010, 5:24:41 AM9/21/10
to Clojure
On Sep 20, 10:15 pm, Constantine Vetoshev <gepar...@gmail.com> wrote:
>
> http://github.com/gcv/appengine-magic
>
> Comments welcome, as always.
>

One thing that would simplify the process a little is that, when
Leiningen 1.4 is released, that appengine-magic uses the plugin
manager to install:

http://groups.google.com/group/leiningen/browse_thread/thread/d889549e445e3711

This would save having to make a lein project, edit project.clj and
delete a file.

Saul

Glen Stampoultzis

unread,
Oct 5, 2010, 1:52:05 AM10/5/10
to clo...@googlegroups.com
On 21 September 2010 07:15, Constantine Vetoshev <gepa...@gmail.com> wrote:
I'd like to announce the release of a working version of appengine-
magic, a library designed to make it easier to get started with Google
App Engine using Clojure.
.. chop ..

I noticed it uses ring out of the box.  I was wondering if this is compatible with compojure?  There also seems to be a compojure-gae project floating around so I'm a little confused as to which project I should be using.

Regards,

Glen

Constantine Vetoshev

unread,
Oct 6, 2010, 5:12:39 PM10/6/10
to Clojure
On Oct 4, 10:52 pm, Glen Stampoultzis <gst...@gmail.com> wrote:
> On 21 September 2010 07:15, Constantine Vetoshev <gepar...@gmail.com> wrote:
> > I'd like to announce the release of a working version of appengine-
> > magic, a library designed to make it easier to get started with Google
> > App Engine using Clojure.
> > .. chop ..
>
> I noticed it uses ring out of the box.  I was wondering if this is
> compatible with compojure?  There also seems to be a compojure-gae project
> floating around so I'm a little confused as to which project I should be
> using.

appengine-magic works well with Compojure (version 0.5.x). Any Ring-
compatible framework should also work, as long as it has no
dependencies blacklisted in the App Engine classloader. I should
probably put an example in the documentation, but here's one in the
meanwhile:

(use 'compojure.core)
(require '[appengine-magic.core :as ae])

(defroutes test-1-app-handler
(GET "/" [] "hello world")
(ANY "*" []
{:status 404
:headers {"Content-Type" "text/plain"}
:body "not found"}))

(ae/def-appengine-app test-1-app #'test-1-app-handler)
Reply all
Reply to author
Forward
0 new messages