Perspective large and complex SVG animation tips please

So @victordcq has written a module to handle click events for SVG.

I think the first idea @nader.chinichian had was to use scripting over bindings. If you use bindings and update the SVG, then you will most likely wipe out and break the bindings. Scripting wouldn’t have this limitation, plus using scripting potentially you could have all scripts in one location, depends on how you have things arranged and your needs.

I am however a little confused on what he meant by creating own protocol and using rules in the drawing. Maybe @nader.chinichian you could clarify and perhaps even give an example?