--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clo...@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+u...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
Very nice. I really love the docs. Covers how to use almost everything with plenty of example code and short descriptions.
I like variadic args, type hints.
Doesn't cover how to test a handler (from code) and see response.
Maybe move query-string request docs up to where query-string params introduced.
I like integer and vector returns.
I'd like cookies-set to take :expires :never so user doesn't have to write a far future date out in that special format.
Wondering about lack of compojure style request destructuring in route. Does (request-get) return the request that you then destructure in a let in your action?
One thing : I'm new to clojure and gathering information about the whole ecosystem, including web frameworks, but find it hard to figure what to choose.
It would help to have clues of funkyweb's "positioning" regarding other frameworks such as compojure, compojure-rest, fleet, or even ring. Are they supposed to be used together and how, if not is funkyweb just a matter of taste or does it really provide the-tomorrow-approach-you-don't-want-to-miss, is it a hobby/learning/personnal/short-lived project or do you intend to make it stay and shine for long ?
And also, I didn't get what was the scope of Flash set.get ? Is this a per thread/request cache ?
--
Cédric
The Clojure web ecosystem currently looks like this:
At the bottom, you have Ring. Ring provides a standard interface to
talk to web servers, and a set of libraries for handling things like
sessions and file uploads.
On top of Ring sit web frameworks like Compojure, Moustache, Conjure
or funkyweb. These provide a nice high-level interface that is suited
for defining the routes and controller logic of a web application.
Once you've written your controllers, you need a way of creating some
HTML to display. Hiccup, Fleet and Enlive are examples of libraries
designed to dynamically generate HTML pages.
Finally, there are libraries that don't fit into any of the above
categories, such as Sandbar or Compojure-Rest.
- James
Looks nice indeed ! Very REST oriented, isn't it ?
One thing : I'm new to clojure and gathering information about the whole ecosystem, including web frameworks, but find it hard to figure what to choose. It would help to have clues of funkyweb's "positioning" regarding other frameworks such as compojure, compojure-rest, fleet, or even ring. Are they supposed to be used together and how, if not is funkyweb just a matter of taste or does
it really provide the-tomorrow-approach-you-don't-want-to-miss, is it a hobby/learning/personnal/short-lived project or do you intend to make it stay and shine for long ?
And also, I didn't get what was the scope of Flash set.get ? Is this a per thread/request cache ?
--
Cédric
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clo...@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+u...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
> As for Flash, I've never met such thing in my everyday java world, but it's
> a nice idea.
The flash scope is quite popular in web frameworks like Seam Framework
or Grails (which I believe inherited it from Spring MVC). It then
popped up in other web frameworks in Java EE land.
Jacek
--
Jacek Laskowski
Notatnik Projektanta Java EE - http://jaceklaskowski.pl
It's pretty standard in web frameworks. I see it in nearly every MVC
framework in CFML and Grails / Rails do it too - as well as several
Java web frameworks.
--
Sean A Corfield -- (904) 302-SEAN
Railo Technologies, Inc. -- http://getrailo.com/
An Architect's View -- http://corfield.org/
"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood