Latest series of 8051 controllers have ISP Feature, which can be directly programmed using PC using RS232/Parallel communication. you just need a Flash Magic software in your PC which is freely available.
Take care while designing circuit, suggest you to refer projects from Engineers Garage Website, it will help you much.