More involved sample app from ralstutorial.org