background preloader


Facebook Twitter

Disclojure: public disclosure of all things clojure. ClojureDocs - Community-Powered Clojure Documentation and Examples. Cheatsheet. Learn Clojure. Fatvat: Data Persistence in GAE with Clojure.

If you want to persist stuff in Java, you've got a bewildering amount of choiceThere's even an entire book about making the right decision!

Fatvat: Data Persistence in GAE with Clojure

(Persistence in the Enterprise) Google App Engine has gone with JDO using the Data Nucleus platform. In GAE this is split again into two APIs, the high-level one for persisting objects, and a lower-level one which allows you to persist raw data. When using Clojure it makes more sense to go with the lower-level api. The higher-level one would require using annotations on objects which isn't supported at the moment in Clojure (as far as I know!). So how do we store data in GAE?

(ns news.savestory (:use (news appengine)) (:gen-class :extends javax.servlet.http.HttpServlet) (:import ( DatastoreServiceFactory Entity Key Query))) store takes a map and a type and persists it in the database and returns the key associated with this entity. Retrieving the data is much the same. Clojure Series: Table of Contents. Writing/Coding Writing and Coding, Literature and Computers Tuesday, June 17, 2008 Clojure Series: Table of Contents Here are the postings I have published so far for this series.

Clojure Series: Table of Contents

Posted by Eric Rochester at 5:52 PM. Clojure Programming - Wikibooks, collection of open-content textbooks. Clojure is a dynamic programming language for the JVM.

Clojure Programming - Wikibooks, collection of open-content textbooks

Introduction[edit] People come to Clojure from a variety of backgrounds. The purpose of this book is to help everyone get the most out of the Clojure language. It is not meant as a replacement for the documentation, found at the Clojure site. Please do not copy material from there to here! Feel free to post your own code, written in the Clojure language, here. Implementations[edit] There are a number of different implementations of the Clojure language: Clojure (the original Java-based implementation)ClojureScript (compiles to JavaScript)ClojureCLR (for Microsoft's .NET framework)clojure-py (Python-based)clojure-scheme (compiles to Scheme)ClojureC (compiles to C) See also Clojure-metal (thoughts/plans for Clojure on LLVM). FAQ[edit] Some answers to Frequently Asked Questions. Getting started[edit] Mark Volkmann's Clojure Page. Mark Volkmann's Page This page contains resources related to the Clojure programming language.

Mark Volkmann's Clojure Page

Article Change History Sounds Even Jennifer Aniston has quit using other programming languages and now prefers Clojure. Sound Clip #1 Sound Clip #2. Home. Casting SPELs with Clojure - Home - Anyone who has ever learned to program in Lisp will tell you it is very different from any other programming language.

Casting SPELs with Clojure - Home -

It is different in lots of surprising ways - This comic book will let you find out how Lisp's unique design makes it so powerful ! This tutorial was adapted for Clojure, an exciting new dialect of Lisp running on the Java Virtual Machine. Clojure's syntax and API resembles Common Lisp, but there are enough differences to write a dedicated version of this book. Most of the time, we will say "Lisp" instead of "Clojure", since most of the concepts presented apply to Lisp in general - we will point out the places where Clojure handles things a little different.

Since Clojure is based on the JVM, you will need to have Java installed on your system. For the examples in this tutorial, simply unpack the archive, open a command line tool and switch to Clojure's main directory. Java -jar clojure.jar Clojure 1.1.0 user=> This tutorial has small bits of Clojure code written in. Try Clojure. Clojure Notes.