Live results - Need tutorial

On many of the official blender scripts you can see the object modified as you change values, be it height, radius, duplicates, etc.
How do you display live variations of input values during script use?

Simply a tutorial link will be enough for me.


Thanks a lot Atom! Will use it.