examples are given but how can we apply them as per our requirement
Tutorials to get you started here. Tailor these to what you want.