|
Hi All,
I know of the no programming questions in the lounge, but what is the difference between MFC & MVC?
I am thinking I need to update my skills as they only apply to Win forms, what and how to update them is the question I would like answered... SORRY!
|
|
|
|
|
Wow ... long way to go!
MFC = Microsoft Foundation Classes, an API that made Windows Programming easier than plain Win32 code when I was little and helped me earn my authority rep points here. That was a long time ago, not sure if MFC still exists.
MVC = Model View Controller. That is one of many way to organize your SW architecture, but a good one.
|
|
|
|
|
Oookay! so does that mean what I know about Windows programming is still of use? Can you recomend article on MVC, I understood it was a completely different way to program....
|
|
|
|
|
You misread my post : There is absolutely no relations between MVC and MFC, but for the fact that it relies to programming.
|
|
|
|
|
Oh, sorry I though that MVC had replaced Win Forms, sorry looks like I will be googling!
|
|
|
|
|
Not even close. MVC is a buzzword compliant architecture for web development. WPF/Metro/Win8/Win10/WindowsStore/Modern/WteTheyCallItTomorrow style apps are the intended WinForm replacement and use something called the MVVM (model, view, view model) architecture.
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
--Zachris Topelius
Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies.
-- Sarah Hoyt
|
|
|
|
|
It seems as though I might not be far off the mark already!
|
|
|
|
|
Rage wrote: There is absolutely no relations between MVC and MFC Wat M and C doh!
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
Rage wrote: MFC = Microsoft Foundation Classes, an API that made Windows Programming easier than plain Win32 Er no. MFC is a set of C++ classes (aka bloatware) wrapped around the Win32 APIs. And it certainly did not make Windows programming easier, quite the reverse in fact.
|
|
|
|
|
Richard MacCutchan wrote: quite the reverse in fact
I liked it, and found it far more easy than having to deal with all the messaging thing.
Richard MacCutchan wrote: MFC is a set of C++ classes (aka bloatware) wrapped around the Win32 API
An ... API then.
|
|
|
|
|
They have nothing in common except they are programming related acronyms.
|
|
|
|
|
|
Wow, great minds come together (see my other post).
|
|
|
|
|
About 16 letters of the alphabet.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
How Win10 going, I upgraded from 8 a few things (SVN for a start) went side ways but nothing like the problems you seem to having...
|
|
|
|
|
I think it's because I upgraded from 7 (like most people are probably going to)
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
You better MFC the SQL for the ADO because the .NET and the MVC are WPF.
Of course you can also JVM the WCF for the AOP if OOP isn't what you JEE...
Hope it helped, good luck!
|
|
|
|
|
Ahh I was missing TLA's!
|
|
|
|
|
No, there were plenty Three Letter Acronyms in there.
I think what you're missing is the Two Letter Acronyms!
|
|
|
|
|
|
MFC is dead, long live MVC
|
|
|
|
|
MFC is dead, I mean when I last saw him he looked peaky, but...
|
|
|
|
|
It's not dead, it's just resting.
It's still provided with VS2013 and IIRC also with VS2015. I don't know how much new development is being done with it...
If you have an important point to make, don't try to be subtle or clever. Use a pile driver. Hit the point once. Then come back and hit it again. Then hit it a third time - a tremendous whack.
--Winston Churchill
|
|
|
|
|
In web-land (and people who like slow quirky windows applications) MFC was replaced by WPF.
Many people didn't like WPF because basically XAML didn't work so well. So instead of fixing it, they made us all use MVC to separate our code and presentation and, when we had difficulty with that then MVVM came along.....
... (600 lines later) So basically as an industry we have no idea what we are doing.
|
|
|
|
|
Why the joke icon ?
|
|
|
|