由买买提看人间百态

topics

全部话题 - 话题: facade
1 2 3 下页 末页 (共3页)
l*****o
发帖数: 214
1
I am maintaining a legacy SDK. The SDK will behave differently for different
platform. It's using a static variable and requires the static variable to
be created before any API call like the following:
Example for static variable (OLD CODE):
SDKContext.init();
VideoManager manager = new VideoManager();
public void VideoManager#search() {
SDKContext.search();
}
Components like VideoManager are all over the place. My gut feeling tells me
I should use Facade pattern instead, but can't be sure.... 阅读全帖
s******e
发帖数: 493
2
Maybe I misunderstood you. But I do not think this is the case for the
facade. I do not think you are coding a facade even you call it so.
Maybe what you really need is the factory method or abstract factory.
Usually a static variable can be coupled with the abstract factory.
j*****g
发帖数: 552
3
2012年03月26日(一)
早上7:30起床,寄存行李,8:45出发。
坐地铁 L2 号线 Sagrada Familia 站下。
网上预约了圣家族大教堂(La Sagrada Familia)的参观门票。
我标准票18.30欧元,新同学学生票15.30欧元,两个人一共33.60欧元(包括电子导游
)。
9:00到10:00的进入窗口。
直接在取票口取票,不然好长的队啊。
在取票口又买了去耶稣受难门(Passion Facade)塔顶的电梯票,每人3欧元一共是6欧
元。
9:50到10:00的进入窗口。
圣家堂还是不错的,比较有新意。
这个东东1882年3月19日开始建造,安东尼·高迪(Antoni Gaudi)在1883年开始承担
主设计师的任务。
建到现在已经130年了,还在建。
大家希望能在2026年完工,以纪念安东尼·高迪逝世100年。
然后9:15开始参观。
耶稣受难门门口的雕塑。
这个门是另一位建筑师苏比拉克(Josep Maria Subirachs)的作品。
耶稣受难门很高的地方的雕塑,拉近了看看。
圣家堂的内部。
Google 一张顶部很全的照片,很漂亮。
拉近看看... 阅读全帖
x****d
发帖数: 1766
4

