spring-webscripts-addon-clojure

Support Clojure controllers for Spring Surf applications

License

License

Categories

Categories

Clojure Languages
GroupId

GroupId

tk.skuro.spring.surf.clojure
ArtifactId

ArtifactId

spring-webscripts-addon-clojure
Last Version

Last Version

1.0-alpha1
Release Date

Release Date

Type

Type

jar
Description

Description

spring-webscripts-addon-clojure
Support Clojure controllers for Spring Surf applications
Project URL

Project URL

https://github.com/skuro/spring-webscripts-addon-clojure/
Source Code Management

Source Code Management

https://github.com/skuro/spring-webscripts-addon-clojure

Download spring-webscripts-addon-clojure

How to add to project

<!-- https://jarcasting.com/artifacts/tk.skuro.spring.surf.clojure/spring-webscripts-addon-clojure/ -->
<dependency>
    <groupId>tk.skuro.spring.surf.clojure</groupId>
    <artifactId>spring-webscripts-addon-clojure</artifactId>
    <version>1.0-alpha1</version>
</dependency>
// https://jarcasting.com/artifacts/tk.skuro.spring.surf.clojure/spring-webscripts-addon-clojure/
implementation 'tk.skuro.spring.surf.clojure:spring-webscripts-addon-clojure:1.0-alpha1'
// https://jarcasting.com/artifacts/tk.skuro.spring.surf.clojure/spring-webscripts-addon-clojure/
implementation ("tk.skuro.spring.surf.clojure:spring-webscripts-addon-clojure:1.0-alpha1")
'tk.skuro.spring.surf.clojure:spring-webscripts-addon-clojure:jar:1.0-alpha1'
<dependency org="tk.skuro.spring.surf.clojure" name="spring-webscripts-addon-clojure" rev="1.0-alpha1">
  <artifact name="spring-webscripts-addon-clojure" type="jar" />
</dependency>
@Grapes(
@Grab(group='tk.skuro.spring.surf.clojure', module='spring-webscripts-addon-clojure', version='1.0-alpha1')
)
libraryDependencies += "tk.skuro.spring.surf.clojure" % "spring-webscripts-addon-clojure" % "1.0-alpha1"
[tk.skuro.spring.surf.clojure/spring-webscripts-addon-clojure "1.0-alpha1"]

Dependencies

compile (2)

Group / Artifact Type Version
org.clojure : clojure jar 1.3.0
swank-clojure » swank-clojure jar 1.3.3

provided (3)

Group / Artifact Type Version
javax.servlet : servlet-api jar 2.5
org.springframework.extensions.surf » spring-surf jar 1.0.0
org.springframework.extensions.surf » spring-webscripts jar 1.0.0

test (3)

Group / Artifact Type Version
org.springframework.extensions.surf » spring-webscripts jar 1.0.0
junit : junit jar 4.8.2
org.mockito : mockito-all jar 1.8.5

Project Modules

There are no modules declared in this project.

Clojure script processor for Spring Surf

Spring Surf is a view composition framework for Spring MVC that plugs into your existing Spring applications. It provides a scriptable and content-centric approach to building web applications.

This extension provides a Clojure script processor that makes it possible to implement Clojure controllers for your Spring Surf web scripts.

================================================

Usage

In order to bootstrap the Clojure script processor you just:

<import resource="classpath:org/springframework/extensions/clj/webscripts/clojure-webscripts-context.xml" />`

in your application context.

Your clojure web scripts must return an instance of a concrete WebScript implementation. Its run method will be executed by the processor and the result passed to the view processor. Look at the test webscripts if your're looking for an example or a starting point.

Project info

Build Status

Versions

Version
1.0-alpha1