ga-wdi-exercises / tutorials_for_past_you

[meta]
0 stars 0 forks source link

MVC Explanation #20

Closed starrchen closed 8 years ago

starrchen commented 8 years ago

I really loved @adambray's corporate analogy for MVC, as I don't think how the system worked really clicked for me until he explained it this way to me, so I thought I'd try my hand at writing it out and doing a little walkthrough: https://gist.github.com/starrchen/a3afa1f89cde1b807480

(It is also available on Medium.)

Unfortunately, I went way over my timebox -- as per usual -- and wasn't able to design starter code for an app that a reader could clone down and create to learn MVC. :disappointed:

I would really love feedback just as far as if my explanations and analogy interpretation are right? (Seeing as how that's kind of the whole point of the post... it'd be nice to know that I don't have MVC totally wrong... :cold_sweat:)

I also really got pressed for time this break and was not able to get JekyllRB running on my personal domain, but ideally, this post would end up there eventually. (Have been struggling to get that personal domain up and running for about 2 years now but we'll get there.)

ALSO also, really sorry about how crude my altered MVC flowchart is. I had no idea what Mac users usually use for image manipulation, so I cobbled this together on PicMonkey and it was torturous.

(P.S. @adambray - I wasn't sure how you might best like to be attributed on here? I included your GA instructor profile for now, but please let me know if you'd prefer something different. :smile: )

amaseda commented 8 years ago

That was so fun to read. You got the MVC process down. Included some suggestions below but keep this up, and let me know when you make another post - would be happy to read.

:+1: :+1: :+1: