Yes, but how to implement this?

Any example just for a good start?