由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Java版 - view templating technology
相关主题
Any body uses wicket framework for web development?@goodbug: Wicket vs JSF
Anyone wants to talk about web frameworks?大家来说说 Web Fameworks 吧
请问哪个J2EE MVC Framework最有前途Wicket 书籍
讨论一下web framework吧问个programming style 的问题 (转载)
Expression Language 里如何调用jdk函数?who can compare different framework?
wicket in action到手了Anybody can recommend a framework article for building swin
web application一定要掌握javascript和ajax吗JSF有前途吗
A negative but well written article about WicketWhat is good Java software?
相关话题的讨论汇总
话题: view话题: templating话题: technology话题: logic话题: people
进入Java版参与讨论
1 (共1页)
g*****g
发帖数: 34805
1
The java web frameworks are more or less similar nowadays.
The biggest difference is the view templating technology IMHO.
People all agree MVC pattern should be used. However, in view,
you have presentation logic to wire view and model. How to separate
presentatino logic from view becomes a big design difference.
Generally, people agree view should be dumb so that you cannot
change model or have control logic in it. Sun recommends having
view helper. They used JSP for the implementation, present
b******y
发帖数: 1684
2
nice post about UI-resue...

【在 g*****g 的大作中提到】
: The java web frameworks are more or less similar nowadays.
: The biggest difference is the view templating technology IMHO.
: People all agree MVC pattern should be used. However, in view,
: you have presentation logic to wire view and model. How to separate
: presentatino logic from view becomes a big design difference.
: Generally, people agree view should be dumb so that you cannot
: change model or have control logic in it. Sun recommends having
: view helper. They used JSP for the implementation, present

k***r
发帖数: 4260
3
I'm still learning all this stuff. Both wicket and stripes
look interesting to me :)
I guess it comes down to how much more code you want to write
in exchange for better previewability and reusability. To
what extent they are better is still being argued between people
who choose wicket and everyone else.
Another question is, how much of JS/html can be replaced with
server side code? 10%? 50%? This has a lot to do with the
actual benefit you can get.
That aside, what components do you think shou
g*****g
发帖数: 34805
4

Previewablity is about adding mockup block, if you don't want to
bother, you don't have to. Regardless, you can use browser to
have a preview. Reusablity makes you write less, not more code.
You can always start quick and dirty, and refactor common code
when you are seeing duplicate piling up. After all, we are talking
plain java here.
For common ones, you can always find it in the package. For paticular
widget, you probably want to find an pure client ajax widget, and wrap
it. And next time yo

【在 k***r 的大作中提到】
: I'm still learning all this stuff. Both wicket and stripes
: look interesting to me :)
: I guess it comes down to how much more code you want to write
: in exchange for better previewability and reusability. To
: what extent they are better is still being argued between people
: who choose wicket and everyone else.
: Another question is, how much of JS/html can be replaced with
: server side code? 10%? 50%? This has a lot to do with the
: actual benefit you can get.
: That aside, what components do you think shou

1 (共1页)
进入Java版参与讨论
相关主题
What is good Java software?Expression Language 里如何调用jdk函数?
Java是不是主要用于开发Web的? (转载)wicket in action到手了
spring framework不open source 了?web application一定要掌握javascript和ajax吗
面试题,不知道怎么答好A negative but well written article about Wicket
Any body uses wicket framework for web development?@goodbug: Wicket vs JSF
Anyone wants to talk about web frameworks?大家来说说 Web Fameworks 吧
请问哪个J2EE MVC Framework最有前途Wicket 书籍
讨论一下web framework吧问个programming style 的问题 (转载)
相关话题的讨论汇总
话题: view话题: templating话题: technology话题: logic话题: people