I know this an old thread but here the author says that he deprecated
Enclojure https://groups.google.com/d/msg/enclojure/TNngOAAoIyE/9cKOk_zEquEJ
Is this still true?
On Sunday, October 27, 2013 7:51:39 PM UTC-3, James Reeves wrote:
Compojure isn't deprecated. What made you think it was?
-
Yes, exactly. Currently, korma's data modeling occurs via macros that
create data structures which aren't exactly part of the public API. So,
your options are to wrap all the macros in a way that exposes the data
model, or to try to interpret the data structures that it creates, without
any
A probably simplistic consideration: maybe there should be a data model
expressed as a data structure so that it can be leveraged by arbitrary
libs. This way there would be a single representation, but no explicit
dependencies between single libs. Here probably Datomic could be an example.
Il
Try create-db.
On Monday, October 28, 2013 1:06:49 AM UTC-7, Manuel Paccagnella wrote:
Il giorno lunedì 28 ottobre 2013 04:12:50 UTC+1, Christopher Allen ha
scritto:
You can use Korma with Stuart Sierra's workflow just fine.
Really? Nice! Last time I tried I didn’t managed to get it to
On Monday, October 28, 2013 4:51:54 PM UTC-7, Alexander Hudek wrote:
It is incredibly hard to write a clean sql dsl due to differences in how
various database drivers work, and also due to how complex sql itself is.
It's worth noting that you can always selectively fall back to jdbc if
On Monday, October 28, 2013 4:36:56 PM UTC-7, Chris Kuttruff wrote:
Separate from DSLs like Korma, etc. I have written a simple library for
doing database migrations with clojure (clj-sql-up (
https://github.com/ckuttruff/clj-sql-up )). There are also other
libraries still maintained
Well things were kept separate intentionally. If someone wants to use
Korma or some other DSL within their migrations, they can augment their
migration file to use that to generate the SQL, but having the migrations
set up such that instructions to jdbc are simple clojure strings is very
In general, my point is that libraries don't compose if they have
incompatible or hidden representations of the data structures over which
they operate, which is the default condition if no one has thought about
how the libraries might be used together. A consequence of this is that a
Il giorno lunedì 28 ottobre 2013 04:12:50 UTC+1, Christopher Allen ha
scritto:
You can use Korma with Stuart Sierra's workflow just fine.
Really? Nice! Last time I tried I didn’t managed to get it to work
properly.
What happens to an open connection binded to a Var (via defdb) when the ns
Separate from DSLs like Korma, etc. I have written a simple library for
doing database migrations with clojure (clj-sql-up (
https://github.com/ckuttruff/clj-sql-up )). There are also other libraries
still maintained along these lines (drift, migratus, ragtime, etc.)
Hopefully one of these
I've run into problems with it in a few areas:
1) Bundled connection pooling. You can disable it or change it, but it
takes work. Bundling seems against the idea of keeping libraries and
dependencies small and composable.
2) Default behaviour of delete can be inefficient. It returns the entire
Noir is deprecated in favor of lib-noir.
Where have you seen some indication that Compojure is deprecated?
Andy
On Sun, Oct 27, 2013 at 10:43 AM, Scott M scottmc...@gmail.com wrote:
Ring seems well maintained, but Noir and Compojure are marked deprecated.
Can anyone lay out a Clojure Web
Compojure isn't deprecated. What made you think it was?
- James
On 27 October 2013 17:43, Scott M scottmc...@gmail.com wrote:
Ring seems well maintained, but Noir and Compojure are marked deprecated.
Can anyone lay out a Clojure Web library stack (up to templating) that
is current and
http://www.luminusweb.net/ gives a reasonable starting setup. The only
thing I would recommend doing differently is to use clojure/java.jdbc or
honeysql instead of korma for an sql dsl.
On Sunday, October 27, 2013 1:43:21 PM UTC-4, Scott M wrote:
Ring seems well maintained, but Noir and
Il giorno lunedì 28 ottobre 2013 00:30:06 UTC+1, Alexander Hudek ha scritto:
http://www.luminusweb.net/ gives a reasonable starting setup. The only
thing I would recommend doing differently is to use clojure/java.jdbc or
honeysql instead of korma for an sql dsl.
I agree. Korma is quite
I'm using FW/1 (but then it's my framework, ported from CFML :) which
is based on Ring and uses Enlive and Selmer for templating. It uses
conventions rather than configuration (although you can specify routes
if you want to override configuration).
https://github.com/framework-one/fw1-clj
Sean
You can use Korma with Stuart Sierra's workflow just fine.
On Sunday, October 27, 2013 5:07:02 PM UTC-7, Manuel Paccagnella wrote:
Il giorno lunedì 28 ottobre 2013 00:30:06 UTC+1, Alexander Hudek ha
scritto:
http://www.luminusweb.net/ gives a reasonable starting setup. The only
thing I
Hi Scott,
I only began Clojure web development recently and decided to use Luminus
[1]; it brings together a bunch of frameworks (lib-nior, ring, compojure,
etc). Felt like a good starting point for me.
Paul.
[1] http://www.luminusweb.net/
On Mon, Oct 28, 2013 at 9:51 AM, James Reeves
Oh? What are the benefits of using those over Korma? I've been more than
happy with it up to now.
On Mon, Oct 28, 2013 at 10:30 AM, Alexander Hudek alexan...@hudek.orgwrote:
http://www.luminusweb.net/ gives a reasonable starting setup. The only
thing I would recommend doing differently is to
On Nov 16, 8:03 pm, ngocdaothanh ngocdaoth...@gmail.com wrote:
Could someone provide an example about using Clojure with Restlet?
I found:http://github.com/stuartsierra/altlaw-clojure-restlet
but don't understand how the code works as a web application.
It doesn't. That's just a few helper
Could someone provide an example about using Clojure with Restlet?
I found:
http://github.com/stuartsierra/altlaw-clojure-restlet
but don't understand how the code works as a web application.
Thanks.
On Nov 15, 11:06 pm, Stefan Tilkov stefan.til...@innoq.com wrote:
On Nov 15, 2009, at 4:58
On Nov 15, 2009, at 4:58 AM, ngocdaothanh wrote:
Hi Stuart,
Can you elaborate on Restlet? After some short investigation I think
it uses annotation but Clojure does not support it, so Clojure is not
Restlet-ready.
Only the JSR-311 (JAX-RS) API uses annotations. Restlet has a lower-level
Hi Stuart,
Can you elaborate on Restlet? After some short investigation I think
it uses annotation but Clojure does not support it, so Clojure is not
Restlet-ready.
Thanks
On Jan 23, 1:44 am, Stuart Sierra the.stuart.sie...@gmail.com wrote:
Hi Frank,
I'd also recommend looking
The latest restlet versions use annotations. I stil use 1.1, which uses
ordinary classes. I'm bothered by restlet's move to annotations, but
hoefully the old API is still available.
sent from my phone
On Nov 14, 2009 10:58 PM, ngocdaothanh ngocdaoth...@gmail.com wrote:
Hi Stuart,
Can you
On Jan 21, 4:39 pm, Frank ffai...@gmail.com wrote:
I am interested in trying to use Clojure to develop web-based
applications. Can someone point me to any Clojure libraries that have
been written that I can use. Thanks.
I spent a couple of days this week using Compojure both in anger,
On Jan 21, 9:39 pm, Frank ffai...@gmail.com wrote:
I am interested in trying to use Clojure to develop web-based
applications. Can someone point me to any Clojure libraries that have
been written that I can use. Thanks.
There's Compojure, which looks like this:
(defservlet demo-servlet
I'd suggest using Compojure for your first project - its fairly widely
used, is easy to pick up, and has a growing set of docs.
I'm not sure that Webjure is maintained anymore (i.e. no commits to
its repo in a few months).
Weld is still a work in progress - I'm trying to stabilize it now but
it
Hi Frank,
I'd also recommend looking at Restlet http://www.restlet.org/ and
the Java Servlets API.
-Stuart Sierra
On Jan 21, 4:39 pm, Frank ffai...@gmail.com wrote:
Hi,
I am interested in trying to use Clojure to develop web-based
applications. Can someone point me to any Clojure libraries
Thanks to everyone for their responses. I will be looking into all
these libraries. I wanted to add two other references to this thread
that I will also be researching. I found two libraries written by
Christophe Grand:
Ring - http://github.com/mmcgrana/ring/tree/master
Enlive -
On Jan 22, 10:15 pm, Frank ffai...@gmail.com wrote:
I found two libraries written by Christophe Grand:
Only Enlive was written my Christophe; Ring was written by Mark. From
what I gather Ring is an abstraction layer like Rack, and isn't
designed to be used directly to build web applications.
Hi,
I am interested in trying to use Clojure to develop web-based
applications. Can someone point me to any Clojure libraries that have
been written that I can use. Thanks.
Frank
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
On Jan 21, 2009, at 4:39 PM, Frank wrote:
I am interested in trying to use Clojure to develop web-based
applications. Can someone point me to any Clojure libraries that have
been written that I can use. Thanks.
Compojure and webjure are two names worthy of Google searches along
those
32 matches
Mail list logo