Tutorials

These tutorials will get you up and running with Granitic and give you an introduction to Granitic's core features. They work best if you follow them in order, but if you'd like to skip ahead, the before you start guide explains how do that.

Before you start

The before you start guide explains how to get your development environment ready for working through the rest of the tutorials.

Fundamentals

The fundamentals tutorial shows you how to build a simple web-service in Grantic and Go while explaining some of Granitic's fundamental principles.

Configuration

Granitic is a configuration-driven framework. The configuration tutorial goes into more detail about how configuration works.

Logging

The logging tutorial shows you how to manage your application's logging output and gives an example of how Granitic applications can have their behaviour changed at runtime.

Web service data capture

The data capture tutorial shows you how to accept data from a web service call and have Granitic automatically bind it to your application's data structures.

Validation

The validation tutorial shows you how to use Granitic's rule-based valdiation to automatically validate data submitted to your web service

Reading from a database

The Reading data from a SQL database tutorial shows you how to use Granitic to query a relational database.

Writing to a database

The Inserting data into a SQL database tutorial shows you how to use Granitic to write data to a relational database.

Advanced validation

The advanced validation tutorial shows you how to use Granitic to validate incoming data using a SQL database.