hoplon / demos

Example ClojureScript applications using hoplon
81 stars 27 forks source link

added validated form example #4

Closed wilkerlucio closed 10 years ago

wilkerlucio commented 10 years ago

Hi, I was playing with forms on Hoplon and I created this example in my learning process, so I'm sharing it here were it may be useful for others.

This example does form validations using Twitter Bootstrap designs.

I'm still pretty new to Clojure/Hoplon, so, I would love to hear any tips on how to improve this code :)

micha commented 10 years ago

Dude that's awesome! It looks like you have Hoplon pretty much figured out. I can't think of any way to improve your code, really. The best thing about it in my view is that you did a great job of separating the state stuff from the DOM stuff: you could provide those cells and functions in a Jar in Maven, for example, and a designer could just go crazy with the UI without needing to delve into any serious coding.

wilkerlucio commented 10 years ago

Thank you for Hoplon, it's awesome, I'm glad you liked the example :)