patterns,
Java EE patterns. They are not GoF. Some are not applicable after new
frameworks like spring becomes popular. But anyway, these are the EE
patterns.
View Helper
Composite View
Front Controller
Application Controller
Service to Worker
Dispatcher View
Page Controller
Intercepting filters
Context Object
Business Delegate
Service Locator
Session Facade
Application Service
Business Interface
Data Access Object
Procedure Access Object
Service Activator (aka Message Facade)
Web Service Broke... 阅读全帖
q****x
发帖数: 7404
5
来自主题: Programming版 - Proxy, Decorator, Adapter, and Bridge
这个帖子的描述还是抽象。谁能给些例子啊?
http://stackoverflow.com/questions/350404/how-do-the-proxy-deco
Proxy, Decorator, Adapter, and Bridge are all variations on "wrapping" a
class. But their uses are different.
Proxy could be used when you want to lazy-instantiate an object, or hide the
fact that you're calling a remote service, or control access to the object.
Decorator is also called "Smart Proxy." This is used when you want to add
functionality to an object, but not by extending that object's type. This
allo... 阅读全帖
z****e
发帖数: 54598
6
来自主题: Programming版 - Proxy, Decorator, Adapter, and Bridge
从最简单的facade开始说
facade就是一个统一的对外包接口
当然这个接口要有实现的部分
但是对于不同的组件而言,其它人要是想操作这些组件的话
只需要跟这一个接口打交道就行了
比如你有apple和oragne两个东西
那么你自己定义了一个fruit接口
那么这个接口提供了getApple和getOrange两个方法
那么你就不需要单独滴去跟apple还有orange相关类打交道
每次要找fruit,直接找这个接口就好了
proxy就是一个代理
举个例子,比如你想跟另外一台机器上的jvm打交道
那么每次你都需要向那台机器发送各种请求
那么一个很直接的想法就是,我在本机制造一个对象,并假设这个对象就是那台机器
然后所有跟这个机器打交道的操作,我给封装到这个对象里面去
那么这个对象就是代理,这个在rmi时候用得比较多
stub和skeleton,stub就是代理,remote接口就是一个代理
p**********d
发帖数: 7918
7
http://www.nytimes.com/2012/03/20/world/asia/bo-xilai-accused-o
其所引用的報告不知道是哪一個?“posted on a Chinese Web site and verified
independently”?“Its contents were confirmed by a researcher at a ministry
-level institute and by a Chongqing official briefed by colleagues who were
present when the report was read at a government meeting.”
March 19, 2012
Report on Ousted China Official Shows Effort at Damage Control
By MICHAEL WINES and JONATHAN ANSFIELD
BEIJING — Communist Party leaders sacked Bo Xilai, t... 阅读全帖
p**********d
发帖数: 7918
8
来自主题: ChinaNews版 - 紐時繼續爆料:薄熙來打黑黑幕
文中提到李俊冤案和薄熙來的盟友-張海洋將軍。
http://www.nytimes.com/2012/03/27/world/asia/bo-xilais-china-cr
March 26, 2012
Crime Crackdown Adds to Scandal Surrounding Former Chinese Official
By SHARON LaFRANIERE and JONATHAN ANSFIELD
BEIJING — As Bo Xilai, the dismissed Chongqing party chief, becomes
immersed in an ever-more tangled scandal, disturbing details are emerging
about one of his best-known initiatives, a crusade against organized crime
on which he built a national reputation.
Since Mr. Bo was fired last m... 阅读全帖
h***i
发帖数: 89031
9
你扯什么呢
就连facade,石头的都比塑料的金属的都贵
也是因为保暖?还重要原因,不懂你就说不懂
W*******a
发帖数: 1769
10

