Where should we write a escript and how can we run browser script before we compile it?

After writing escript how to run it through browser script and server script explain both in detail

Please say whether there are any Siebel CRM books to learn configuration, escript eim, workflows

What are BC user properties? Where they are used? Kindly explain with atleast 3 examples