avatar
j*b
1
【 以下文字转载自 Prose 讨论区 】
发信人: jguojob (劳柯), 信区: Prose
标 题: 当爱成为往事
发信站: BBS 未名空间站 (Thu Sep 25 01:49:32 2008)
当爱成为往事
劳柯[平静幸福]

下了班你如果不想回家,你的婚姻可能亮起了红灯。
正值暑假,八点钟刚过,天虽然还没有完全黑下来,停车场里已经空空荡荡,没有了人。太阳已经转到地球的另一面去了,可是天气依然热的厉害。拉斯维加斯的夏天到底有多热呢?你如果中午愿意在你的汽车前盖上做饭,只需要把鸡蛋磕在上面,几秒钟以后就会成为一美味的煎蛋。
一张幼稚的脸探了一下:“曹老师,再见!”曹枫朝门口和他打招呼的女生点了一下头。这是去年来的女生,大学刚刚毕业,每一次看到她,曹枫总想到自己大学刚刚毕业时硬装成熟的滑稽模样,想自己在她这个年龄在做什么。
曹枫在一个大学里教书,暑假里并不忙。他正在浏览一个八卦网站,说一个女星把她和一个导演的潜规则的视频放到了网上,那个导演是个典型的秃顶。导演辩解说他的某种功能早已丧失,完全是那个女星勾引他。他还拿出事实说:大家都看到了,我是秃顶,肾虚。
看到导演的辩解
avatar
k*r
2
这几天借着ZK的人气看了一眼ZK,又看了一眼原来看过的Click Framework。感觉还是
更喜欢Click Framework的approach。
两者相同点是都是event driven,用java写交互的部分。都有很多components/
controls,用户不用写很多javascript。
不同点之一是Click用一个html file做template,感觉比ZK的zul XML file自然的多,
也容易加入html。ZK zul好像不能加入自己的HTML,感觉除了写RIA,几乎不能做别的
,也许是我还没发现怎么加。
两个都没有直接用过,但是感觉ZK的component做得漂亮一些,还可以支持ExtJS。
Click则不行。
用过的高手有什么见解欢迎谈谈!
avatar
F*n
3
ZK is more than that. ZK = Java UI Framework + XML UI Declaration (including
XHTML) + Server Side Script Engine. You can use any script language
including Java itself. If you don't like the default look and feel you can
stylize it yourself using CSS, although most developers, like me, are not
good at that part.

【在 k***r 的大作中提到】
: 这几天借着ZK的人气看了一眼ZK,又看了一眼原来看过的Click Framework。感觉还是
: 更喜欢Click Framework的approach。
: 两者相同点是都是event driven,用java写交互的部分。都有很多components/
: controls,用户不用写很多javascript。
: 不同点之一是Click用一个html file做template,感觉比ZK的zul XML file自然的多,
: 也容易加入html。ZK zul好像不能加入自己的HTML,感觉除了写RIA,几乎不能做别的
: ,也许是我还没发现怎么加。
: 两个都没有直接用过,但是感觉ZK的component做得漂亮一些,还可以支持ExtJS。
: Click则不行。
: 用过的高手有什么见解欢迎谈谈!

avatar
k*r
4
Correct me if I'm wrong - my understanding of ZK is that it can only be used
to develop RIA, but not web sites. The XML doesn't seem to let you put HTML
in it. So, if I'm not mistaken, the verdict is, ZK is not very useful for
web development. But if your specific need is to develop a RIA, it might be
a good choice. (And do correct me if I'm wrong. I'd be happy to know that ZK
does more than that.)

including

【在 F****n 的大作中提到】
: ZK is more than that. ZK = Java UI Framework + XML UI Declaration (including
: XHTML) + Server Side Script Engine. You can use any script language
: including Java itself. If you don't like the default look and feel you can
: stylize it yourself using CSS, although most developers, like me, are not
: good at that part.

