Hi all,

I just published the 13th tutorial on the modern-cljs series. The title is 
Don't Repeat Yourself when crossing the border.

https://github.com/magomimmo/modern-cljs/blob/master/doc/tutorial-13.md

The DRY principle has been applied in the form validation context by using the 
Chas Emerick fork of the valip validator lib and the :crossovers option of the 
great lein-cljsbuild plugin (I will never thanks enough Evan Mezeske). Now you 
have a shared CLJS/CLJ point where the data validation happens. 

The only reason I started this work from valip, is because Chas already made 
valip portable between CLJS and CLJ and because valip, even its usage is very 
simple, is powerful enough for what I had in my mind.

Hope you like it.

My best

Mimmo

p.s. I add clojurescript mlist as recipient. This is one of the case in which I 
crossed the border between CLJS and CLJ.




-- 
-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to