[ANN] New Caribou Release: Version 0.14.0

2014-03-05 Thread Ryan Spangler
Hello Clojure People, Happy to announce the release of a new version of Caribou! http://let-caribou.in/ There are a lot of improvements in this latest release. We have tried to incorporate all of the feedback we have received since its initial release (which has been massive!). A small sele

Re: [ANN] Hoplon: web applications in Clojure and ClojureScript

2013-12-20 Thread Ryan Spangler
> > The hlisp part of Hoplon - the compiler bit that converts HTML to >> ClojureScript - was designed and implemented specifically to avoid having >> to do this. It's our opinion (and experience) that admission of the DOM as >> a data structure instead of a piece of the program introduces trem

Re: Releasing Caribou today: Open Source Clojure Web Ecosystem

2013-11-25 Thread Ryan Spangler
;s directory, so in production you'll likely want > that to be an absolute path. > > I especially like the project's name. It reminds me of the Pixies song: > https://www.youtube.com/watch?v=x6m-pwWCDKU > > Thanks! > Jim > > > On Wed, Nov 13, 2013 at 1:25 AM, R

Re: Releasing Caribou today: Open Source Clojure Web Ecosystem

2013-11-19 Thread Ryan Spangler
David, Certainly. There is already a facility to change them, I just haven't exposed that to the user yet! This will come out in the next release. On Tue, Nov 19, 2013 at 3:39 AM, David Simmons wrote: > Hi Khalid > > yes I'm aware you can change the template tags (and the pitfalls :-)). I > t

Re: Do web apps need Clojure?

