Browse files


  • Loading branch information...
1 parent 9102262 commit 582218452a9b66c404d0c1d7543d2eb2975c10f7 @logaan committed Sep 22, 2013
Showing with 17 additions and 6 deletions.
  1. +17 −6
@@ -120,12 +120,23 @@ you to specify human readable field names up front. Instead these concerns are
taken care of as transformations of the raw error data. This decoupling enables
localisation and contextualised field names.
-## Further reading
-You can find vlad at
-The beautiful Marginalia annotated source can be found at
+## Alternatives
+There are 7 validation libraries up on [Clojure Toolbox]
+( I believe vlad to be the simplest of the
+lot. It differs from most other's in the following ways:
+* Validations can be composed. Fail fast composition (`chain` in vlad) is
+ missing from all libraries I saw. This runs the risk of presenting your users
+ with a page full of redundant errors.
+* Validations are not tied to any particular data type. They just need to
+ implement the `vlad.validation-types/Validation` protocol. A default
+ implementation has been made for `clojure.lang.IFn`.
+* Error messages are not tied to validations. You can define your validation
+ rules once and then translate them in many different ways. Or not at all if
+ you choose.
+* Vlad is not tied to the web. It is suitable for more than just form data
+ processing. It is also not tied to any web framework.

0 comments on commit 5822184

Please sign in to comment.