中国政府要傻到什么程度才会去干这种养虎为患的事情
“The Indian workers earn slightly less than the Chinese, whose speed
ultimately brings down the cost of the project, Singh said. ”
就连钱都不多挣几个
India imports 15,000 Chinese laborers to build, teach infrastructure
projects
By Rama Lakshmi
Washington Post Staff Writer
Saturday, October 23, 2010; 8:36 PM
In Chandankyari, India.
Perched precariously on scaffolding, several Chinese workers showed Indian
laborers how to weld the shell of a blast stove at a steel plant
con... 阅读全帖
T**********e
发帖数: 29576
11
The facade of an apartment building in Shanghai, one of China's fastest-
growing urban areas. The city has about 23 million people, or the equivalent
of the eight biggest cities in the United States combined. (Reuters)
y***u
发帖数: 7039
12
来自主题: Military版 - 英国贵族已经被同化了
英国贵族已经被同化了.The evidence proved that the English aristocracy had
literally sealed a "marriage with Jewry" in terms of its "blood substance."
---------------------------------------------------------------------------
England's Jewish Aristocracy (2)
January 17, 2011
by Henry Makow Ph.D.
In 1941, Friedrich Wilhelm Euler, Nazi Germany's leading expert on Jewish
genealogy, published a lengthy article entitled "The Penetration of Jewish
Blood into the English Upper Class."
Euler asked how modern Bri... 阅读全帖
h***h
发帖数: 56
13
http://www.nytimes.com/2012/03/20/world/asia/bo-xilai-accused-o
BEIJING — Communist Party leaders sacked Bo Xilai, the powerful party chief
of metropolitan Chongqing, after being told that he had schemed to remove
his police chief and impede a corruption investigation involving his family,
according to a preliminary report on Mr. Bo’s actions circulated among
government officials.
Connect With Us on Twitter
Follow @nytimesworld for international breaking news and headlines.
Twitter List: Reporte... 阅读全帖
m**p
发帖数: 2471
14
http://www.cnn.com/2012/09/11/world/asia/china-vice-president/i
Absence of Chinese vice president fuels intrigue before power transition
Beijing (CNN) -- The conspicuous absence from public view of China's
presumptive next top leader is adding new uncertainty to the succession plan
for the normally secretive Communist leadership.
For ten days, Vice President Xi Jinping has dropped off the radar of state-
run domestic news media, which usually meticulously record official
activities of senior lea... 阅读全帖
X*******G
发帖数: 14887
15
黄敬和江青的关系是入党介绍人,其它什么同居之类,也是根据不足的吧。
其它人看看这个就可以了。
http://zh.wikipedia.org/wiki/%E4%BF%9E%E6%98%8E%E9%9C%87
http://www.zgfly.net/facade/familyHistoryView.shtml?infoId=7
t****p
发帖数: 1504
16
https://groups.google.com/forum/#!forum/chineseatusa
chineseatusa
是一个Amazon的评论者建立的,已经有不少人加入并开始理清任务,收集整理证据,准
备联系媒体进行平衡报道。
Hello everybody,
We want to make the experience of our members as friendly as possible. In
this discussion thread we will provide pointers in the form of a "Q&A" page.
Please attach your questions and concerns in your reply.
1. How can I reply to a thread?
Through the web interface: https://groups.google.com/forum/#!forum/
chineseatusa
Through email: just reply the email you h... 阅读全帖
z******o
发帖数: 3073
17
来自主题: Military版 - 来看看美国的未来(套图)
看到建筑facade面上的ionic column,这个国家真是把自己当新罗马帝国的
g**1
发帖数: 10330
18
http://www.france24.com/en/20110104-france-industrial-espionage
France is top industrial espionage offender
France is top industrial espionage offender
France is worse than China or Russia when it comes to stealing industrial
secrets, the head of a German satellite company has been quoted as saying in
a WikiLeaks cable made public Tuesday.
By News Wires (text)
AFP - France is the top offender when it comes to industrial espionage, and
is even worse than China and Russia, the head of a German com... 阅读全帖
m*****t
发帖数: 239
19
来自主题: Military版 - 草稿求指点
支持一下LZ!
尝试着修改了一下文字, LZ可以参考一下:
I am writing to express my outrage at inappropriate content promoting
genocide
broadcast on ABC Network, a Disney subsidiary, during the Jimmy Kimmel
Live! show (the kids table section, October 16th, 2013).
As a person of Chinese heritage who has been in the United States for more
than nine years, ABC was the first TV network I watched after arriving
in the US. For many years, my family and I have enjoyed
watching Disney movies and visiting Disney theme parks in Orl... 阅读全帖
t*c
发帖数: 6929
20
all brick house means facade is the surface.

with
x****u
发帖数: 12955
21
Japanese are more subtle than Americans. So it's harder to find things to
dislike. Only people who can look past the facade or never really
encountered it up close able to view Japan as it is.
c*****g
发帖数: 21627
22
你别看富人区的房子几个million,都是上acre的yard大,里面全是草坪
建筑嘛,砖的facade只有表面一层,里面一样是不结实的木头,
别看上million的房子
屋顶要定期换,抽油烟机落后于国内20年,……
你的昵称“何祚庥”很好地体现了你这坑的水平

容。
c*****g
发帖数: 21627
23
你别看富人区的房子几个million,都是上acre的yard大,里面全是草坪
建筑嘛,砖的facade只有表面一层,里面一样是不结实的木头,
别看上million的房子
屋顶要定期换,抽油烟机落后于国内20年,……
你的昵称“何祚庥”很好地体现了你这坑的水平

