Added source for binding examples

Added source for the binding examples in the framework docs.

These have moved in another PR to the framework folder, so another update will be required.