What's the flow?

Bahadır Doğan wrote:

I'm new to web programming. I want to learn about the process while developing web applications. What must come first? design, database or model?

I think the order must be design->database->model.

What's the best approach?

Focus on the user experience: views => models => database                                      => controllers