Beatrix app, blade renderer, DbResultIterator, some useful functions.