[eluser]moopa[/eluser]
[quote author="Colin Williams" date="1259636067"]The variable $user in the view is provided via the controller and is fetched from the user model. Your process for getting the data and how it is structured probably differs, but you should be able to extrapolate from the basic example using your own APIs[/quote]
Hello again.
Your example is quite similar to mine. I think my question probably needs refactoring
Of recent years, I have been using .net and I am used to using the IsPostback method of the page class. e.g. if(!Page.IsPostback) { // Bind data }
I may misunderstand you, but on every postback via your proposed method, will I not be requesting user data from the model? I guess my question should be, is there an elegant way to handle page state or should I be posting a hidden field to determine postback? (Sorry. It has been a while since I used php).
Thanks