容。
x******g
发帖数: 33885
24
By Amaranth "music fan" (Northern California) - See all my reviews
This review is from: A State of Mind (DVD)
"A State of Mind" is a fascinating documentary about life in North Korea. It
traces the lives of two young female gymnasts on their path to the Mass
Games, a "socialist realist extravaganza" in honor of Kim Il-Sung and the
recently deceased Kim Jong-Il. With Kim Jong-Il's recent passing, this
documentary is even more timely. The girls practice rigorously. They enjoy
playing games... they... 阅读全帖
c*****r
发帖数: 8227
25
来自主题: Military版 - 又一篇宣判TG统治死刑的宣言书
供大家批评
The Coming Chinese Crack-Up
The endgame of communist rule in China has begun, and Xi Jinping’s ruthless
measures are only bringing the country closer to a breaking point
When human empathy starts to win out over ossified authority, the endgame of
Chinese communism will really have begun.
http://www.wsj.com/articles/the-coming-chinese-crack-up-1425659
China-watchers have been on high alert for telltale signs of regime decay
and decline ever since the regime’s near-death experience in Tianan... 阅读全帖
z**********e
发帖数: 22064
26
http://www.wsj.com/articles/the-coming-chinese-crack-up-1425659
The Coming Chinese Crackup
By
David Shambaugh
March 6, 2015 11:26 a.m. ET
The endgame of communist rule in China has begun, and Xi Jinping's ruthless
measures are only bringing the country closer to a breaking point
Chinese President Xi Jinping, front center, and other Chinese leaders attend
the opening meeting on Thursday of the third session of the National People
's Congress at the Great Hall of the People in Beijing. Photo: Xinh... 阅读全帖
M*****G
发帖数: 3105
27
坐等洗地~
http://www.zerohedge.com/news/2015-06-23/white-house-lies-again
White House Lies (Again): Jonathan "Stupidity Of The American People" Gruber
Called "Our Hero"
Tyler Durden's picture
Submitted by Tyler Durden on 06/23/2015 12:45 -0400
Barack Obama Cronyism House Oversight Committee Insurance Companies
Obama Administration Obamacare The Economist Transparency Wall Street
Journal White House
inShare
Submitted by Mike Krieger via Liberty Blitzkrieg blog,
Jonathan Gruber, the Massachuse... 阅读全帖
r**s
发帖数: 129
28
来自主题: Military版 - 台妹「令人噁心但肉體很迷人」
Let's be fair here. I have a gorgeous, adorable Taiwanese girlfriend that I
am willing to spend the rest of my life with. Not because she is Hello Kitty
, submissive, shallow, brain dead and a good fuck. Because she calls herself
a freak (a surprisingly foxy one) , standing out from that essentially
numbed crowd that I call most of Taiwan (excluding the "hen qi guay" lot),
in ways that make most other girls look like total idiots.
就這方面而言,我想講幾句實在話:我有一個台灣女朋友,看起來漂亮又大氣。我很願
意跟她共度下半輩子。我之所以如此,不是因為她對丈夫言... 阅读全帖

发帖数: 1
29
http://www.economist.com/news/christmas-specials/21712060-border-between-two-countries-shows-how-they-have-grown-apart-politics-and-pity
Postcard from Dandong
Politics and pity on the border of China and North Korea
The border between the two countries shows how they have grown apart
“LOOK! There’s one!” shouts a member of the tour party as 40 people raise
their phones to take a picture: “Three of them, up there on the mountain!
” Commentary from another tour-boat blares out over the Yalu river:... 阅读全帖
x******g
发帖数: 33885
30
来自主题: Military版 - 知道facade怎么念吗?
??
S******8
发帖数: 24594
31
来自主题: Military版 - 知道facade怎么念吗?
发萨德
m***a
发帖数: 2262
32
来自主题: Military版 - 知道facade怎么念吗?

