If you want to animate a cable which is a complex mesh object | Blender Tricks
If you want to animate a cable which is a complex mesh object - like a rope with a knot in it - and have it interact with collision objects, the Surface Deform modifier is your friend.