Question like this should go in the hack source code section. The coders will get you started, then you'll have to be on your own reading tutorials and sources. Then understand the basics, to the intermediate, and finally the advance. You won't get much good answers here in comparison to the answers you'll get in hack source code - hence the reason why you should go to that section.
~Closed.