音同fucked
F*********u
发帖数: 12190
33
来自主题: Military版 - 知道facade怎么念吗?
façade
b********n
发帖数: 38600
34
来自主题: Military版 - “Alt-media”
It’s about time YouTube, Google, Facebook, Twitter, and Amazon are held
accountable for crawling into bed with the Government and Deep State.
As TPTB war on conservatives and the “Alt-media” heats to the boiling
point, we witness YouTube deleting the channels of conservatives and others
whose content they don’t like, Twitter deleting tweets it doesn’t like and
shadowbanning news sites, Facebook and Google adjusting their algorithms to
eliminate “fake news” and the bald wonder Bezos continuing hi... 阅读全帖
b********n
发帖数: 38600
35
I guess we can see now why the over extended empire was hesitant to go for
Iran right away. When you can hardly hold Afghanistan and you are trying to
color revolution Hong Kong and trade war a nuke power in to starvation...
might want to be able to hold the facade of invincible badass a bit longer.
c********e
发帖数: 4283
36
来自主题: Military版 - 莫雷说为自由而战支持香港
我靠,民主自由现在已经是贬义词了,楼主还不知道?
democracy is just a facade covering a bunch of nastiness and ugliness
c********e
发帖数: 4283
37
来自主题: Military版 - 世界上根本就没有什么民主国家
democracy is a beautiful facade covering a bunch of ugliness ...
b*********3
发帖数: 1709
38
在新加坡论坛(SG TALK)有位署名Sand的作者分享了三封给美国国会参议员:赫利(
Hawley), 参议员 克鲁兹(Cruz), 以及CBS 60 分钟节目专栏的电子邮件信。
原文见内:
An American living in HK submitted the below email to websites of US Senator
Hawley, Senator Cruz and 60 minutes (for their biased piece
on the HK protest movement)
https://sgtalk.org/mybb/Thread-An-American-living-in-HK-submitted-the-below-
email-to-websites-of-US-Senator-Hawley
Senator Hawley
Your willingness to sacrifice an entire city, it’s way of life, it’s
civility, the future of its youth, it’... 阅读全帖
g********d
发帖数: 4174
39
Qingdao University professor Zhang Beichuan, who is an expert on gay and
lesbian issues in China, told The Guardian he believes about 80% of gay men
and lesbians in China marry — people of the opposite sex. Often they have
unsuspecting straight spouses or they "partner" with another gay person for
a marriage of arrangement to please their parents. Xing Fei, an expert from
the Sichuan Academy of Social Sciences, goes so far as to estimate that
approximately 12 million gay men in the country are ... 阅读全帖
l****z
发帖数: 29846
40
Their husbands have run some of the most brutal regimes of the Arab world.
But who are the women who stand by the dictators?
In December 2010, the French first lady Carla Bruni sat down to lunch under
the gold chandeliers of the Elysée palace with Asma al-Assad, wife of the
Syrian leader Bashar. As they sat demurely with their husbands around a
butterfly-print tablecloth dominated by a pastel flower-arrangement, a
photographer was ushered in to grab a picture for French celebrity magazines
. Aft... 阅读全帖
l****z
发帖数: 29846
41
Look--nothin' up my sleeve, presto! In a typical exercise of Old Media "
ethics," Vogue erased from the Internet its embarrassing puff piece on the
wife of Syrian dictator Bashar al-Assad.
In 2011, to much international derision, Vogue published "The Rose of the
Desert," a puff piece on Asma al-Assad, the wife of the dictator.
Unfortunately for Vogue, almost immediately after the piece was published
that February, the whole Assad facade began to crumble in a most precipitous
way as the revolts a... 阅读全帖
M*****G
发帖数: 3105
42
坐等洗地~
http://www.zerohedge.com/news/2015-06-23/white-house-lies-again
White House Lies (Again): Jonathan "Stupidity Of The American People" Gruber
Called "Our Hero"
Tyler Durden's picture
Submitted by Tyler Durden on 06/23/2015 12:45 -0400
Barack Obama Cronyism House Oversight Committee Insurance Companies
Obama Administration Obamacare The Economist Transparency Wall Street
Journal White House
inShare
Submitted by Mike Krieger via Liberty Blitzkrieg blog,
Jonathan Gruber, the Massachuse... 阅读全帖
w*********o
发帖数: 3030
43
Yeah, wonder how they got there, definitely through hard work ... with their
body.
I thought your lot are preaching genetic purity. Guess that's a facade too.
h***1
发帖数: 2263
44
来自主题: USANews版 - sanders免费上大学真的是对的

