Ronin is a simple web framework for the Gosu Programming Language that supports tooling and static verification, but isn't a hassle:
package controller
uses db.example.Post
uses ronin.RoninController
uses view.ViewPost
class PostController extends RoninController {
function savePost(post : Post) {
post.update()
redirect(#viewPost(post))
}
function viewPost(p: Post) {
view.ViewPost.render(Writer, p)
}
}
vark -url http://ronin-web.org/init.vark init -name my_app and follow the promptscd my_appvark serverRonin leverages Gosu feature literals to provide verifiable links within your application. If a link is bad, you'll see a compilation error.
Ronin ships with Tosa, a simple SQL-oriented O/R tool, which uses plain SQL and the Gosu Open Type system to expose the full power of your database backend.
Not using a database? No problem: it's simple to remove Tosa as a dependency and use whatever technology fits your domain.
Ronin has been designed to play well with the Gosu IntelliJ plugin, so you'll get code completion and verification in the world's best IDE.