[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

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 tremendous

Re: Releasing Caribou today: Open Source Clojure Web Ecosystem

2013-11-25 Thread Ryan Spangler
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, Ryan Spangler ryan.spang...@gmail.comwrote: Justin, As far as I know, Immutant is not a dependency, but an option. Let me know if that is not true

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 shortlypor...@gmail.comwrote: Hi Khalid yes I'm aware you can change the template tags (and the

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:

Re: Do web apps need Clojure?

2013-11-18 Thread Ryan Spangler
having fun with it! I’ll try the query engine now. Thanks! On Nov 18, 2013, at 12:31 PM, Ryan Spangler ryan.spang...@gmail.com wrote: 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

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} {:path

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

Re: Releasing Caribou today: Open Source Clojure Web Ecosystem

2013-11-17 Thread Ryan Spangler
, 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! http://let-caribou.in/ We have been building web

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

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
wrote: On Sun, Nov 17, 2013 at 1:58 PM, Ryan Spangler ryan.s...@gmail.comjavascript: 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 need in a model without pestering

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
, Leonardo Borges www.leonardoborges.com On Wed, Nov 13, 2013 at 5:25 PM, Ryan Spangler ryan.s...@gmail.comjavascript: wrote: Justin, As far as I know, Immutant is not a dependency, but an option. Let me know if that is not true however. On Tuesday, November 12, 2013 10

Re: Releasing Caribou today: Open Source Clojure Web Ecosystem

2013-11-13 Thread Ryan Spangler
, 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 applications with it for over two years now and improving it every day. Currently we have four people working

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):

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

Re: Releasing Caribou today: Open Source Clojure Web Ecosystem

2013-11-12 Thread Ryan Spangler
Corfield seanco...@gmail.comjavascript: wrote: Wow... That's pretty impressive for an initial alpha release! Sean On Tue, Nov 12, 2013 at 3:52 PM, Ryan Spangler ryan.s...@gmail.comjavascript: wrote: Hello Clojure, Excited to announce today the release of Caribou

Re: Step by step debugging

2013-11-12 Thread Ryan Spangler
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... unless someone wants to have that fun and then share it with the rest of us :-) I have started

Re: Releasing Caribou today: Open Source Clojure Web Ecosystem

2013-11-12 Thread Ryan Spangler
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 web applications with it for over two years now and improving it every day. Currently we have four people working on it and another

Re: Releasing Caribou today: Open Source Clojure Web Ecosystem

2013-11-12 Thread Ryan Spangler
NoSQL 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 web applications with it for over two years now