cammsaul
Joined 14 years ago
Karma
194
Submissions
48
Member since
Oct 30
Joined 14 years ago
+1 on avoiding side effects from business logic. This applies not just to Toucan, but to database code in general. Toucan is there to give you a way to define behaviors when interacting with your application database, for example transforming certain columns when you fetch rows from a certain table from the database. It's that plus utility functions for interacting with your database. Not really an ORM.
Either way, Toucan 2 is out now: https://github.com/camsaul/toucan2 I'm still working on fully documenting it but it's already being used in the wild and Toucan 1 will probably be archived soon
Clojure, C++, Objective-C, JavaScript, Perl, Emacs Lisp, Python, Assembly