News for hackers. Stuff that matters.
Re:Smalltalk MVC Translated to JavaScript by DonHopkins on Monday January 05, 2015 @05:12PM (#8841569)
In another post, the author wrote more about his opinions of MVC: Introducing Maria: The Real MVC http://peter.michaux.ca/articles/introducing-maria-the-real-...

>Why no one else chose to write an true MVC framework, I cannot figure.

Many people have chosen to write true MVC frameworks, so go figure again.

>There is no doubt that the early Smalltalk MVC architecture inspired today’s MV* frameworks for JavaScript.

Of course, so why did you just figure otherwise?

>My take on it was straight forward.

And wrong.

>The MVC architecture has withstood a 30 year test.

And failed.

>It has passed that brutal test.

How do you reconcile that with your claim that "nobody chose to write an true MVC framework"? If it passed, then why isn't everyone using it? If people are only using "impure" MVC frameworks, then why did all those people choose not to implement "pure" MVC frameworks?

>It is still used for application programming.

So is goto and waterfall design methodology. That's not a good argument.

>It is very useful for browser programming.

As Alan Kay says about MVC programming, "Things seem to hang on in computing just because they work a little bit."

>Why not take this time-tested architecture and make a JavaScript framework true to the MVC that is implemented in Squeak Smalltalk and written about in Design Patterns? My experience with Maria has shown it was a good choice.

No reason why not to try again. Maybe you will be the first person in 40 years to get it right by being sufficiently "pure"! But on the other hand, maybe this is a textbook example of "cargo cult programming".

"Pure Smalltalk MVC" in the browser is interesting in the same way that running UCSD Pascal in an Apple ][ emulator in the browser is interesting.

There are no comments on this comment yet.