Hi psychic and Rosie <snip>
> You might consider looking into the benefits of MVC design, just to > see what you might be missing out on with an approach like this. I'm > a biased MVC fan, but looking into it yourself might allow you to > make an educated decision as to how MVC (and Cake) will meet your needs. I agree with psychic here. I have built a number of systems that required the user to be able to control layout and formatting. Personally I give my user TinyMCE to code "the last mile" in terms of the layout. That means allow them to do basic stuff like bold, italic, underline, lists, links, tables, images. That amount of layout control I am happy to see stored in the database and injected into the view. It's not ideal in the MVC design, but I think that it is a reasonable compromise. If you want to give content creators more control, over their page design than what I have suggested above, then I would be looking at providing multiple templates (layouts), or even building an editor that allowed users to create/edit their own layouts. Anyway, what it really comes down to (for me) is choosing how much control to give the user over page design, and then working out the best way to divide the control functionality (i.e. editing basic formatting with TinyMCE and doing global formatting (page layout) with Cake's layouts for instance). If you wanted to get really tricky, you could even go to some form of XSLT to transform basic formatting commands into HTML in the view. Regardless of the approach, you should still be able to maintain the MVC design pattern and get the most out of Cake (which is brilliant). Regards, Langdon --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to [email protected] 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 -~----------~----~----~----~------~----~------~--~---
