1

Is MFC is based on any design pattern,if so which design pattern??

Péter Török
  • 114,404
  • 31
  • 268
  • 329
Vikram
  • 11
  • 2
  • The "implement stuff using language features you only half understand, put the stuff in a big bucket and give it stir" pattern. –  Mar 18 '10 at 11:06

2 Answers2

1

It includes several, including Model-View-Controller, Chain of Responsibility and Factory Method.

Péter Török
  • 114,404
  • 31
  • 268
  • 329
  • 1
    It's a bit of a stretch to say that Document-View is the same as Model-View-Controller. The duties of Controller are intermingled into the Document and View in an ad hoc manner. – Mark Ransom Dec 24 '11 at 05:54
1

Haven't been coding MFC for quite some time, but back in the days I believe the Document-View pattern was the "default".

CodingInsomnia
  • 1,843
  • 2
  • 15
  • 19