Liking cljdoc? Tell your friends :D

Workflo Macros

Clojars Project Build Status

API docs

A collection of Clojure and ClojureScript macros for web and mobile development.

Note: These are currently under heavy development. All interfaces are work in progress and may change substantially until this notice has disappeared.

CHANGELOG

defview - Defining Om Next components in a compact way

Om Next views are a combination of an Om Next component defined with om.next/defui and a component factory created with om.next/factory. The defview macro combines these two into a single definition and reduces the boilerplate code needed to define properties, idents, React keys, queries and component functions.

Documentation for defview

defscreen - Defining the screens of an Om Next app

Documentation for defscreen

defcommand - Defining pure commands with queries and input data specs

The defcommand macro allows to define pure functions that represent named commands in a system. Commands defined with this macro include an optional query, e.g. to retrieve data from a database, and a mandatory clojure.spec spec for the command input data. The query results (if there are any) and the validated command data are the only inputs passed to the command implementation at run-time.

Documentation for defcommand

defentity - Defining entities with authentication and validation

The defentity macro allows to describe entities in the system, with a schema, validation rules and code for authorization.

Documentation for defentity

License

Workflo Macros is copyright (C) 2016-2017 Workflo. Licensed under the MIT License. For more information see the LICENSE file.

Can you improve this documentation?Edit on GitHub

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close