... at least I hope it's simple for you guys. Clearly it's not simple for me otherwise I wouldn't be asking here. I'm using 1.2.
I'm trying to get the structure of my app 'right' in terms of MVC execution flow (and CakePHP's implementation of this flow). Here's my situation: I've got a page where a drop-down menu offers a number of options relating to, say, the genre of books available in a small library. The user chooses the genre from this drop-down and is then presented with a table data relating to the individual books in that genre. All easy-peasy coding. In the past (pre-MVC) I would simply have included some logic in the page to say: if there is no genre selected, then output a message telling user to select one; if there is then output the books in a nice table. This would, as I understand it, by an incorrect in terms of MVC. So here's my quandry. Do I 'set' the entire text of the table/user message in the controller, then output it as a simple $variable in the view? The disadvantage of this view would be that I need to include presentational logic when making the table/message within the controller. I've got a feeling there's a cleaner solution! Please advise! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---