Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

什麼叫Facade pattern?

0 views
Skip to first unread message

OverLord

unread,
Jul 12, 1999, 3:00:00 AM7/12/99
to
如題,Facade pattern好像是一種跟繼承有關的設計方法,是嗎?
我看的書只有稍微提到,我卻又看不懂
請問高手....
Thanks

Yung-jui Chen

unread,
Jul 12, 1999, 3:00:00 AM7/12/99
to
OverLord (supero...@hotmail.com) 提到:
: 如題,Facade pattern好像是一種跟繼承有關的設計方法,是嗎?
: 我看的書只有稍微提到,我卻又看不懂
: 請問高手....
: Thanks

Quote from Design Patterns book:

Facade provides a unified interface to a set of interfaces
in a subsystem. Facade defines a higher-level interface that
makes the subsystem easier to use.

OverLord

unread,
Jul 12, 1999, 3:00:00 AM7/12/99
to
>: 如題,Facade pattern好像是一種跟繼承有關的設計方法,是嗎?
>: 我看的書只有稍微提到,我卻又看不懂
>: 請問高手....
>: Thanks
>
> Quote from Design Patterns book:
>
> Facade provides a unified interface to a set of interfaces
> in a subsystem. Facade defines a higher-level interface that
> makes the subsystem easier to use.
這是它的功用
但是定義?書上幾乎是一筆帶過

Cheng-jen Tang

unread,
Jul 12, 1999, 3:00:00 AM7/12/99
to
OverLord <supero...@hotmail.com> wrote in message
news:LXpi3.25$Ch4....@typhoon.nyu.edu...

嗯﹖你可能要 review 一下本書“開章明義”中的一段話
Christopher Alexander says, "Each pattern describes a
problem which occurs over and over again in our environment,
and then describes the core of the solution to that problem, in
such a way that you can use this solution a million times over,
without ever doing it the same way twice"

請注意是“the core of the soultion”而不是“the definition
of the solution”所以每個 pattern 所給你的是 Intent 而非
definite way 想找到 definition 必須先找到 a specific
problem in a specific environment(domain) 我想這不是
Design Patterns 的“Intenet”吧﹖

--
Cheng-jen Tang, once found ...
1. Knowledge = Power (Knowledge is Power.)
2. Time = Money (Time is Money.)
3. Power = Work/Time (Power is the time rate of doing work.)
He got this ... Money = Work/Knowledge


Cheng-jen Tang

unread,
Jul 12, 1999, 3:00:00 AM7/12/99
to
Cheng-jen Tang <ct...@cat.syr.edu> wrote in message
news:378a3...@news.syr.edu...

> OverLord <supero...@hotmail.com> wrote in message
> news:LXpi3.25$Ch4....@typhoon.nyu.edu...
> > >: 如題,Facade pattern好像是一種跟繼承有關的設計方法,是嗎?
> > >: 我看的書只有稍微提到,我卻又看不懂
> > >: 請問高手....
> > >: Thanks
> > >
> > > Quote from Design Patterns book:
> > >
> > > Facade provides a unified interface to a set of interfaces
> > > in a subsystem. Facade defines a higher-level interface that
> > > makes the subsystem easier to use.
> > 這是它的功用
> > 但是定義?書上幾乎是一筆帶過
>
> 嗯﹖你可能要 review 一下本書“開章明義”中的一段話
> Christopher Alexander says, "Each pattern describes a
> problem which occurs over and over again in our environment,
> and then describes the core of the solution to that problem, in
> such a way that you can use this solution a million times over,
> without ever doing it the same way twice"
>
> 請注意是“the core of the soultion”而不是“the definition
> of the solution”所以每個 pattern 所給你的是 Intent 而非
> definite way 想找到 definition 必須先找到 a specific
> problem in a specific environment(domain) 我想這不是
> Design Patterns 的“Intenet”吧﹖
^^^^^^^^^^^^^^^^^^^ Intent
0 new messages