According to good programming practices, at the beginning of the program runtime, which of the Controller, Model and View components should be created first and which of them should create the other two?
I mean, should the main function first create the controller, then the controller should create both the model and the view and make itself known to them somehow?
Or should I rather begin with creating the view, which, before displaying itself, would initialise the controller, which would create the model?
Or maybe the model should come first? Or they all should be created in the main function in parallel? What's the right way of implementing MVC?
edit: I'm interested in a general answer, though currently I'm working with Java Swing and Windows Phone 7.