In this second screencast from the Driving Design series, the amazingly simple form gem is shown along with a simple DSL implementation.
Its current API uses a fluent interface through Ruby hashes that allows easy output customization. This is the current version of simple_form that allows one to configure the building process of a form:
The video shows how one could add a domain specific language on top of its API and remove some of our api code without breaking compatibility. Using the implemented DSL:
The commit can be found here and you are welcome to enhance the DSL further.
If you have any suggestions for our next screencast, let us know at @guilhermecaelum and subscribe to our channel.