avatar
F*n
5
Everything is essentially HTML and/or javascript on the client site. ZK just
provides another way to code those messy HTML / javascript.
ZK vs HTML = C++, Java vs Assembly Language. AJAX is just a technology that
smooth up ZK. Off course you can use ZK with HTML. And RIA is just one kind
of Website (it's another useless buzzword to me). Your thinking is like
saying Michael Jordan cannot play high school basketball.

used
HTML
be
ZK

【在 k***r 的大作中提到】
: Correct me if I'm wrong - my understanding of ZK is that it can only be used
: to develop RIA, but not web sites. The XML doesn't seem to let you put HTML
: in it. So, if I'm not mistaken, the verdict is, ZK is not very useful for
: web development. But if your specific need is to develop a RIA, it might be
: a good choice. (And do correct me if I'm wrong. I'd be happy to know that ZK
: does more than that.)
:
: including

avatar
k*r
7
Could you be a little specific? I'd like to find out how and where to put my
own HTML. Typically you load a .zul for a zk application but the .zul file
is
an xml file that describes the layout, and zk generates the html content
based
on that. If I want to have my own html elements in the page, where should I
put
it?

just
that
kind

【在 F****n 的大作中提到】
: Everything is essentially HTML and/or javascript on the client site. ZK just
: provides another way to code those messy HTML / javascript.
: ZK vs HTML = C++, Java vs Assembly Language. AJAX is just a technology that
: smooth up ZK. Off course you can use ZK with HTML. And RIA is just one kind
: of Website (it's another useless buzzword to me). Your thinking is like
: saying Michael Jordan cannot play high school basketball.
:
: used
: HTML
: be

avatar
F*n
8
There is a developer's guide, I believe.

my
I

【在 k***r 的大作中提到】
: Could you be a little specific? I'd like to find out how and where to put my
: own HTML. Typically you load a .zul for a zk application but the .zul file
: is
: an xml file that describes the layout, and zk generates the html content
: based
: on that. If I want to have my own html elements in the page, where should I
: put
: it?
:
: just

avatar
k*r
9
I took a look at the html section of the dev guide. It's very awkward to
integrate ZK with HTML, unfortunately. And again, unfortunately, Click
Framework's GUI component are not very good looking :(

【在 F****n 的大作中提到】
: There is a developer's guide, I believe.
:
: my
: I

avatar
b*y
10
to me, click seems better.
avatar
F*n
11
What Click is doing is essentially a subset of ZK.

【在 b******y 的大作中提到】
: to me, click seems better.
avatar
k*r
12
true in some aspects (component design). untrue in the others.
e.g. click supports a few template engines, allows easy integration with
html,
has better event handler design, ...

【在 F****n 的大作中提到】
: What Click is doing is essentially a subset of ZK.
avatar
F*n
13
Well, whatever you like. But I can tell you every area you said, ZK is much
better than Click, unless you regard them as as HTML generation tools, and
really want to work with the generated HTML code (which is not what ZK meant
to be).
I can understand that people may get nervous when they cannot "see" or
understand what a tool like ZK generate. It's a bit like the first
generation high-level programming languages made punch-card programers
nervous because they cannot see any punch-cards:)

【在 k***r 的大作中提到】
: true in some aspects (component design). untrue in the others.
: e.g. click supports a few template engines, allows easy integration with
: html,
: has better event handler design, ...

avatar
b*o
14
There are several ways in inscribing html code in ZK. I've been using ZK in
developing web applications(purcument,sale,inventory,production management)
since its begining. The following is an example in writing html directly:


Put what ever html code here, e.g.



fdkgsdfkgfdsgj
]]>


You can even mix your html,jsp codes with ZK XML codes, or use JAVA to
dynamically generate both. Read dev guide for m
avatar
k*r
15
Yes, I saw that in the dev guide. I just thought it was not very intuitive
to express HTML in XML. But I'm glad it fits your needs.

in
)

【在 b*****o 的大作中提到】
: There are several ways in inscribing html code in ZK. I've been using ZK in
: developing web applications(purcument,sale,inventory,production management)
: since its begining. The following is an example in writing html directly:
:
:
: : Put what ever html code here, e.g.

:

: fdkgsdfkgfdsgj
: ]]>

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。