On Jan 9, 10:54 am, Stefan Kamphausen <ska2...@googlemail.com> wrote:
> Given that decision I'd like to understand the general development process.  
> Does one always compile to a class (ns ...gen-class ..extends ..Servlet) and
> will the appengine development server pick up the changes, or will I just
> recompile a function (using a setup with Emacs and SLIME), what about the
> REPL mode of appengine-magic together with the datastore and other features.

I'm the author of appengine-magic, so my opinion is necessarily biased
in its favor. :)

appengine-magic is designed to be a self-contained, easy way to use
Google App Engine with Ring, or any Ring-compliant framework.
appengine-magic includes its own datastore abstraction layer, with a
(reasonably) high-level Clojure syntax and API. Most other App Engine
services are also included, with idiomatic Clojure wrappers.

I optimized the development process for interactive use. You write
code with Emacs and SLIME, recompile functions interactively, and your
local development web server will show all changes. No restarts and no
nasty "watch this directory for changed class files" kludges are
needed. In version 0.4.0 (https://github.com/gcv/appengine-magic/tree/
v0.4.0, use "0.4.0-SNAPSHOT" as a dependency), the REPL mode works
fine with the datastore and other App Engine SDK features: you can run
datastore queries right from the REPL. I will probably finalize the
0.4.0 release soon, since it's a huge improvement over 0.3.x.

For deployment, you will have to compile .class files, but appengine-
magic provides Leiningen tasks to simplify the process. Please refer
to the documentation for more information, but you basically just run
"lein appengine-prepare" and then either run the SDK's deployment
script or "lein appengine-update".

The README file has full instructions for getting started. To get
started, just install the SDK and make a Leiningen project with the
correct dependencies. Feel free to contact me if you have any
questions.

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to