Making UIs

I'm trying to decide when to use the Manifest file to create UIs or when to do it through code. Any suggestions?