How we can make different type of proximity switch/Sensors?

I want to know, how we can make Inductive, Capacitive, Magnetic, Optical & Temperature etc. types of proximity switch/Sensors. Thanks Kailas