Features for Conjure 0.6 release

0 views
Skip to first unread message

Matt

unread,
Mar 9, 2010, 9:57:03 AM3/9/10
to Conjure
I'm starting to work on the next release of Conjure (0.6). Recently,
we've started using Conjure on my project at work, and I've found
features missing which would greatly help our development. My top
priority for the next release are those features.

Here is a list of the features I plan to work on for the next release:

1. Plugins
2. Controller Interceptors
3. Defining Actions (instead of functions as actions) which will be
necessary for controller interceptors.
4. Reload of all controllers, helpers, models, and views when in
development mode. (use ring.middleware.reload)
5. Switch to Log4j
6. Update to the latest version of the included libraries.
7. Fix select boxes. Currently, option order is not preserved.
8. Fix checkboxes. Currently, html-options are added to both the
checkbox and the hidden field.

Not actually Conjure code, but I would like to add the following to
other libraries:

1. Have clj-html automatically escape all strings. Add a special raw
tag if you don't want it escaped.
2. Add a function to clj-record to run call backs on a seq of records
passed to it. This will allow the use of clojureQL without much change
to clj-record.
3. Add a function to run clj-record calls in a transaction. Currently
the transaction is open and closed within each call to a clj-record
function.

If you have any other suggestions, post them as a reply. I would like
to keep the feature list low for the next release so I can get it out
faster this time. If you want to be sure something gets in, you can
always do it yourself.

-Matt Courtney

Matt

unread,
Mar 19, 2010, 10:31:47 AM3/19/10
to Conjure
Defining actions, reloading all controllers, helpers, models and
views, and the switch to Log4j are all done and checked into the
master.

-Matt Courtney

Cesar Lesc

unread,
Mar 30, 2010, 1:08:57 PM3/30/10
to Conjure
Hi, i'm very newbie to conjure, joined today :) , but i need to ask
why the switch to Log4J and not to SLF4J http://www.slf4j.org/ , many
java projects switched from log4j and common-logging to SLF4J because
with the same API you can use the implementation that you like most
(eg. java.util.logging, log4j and logback).

Cheers.

César.

Matthew Courtney

unread,
Mar 30, 2010, 9:27:15 PM3/30/10
to clojure...@googlegroups.com
Actually, Conjure uses clojure.contrib.logging which also allows you
to use log4j, common-logging, or the built in java logging. You can
still use what ever you want, I just went in and defaulted Conjure to
use log4j since the output from the built in java logging really
annoyed me.

-Matt Courtney

> To unsubscribe from this group, send email to clojure-conjure+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
>

Matt

unread,
Apr 20, 2010, 8:20:02 PM4/20/10
to Conjure
I've added bindings and controller interceptors. I haven't updated the
docs yet, but you can probably figure it out from the code. If you
find any bugs let me know (I know of a couple minor ones).

-Matt Courtney


--
Subscription settings: http://groups.google.com/group/clojure-conjure/subscribe?hl=en

Matt

unread,
May 12, 2010, 9:46:15 AM5/12/10
to Conjure
I've just finished plugins. You can now create a plugin using
generate. Then create an install and uninstall function for it. An
initialize function will be called each time the server is started,
and you can add plugin tests and run them using the new plugin script.

Conjure 0.6 is basically done. The only thing missing is updating to
the latest version of libraries and possibly pushing some changes to
clj-record.

-Matt Courtney

Matt

unread,
May 27, 2010, 2:00:55 PM5/27/10
to Conjure
I've committed my changes to clj-record and created a test plugin at:
http://github.com/macourtney/simple_authentication

Everything seems to check out, so I'm thinking of posting a release
candidate soon.

-Matt Courtney

Reply all
Reply to author
Forward
0 new messages