http://www.thenewcivilrightsmovement.com/christian-polling-grou
An Evangelical Christian pollster finds that atheists commit less crimes,
divorce less, and are better educated than their fellow Christians. “It is
obvious that you do not have to believe in a higher power in order to live a
moral and successful life. Quite the opposite,” the Knoxville News‘ Al
Westerfield writes of the study, adding that “the groups with the highest
crime rate, the poorest marriages and the lowest education conti... 阅读全帖
b********n
发帖数: 38600
45
Brexit is a notable example of the accelerating cracking in the facade of
Neoliberalism. The Greek Crisis, the rise of Podemos in Spain, Rome's new
lady mayor---Trumpism and the success of Bernie Sanders in the United States
--- all point towards an overdue backlash against the morally and
intellectually bankrupt technocratic elites who run everything for the
greedy 1%. Neoliberalism is simply a long con game designed to mask the
depredations of the masters of mankind, who throughout history fol... 阅读全帖
g********2
发帖数: 6571
46
An aspect of the kudzu-like expansion of Sharia is the takeover by Muslims
of prayer rooms in international airports.
Here in Hong Kong, a prayer room, officially nondenominational, is located
in Terminal 1 of the Hong Kong airport, and another is located in Terminal 2
. Each “non-denominational” prayer room supports Mohammedism, to the
detriment of all other religions.
The Terminal 1 prayer room has an Islam-required washup area. It is a
permanent installation. There is a similar permanent inst... 阅读全帖
w**d
发帖数: 2334
47
来自主题: USANews版 - 80-20这封信啥意思?
不知道为啥,最近开始收到80-20的邮件。俺绝对是没有主动去加入的,不知道他们是
不是花了点时间在网上收集的我的工作email地址?信的内容贴在下面,不知道他们现
在想干啥?想说明他们中也有不少共和党的? 信里也没有说可以unsubcrib
e - 估计是我压根就没有subsribe?
邮件的标题是:I am not a token Republican!
An Insider's View of 80-20
Before I joined the board of 80-20, I was told that this was a group of
Democrats. And that I would
be the token Republican who will give the organization a bipartisan facade.
Given the hyper-partisan
nature of our current political climate, it is underst... 阅读全帖
x****d
发帖数: 2239
48
转一篇。
--------------------------------------------------------
Edward Klein, the former foreign editor of Newsweek and former editor of The
New York Times Magazine, has written several books about the Clintons and
Kennedys. Klein has now come out with All Out War: The Plot to Destroy Trump
.
An exposé on Hillary revealing the truth behind the facade. The fact that
Hillary has really been a lesbian is why she has let Bill free reign all
these years.
Gennifer Flowers did an interview and confirmed ... 阅读全帖
k**********i
发帖数: 8706
49
来自主题: WorldNews版 - 印尼首都两家酒店发生爆炸事件
Fatal blasts hit Jakarta hotels
At least six people have been killed in two separate explosions at luxury
hotels in the Indonesian capital Jakarta, police say.
The country's Metro TV reported that one blast hit the Ritz-Carlton and the
other, the Marriott Hotel.
Television footage showed the facade of one of the hotels had been torn off
by the blast.
The BBC's Karishma Vaswani, outside the Marriott, said ambulances are
present and security is extremely tight.
South Jakarta police Col Firman Bund
m******r
发帖数: 52
50
We just don't give a damn about 国际人士. Maybe you do, we don't. Take that!
We don't seek to deprive 外F女 of right to 外F. It's a free country.
But we do like to make fun of 外F女 who are selling out themselves and who
act like second class human beings. Believe it or not, behind all these 骂,
the truth is being spread out, which is 外F女 are not competitive against
white girls in their home turf and therefore getting losers. Tearing down 外
F女 facade only helps other people. 【 在 guangyinsj (guangyinsj) 的大
1 2 3 下页 末页 (共3页)