Adam Warski

30 Jan 2015

Supler 0.2.0: docs and features added, bugs removed

scala
web

Supler is a library which makes writing complex forms easier. It has a server-side (Scala) and a client-side (JavaScript) component. In December we announced the 0.1.0 release, so it’s about time for an update!

Screen Shot 2015-01-30 at 13.24.39

The biggest improvement for Supler uses will probably be the brand new documentation. We now have a “your first Supler form” guide, which walks you step-by-step showing how to create a simple form. Plus, all of the features are described in detail in further sections. Let us know what you think about the docs – is there anything missing? We have created a discussion group to make leaving feedback easier. All voices count!

Other improvements include ajax queueing support: if the user filling in the form is very quick and presses a lot of buttons, it shouldn’t cause the form to get into a weird inconsistent state. Actions can now return custom JSON, which you can use e.g. for navigation or giving feedback to users.

There are some internal improvements as well. Maybe we shouldn’t admit it, but before we didn’t have any frontend tests, and only some backend tests. Now the situation is much improved, with a Travis build, an increasing number of frontend tests written using PhantomJS, MochaJS and ChaiJS, plus new backend tests. We can now sleep peacefully knowing that all the tests are green.

If you’d like to find out more, the code is on GitHub, there’s also a live demo. If you think the project is interesting, please star it on GitHub and let us know your opinion/thoughts/questions on usage/development ideas on the discussion group!

comments powered by Disqus

Any questions?

Can’t find the answer you’re looking for?