Hi James,

I have thought about much of what you posted. My replies are below.

1. I have looked at stronger integration of ring and Conjure, but the
latest version of Ring was a big change from the previous version and
I wanted to get a new version of Conjure out. When I wrote the code
handling parameters, cookies and sessions, Ring did not. I would much
rather rely on Ring for those areas, however, I'm not sure if cookies
and sessions will integrate with Conjure. I'll take a look at it.

2. I've looked at Leiningen in the past, and decided it was too much
work to switch over and didn't really gain me anything since Conjure
isn't a library. The only way Leiningen would help is in removing the
jars from the lib directory. I may update lancet to pull jars from
clojars, but I think someone would kill me for that. :)

3. You're the third person this week to mention something about making
Conjure apps into a war file. I'm making this highest priority. I'm
not sure if I need to rearrange the directory structure. I don't have
much experience with war files. I guess I will soon.

4. I noticed the change to Hiccup. It will be updated soon.

5. I'll check out clout, but I have the routing like I want it. I've
made it flexible enough to use the Rails like routing (older version)
and still allow people to create their own routing. Actually, looking
at clout just now, I think I can just drop it in.

-Matt Courtney


On Jun 11, 3:35 pm, James Reeves <jree...@weavejester.com> wrote:
> On 11 June 2010 14:46, Matt <macourt...@gmail.com> wrote:
>
> > I just released Conjure version 0.6. You can download it at:
> >http://github.com/macourtney/Conjure/downloads
>
> > Conjure is a full stack web framework (like Ruby on Rails) written in
> > Clojure. The goal of Conjure is to let users write simple database
> > backed web applications quickly and easily using Clojure.
>
> Hi Matt,
>
> Some quick thoughts:
>
> 1. Have you given any thought toward greater Ring integration? Ring
> 0.2 has functionality for handling parameters, cookies, sessions, etc.
> and I notice Conjure currently seems to reinvent much of that. It
> would be nice if we weren't all reinventing the same wheel :)
>
> 2. I note you also include your dependant jars in your repository.
> Build tools with dependency management like Leiningen or Maven mean
> you don't have to clutter up your source tree with binaries. You could
> also upload your application jar to Clojars.
>
> 3. You also use the classic Rails folder layout, but I wonder if
> that's the best approach for a Clojure-based application? Most of the
> time, I'd imagine people would like to compile an application into a
> jar or war, and then deploy it to a server somewhere. Rather than
> having app, vendor, etc. one could arrange the directories along the
> lines of a more traditional application:
>
>   your-app
>   - project.clj / build.xml / pom.xml
>   - resources
>     - css
>     - js
>     ...
>   - src
>     - your-app
>       - controllers
>       - models
>       - views
>
> 4. clj-html has been deprecated in favour of Hiccup
> [http://github.com/weavejester/hiccup]
>
> 5. If you want a Rails-like routing syntax (like "/products/:id"),
> I've written a small library called Clout
> [http://github.com/weavejester/clout]. It compiles the route syntax
> down to regular expressions, so it should be pretty fast.
>
> - James

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