2013-11-18 Thread Ryan Spangler
and crap. But it’s not, and we’re having fun with it! > > I’ll try the query engine now. Thanks! > > On Nov 18, 2013, at 12:31 PM, Ryan Spangler > wrote: > > I just ran this in the Caribou repl: > > (caribou.model/gather :field {:where {:created-at {:<= > (java.u

Re: Do web apps need Clojure?

2013-11-18 Thread Ryan Spangler
I just ran this in the Caribou repl: (caribou.model/gather :field {:where {:created-at {:<= (java.util.Date.)} :model-id 1}}) And got a bunch of results. No string coercion necessary! (also, dashes not underscores!) We looked at Korma and found it lacking (similar problem as Compojure: mac

Re: Releasing Caribou today: Open Source Clojure Web Ecosystem

2013-11-18 Thread Ryan Spangler
David, Yes, if you created a Customer model there will be a "customer" table inside the h2 db (lowercase). Can you create customer instances? If so it is all working as it should, and you might just be missing the tables somewhere. On Mon, Nov 18, 2013 at 12:04 AM, David Simmons wrote: > Hi R

Re: Releasing Caribou today: Open Source Clojure Web Ecosystem

2013-11-18 Thread Ryan Spangler
Mark, Yes, you can do nested loops. Say you have a structure like this: {:title "Hello" :slides [{:caption "World" :images [{:path "/img/world.png"} {:path "/img/space.png"}]} {:caption "Jupiter" :images [{:path "/img/callisto.png"}

Re: Releasing Caribou today: Open Source Clojure Web Ecosystem

2013-11-17 Thread Ryan Spangler
UTC-8, puzzler wrote: > > On Sun, Nov 17, 2013 at 1:58 PM, Ryan Spangler > > > wrote: > >> There are many advantages to this, including being able to generate the >> admin and api automatically, (as well as letting our frontend guys add >> properties they ne

Re: Releasing Caribou today: Open Source Clojure Web Ecosystem

2013-11-17 Thread Ryan Spangler
Mark, Luminus is great, it is at its heart a lein template that gathers together a number of useful Clojure web libraries and stitches them into a whole. It provides a good starting point with many options without preventing you from adapting it in any way you see fit. Caribou is more of an

Re: Releasing Caribou today: Open Source Clojure Web Ecosystem

2013-11-17 Thread Ryan Spangler
Justin: I believe he is asking for a repo of an example Caribou site that does something useful (like a blog that posts comments or something). David: That is right, you don't have model files which describe your model. Instead, there is a Model model (with a collection of instances of a F

Re: Releasing Caribou today: Open Source Clojure Web Ecosystem

2013-11-17 Thread Ryan Spangler
urday, November 16, 2013 6:36:50 AM UTC-8, Ronen Cohen wrote: > > This look great! Is there a sample app anywhere? > > On Wednesday, November 13, 2013 1:52:10 AM UTC+2, Ryan Spangler wrote: >> >> Hello Clojure, >> >> Excited to announce today the release of Caribou!

Re: Do web apps need Clojure?

2013-11-14 Thread Ryan Spangler
Marcus, To answer your original question, the main reason we use Clojure is that we were originally using Ruby, and once our sites got to a certain level of traffic they fell over badly. Rewriting the system in Clojure meant literally two orders of magnitude performance increase, which at the

Re: Releasing Caribou today: Open Source Clojure Web Ecosystem

2013-11-13 Thread Ryan Spangler
on > that's not quite right. > > On Tuesday, November 12, 2013 3:52:10 PM UTC-8, Ryan Spangler wrote: >> >> Hello Clojure, >> >> Excited to announce today the release of Caribou! http://let-caribou.in/ >> >> We have been building web sites and web appli

Re: Releasing Caribou today: Open Source Clojure Web Ecosystem

2013-11-13 Thread Ryan Spangler
case here. > > FWIW, I'm running Java 1.7 and Lein 2.3.3 > > Cheers, > Leonardo Borges > www.leonardoborges.com > > > On Wed, Nov 13, 2013 at 5:25 PM, Ryan Spangler > > > wrote: > > Justin, > > > > As far as I know, Immutant is no

Re: Releasing Caribou today: Open Source Clojure Web Ecosystem

2013-11-12 Thread Ryan Spangler
ngoDB, MapDB ( >> http://www.mapdb.org/ - I just found out about it myself but this is the >> only decent in-memory NoSQL solution other than Berkeley DB)? >> >> On Tuesday, November 12, 2013 6:52:10 PM UTC-5, Ryan Spangler wrote: >>> >>> Hello Clojure, &g

Re: Releasing Caribou today: Open Source Clojure Web Ecosystem

2013-11-12 Thread Ryan Spangler
oSQL solution other than Berkeley DB)? > > On Tuesday, November 12, 2013 6:52:10 PM UTC-5, Ryan Spangler wrote: >> >> Hello Clojure, >> >> Excited to announce today the release of Caribou! http://let-caribou.in/ >> >> We have been building web sites and we

Re: Step by step debugging

2013-11-12 Thread Ryan Spangler
on how to get this running for people who don't know > (or necessarily want to have to know) what a dt_socket is. > > > On Nov 12, 2013, at 7:11 PM, Ryan Spangler wrote: > > > >> Sounds like a fun project, but probably non-trivial. > > > Too bad...

Re: Releasing Caribou today: Open Source Clojure Web Ecosystem

2013-11-12 Thread Ryan Spangler
he product? > >> > >> Best, > >> Marcus > >> > >> On Nov 12, 2013, at 5:02 PM, Sean Corfield > >> > > wrote: > >> > >>> Wow... That's pretty impressive for an initial alpha release! > >>> > >&

Releasing Caribou today: Open Source Clojure Web Ecosystem

2013-11-12 Thread Ryan Spangler
Hello Clojure, Excited to announce today the release of Caribou! http://let-caribou.in/ We have been building web sites and web applications with it for over two years now and improving it every day. Currently we have four people working on it and another ten using it to build things, so it i

Re: Step by step debugging

2013-11-12 Thread Ryan Spangler
>> Sounds like a fun project, but probably non-trivial. > Too bad... unless someone wants to have that fun and then share it with the rest of us :-) I have started a project that does this: a browser based debugger that breaks on exceptions (it attaches to a dt_socket port): https://github.c