Dave Rolsky <auta...@urth.org> writes: > On Sat, 4 Jul 2009, Paul Vixie wrote: > >> i graduated from raw mod-perl2 and 'use CGI' to mason last year, and am >> loving it so far. my gripe with the MVC approach is that it requires >> more discipline than i have and more foreknowledge than i ever have >> about exactly what i'm building and when i'll be done. > > I don't really understand this sentiment. MVC code is still code, and code > is quite malleable. > > The point of MVC is not to impose some big design up front methodology, it > simply lets you organize your code in a cleaner way as you go.
i should qualify what i said to cover "little design up front" and not just what you said ("big design up front"). in MVC when you open an editor onto an empty/new source file you have to know whether this bit of source will access data or display data. i often do not have that information at that point in time -- i'm thinking in terms of URI's and i sometimes change what i'm going to display based on the results of trying to update information. in other words there's a hairball where my brain is supposed to be, and i'm just not good enough at web programming to benefit from a cleaner approach. not yet, that is. i can already tell that MVC is my future, and i'm fantastically happy that there is an MVC framework that doesn't make me learn ruby or python or PHP. i promise to come along and join the 21st century as soon as i'm able. i'm already offering strong support to the programmers around me for modernizing their approaches, but i sometimes have to tell them, "do as i say, not as i do." -- Paul Vixie KI6YSY ------------------------------------------------------------------------------ _______________________________________________ Mason-users mailing list Mason-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mason-users