Fundamental And Applied Electrochemistry For Photonic Applications