For complex applications, calling for fully custom designed solutions with advanced "code level" programming requirements, Block goes even further, offering advanced scripting capabilities.
Start with the custom scripting overview.
Introduction to User Script development