Front Controller vs. Façade pattern

前端 未结 2 1877
情深已故
情深已故 2021-02-01 09:06

Okay, I have done a bit of searching online and found this thread, but it still does not quite clear it up for me.

What exactly is the difference between a Front Control

2条回答
  •  南笙
    南笙 (楼主)
    2021-02-01 09:25

    The Front Controller pattern is an architectural pattern (it imposes an architectural structure upon your application).

    The Façade pattern, in contrast, is a design pattern (it is used to structure a specific piece of functionality your application [a module], and does not force a structure upon your whole app).

提交回复
热议问题