Hello, Do you guys use mvc in your code?
I used it several times for big js apps, typically putting the ajax requests and data parsing/transformation in models, the events in controllers and dom manipulation in views. On my current project, I argued we do not need mvc since it was mostly a collection of widgets, each having a couple of events and dom manipulation. I was said that the application may become way more complex then, and that I should consider the extendable part of the thing while implementing it. At this point, I remembered there was such debate when backend language frameworks became popular, with some people saying mvc was a pattern and as such should only be implemented when the project requires it. Clearly (imo), webapps have greatly took advantage of systematic implementation of mvc, turning it into something that is way more than a pattern among others. In the era of minification, we can afford writing a bit more of code to have it more organized ( that's quite what moootools is about comparing to others libs, anyway ). Do you think mootools, and javascript in general, could take advantage of systematic mvc? -- Olivier El Mekki.
