On Wed, Aug 5, 2009 at 3:11 AM, Chris Blackwell<[email protected]> wrote: > Hi Rob, > I don't know whether you found this but there was a similar discussion a > while back > http://groups.google.com/group/model-glue/browse_thread/thread/22ca37547741b669 > FWIW I favour the same approach as Dennis. The simplicity of keeping all my > templates as "views", rather than a mixture of views, custom tags and > home-grown templating language, is worth the trade-off of using MG in a > slightly unorthodox way to render those templates when needed. > Chris
That sounds like a decent solution to mee too (especially since we don't do much fancy stuff in views, tho linkTo() and whatnot are getting us there), but I gotta say, that also sounds like mixing things that shouldn't be *cough*in a perfect world*cough*. For my money, "renderers" are where "it's" at. You're not copy-and-pasting various views from project to project, you can do inheritance type deals (theoretically reducing repetition, but it might depend on if you work on many projects or few projects, etc.), and you can use them in "views" (not just MG views). I mean, this is probably from futsing with eclipse, but it seems like the UI is a model itself, as confusing as that may be with terms like MVC (they're all models! ahhhhh!). Eh. I'll holler when I've got The Perfect Code to share, if ya dig, but that's sorta my line of thinking. -- No noble or right style was ever yet founded but out of a sincere heart. --Ruskin --~--~---------~--~----~------------~-------~--~----~ Model-Glue Sites: Home Page: http://www.model-glue.com Documentation: http://docs.model-glue.com Bug Tracker: http://bugs.model-glue.com Blog: http://www.model-glue.com/blog You received this message because you are subscribed to the Google Groups "model-glue" 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/model-glue?hl=en -~----------~----~----~----~------~----~------~--~---
