l*******w 发帖数: 61 | 1 因寻找最方便的Web开发技术,无意中发现Node.js。貌似现在最火的Web后台技术。
Clientside个人倾向于JQuery。Javascript基本是最方便的。但跨网与后台联系太松,
有许多的数据传输转换要写不少无聊码。若后台也是Javascript,则可少写不少码。故
对Node.js十分动心。
可是服务逻辑是Java实现的。一般而言,Jsp是后台的首选技术,十分成熟。不知各位
高手对Node.js,如何看?尤其是:
1. 从Javascript调用Java code是否方便?即:
JQuery ==》Node.js,==》Java BusinessLogic ==> Database
2. User Session 管理怕会太烦?
谢谢, |
m****r 发帖数: 6639 | 2 我最近在用vaadin. 觉得还可以用. 虽然还没有入门.
【在 l*******w 的大作中提到】 : 因寻找最方便的Web开发技术,无意中发现Node.js。貌似现在最火的Web后台技术。 : Clientside个人倾向于JQuery。Javascript基本是最方便的。但跨网与后台联系太松, : 有许多的数据传输转换要写不少无聊码。若后台也是Javascript,则可少写不少码。故 : 对Node.js十分动心。 : 可是服务逻辑是Java实现的。一般而言,Jsp是后台的首选技术,十分成熟。不知各位 : 高手对Node.js,如何看?尤其是: : 1. 从Javascript调用Java code是否方便?即: : JQuery ==》Node.js,==》Java BusinessLogic ==> Database : 2. User Session 管理怕会太烦? : 谢谢,
|
g*****g 发帖数: 34805 | 3 js is a lousy language. Google develops gwt to free you from js.
wicket, vaadin like frameworks do the java wrapping on top of
ajax compoents so you don't have to.
nodejs is just the opposite. If js is your most proficient language,
you may try. Otherwise it's not worth looking.
【在 l*******w 的大作中提到】 : 因寻找最方便的Web开发技术,无意中发现Node.js。貌似现在最火的Web后台技术。 : Clientside个人倾向于JQuery。Javascript基本是最方便的。但跨网与后台联系太松, : 有许多的数据传输转换要写不少无聊码。若后台也是Javascript,则可少写不少码。故 : 对Node.js十分动心。 : 可是服务逻辑是Java实现的。一般而言,Jsp是后台的首选技术,十分成熟。不知各位 : 高手对Node.js,如何看?尤其是: : 1. 从Javascript调用Java code是否方便?即: : JQuery ==》Node.js,==》Java BusinessLogic ==> Database : 2. User Session 管理怕会太烦? : 谢谢,
|
r*****l 发帖数: 2859 | 4 I have the same feeling.
【在 m****r 的大作中提到】 : 我最近在用vaadin. 觉得还可以用. 虽然还没有入门.
|
m****r 发帖数: 6639 | 5 you feel that vaadin is ok, or that 我还没有入门? :)
【在 r*****l 的大作中提到】 : I have the same feeling.
|
r*****s 发帖数: 985 | 6 i'm not a ui buy, but don't like the idea of GWT --
java --> javascript mapping.
staying with javascript, we use ExtJs, a decent javascript
framework.
【在 m****r 的大作中提到】 : you feel that vaadin is ok, or that 我还没有入门? :)
|
r*****l 发帖数: 2859 | 7 我也还没入门,但觉得它还可以。
【在 m****r 的大作中提到】 : you feel that vaadin is ok, or that 我还没有入门? :)
|
m****r 发帖数: 6639 | 8 你别说. 我今天刚刚发现, 我的vaadin开的窗口, 没有上下的scroll bar. 奇怪了.
当我的window太长的时候, 最下面的东西就怎么都看不到. 你说气人不气人.
【在 r*****l 的大作中提到】 : 我也还没入门,但觉得它还可以。
|
g*****g 发帖数: 34805 | 9 I dont' know much about vaadin but if you are familar with swing
programming, there's some scrollable container to do that. I guess
vaadin is similar.
.
【在 m****r 的大作中提到】 : 你别说. 我今天刚刚发现, 我的vaadin开的窗口, 没有上下的scroll bar. 奇怪了. : 当我的window太长的时候, 最下面的东西就怎么都看不到. 你说气人不气人.
|
m****r 发帖数: 6639 | 10 already tried to .setScrollable(true), made no difference. besize, i'd
assume default is true for scrollable.
will coontinue the struggle, tomorrow.
【在 g*****g 的大作中提到】 : I dont' know much about vaadin but if you are familar with swing : programming, there's some scrollable container to do that. I guess : vaadin is similar. : : .
|
|
|
m****r 发帖数: 6639 | 11 and, the best of all, now, i have IE working, with the scroll bar, and
firefox without it. wtf?
【在 m****r 的大作中提到】 : already tried to .setScrollable(true), made no difference. besize, i'd : assume default is true for scrollable. : will coontinue the struggle, tomorrow.
|
g*****g 发帖数: 34805 | 12 That's the beauty of javascript, you are starting to get it.
【在 m****r 的大作中提到】 : and, the best of all, now, i have IE working, with the scroll bar, and : firefox without it. wtf?
|
m****r 发帖数: 6639 | 13 yeah, like hell i am.
【在 g*****g 的大作中提到】 : That's the beauty of javascript, you are starting to get it.
|
p*****y 发帖数: 529 | 14 well, I'd rather say that's the beauty of vaadin, or any such framework.
vanilla js is pretty easy to understand and program but the translated one
will have these weird problems and the only way to resolve them is google
and then call your luck.
【在 g*****g 的大作中提到】 : That's the beauty of javascript, you are starting to get it.
|
r*****l 发帖数: 2859 | 15 First, it's definitely the beauty of javascript. Pure js is known to have
browser compatibility issue. Very painful to handle. So if you really do js
programming, try to stick to frameworks like Prototype, etc. They wrap
browser specific logic and save the headache for you.
Second, Vaadin is supposed to use js libraries to solve the browser
compatibility issue. Unfortunately it does not do a perfect job.
【在 p*****y 的大作中提到】 : well, I'd rather say that's the beauty of vaadin, or any such framework. : vanilla js is pretty easy to understand and program but the translated one : will have these weird problems and the only way to resolve them is google : and then call your luck.
|
m****r 发帖数: 6639 | 16 昨晚不知道干了什么, 把IE的scrollbar搞出来了. 我记得是在browser里面改zoom in
/zoom out的ratio. 然后它突然就有了.
今天不能reproduce. wth.
js
【在 r*****l 的大作中提到】 : First, it's definitely the beauty of javascript. Pure js is known to have : browser compatibility issue. Very painful to handle. So if you really do js : programming, try to stick to frameworks like Prototype, etc. They wrap : browser specific logic and save the headache for you. : Second, Vaadin is supposed to use js libraries to solve the browser : compatibility issue. Unfortunately it does not do a perfect job.
|
m*****k 发帖数: 731 | 17 typical browers incompitable issue, had lots of such pain before, tedious
and trial and error, good luck.
【在 m****r 的大作中提到】 : and, the best of all, now, i have IE working, with the scroll bar, and : firefox without it. wtf?
|
J*******n 发帖数: 2901 | 18 GWT -- java --> javascript mapping saves Java developers from learning js.
Not every team has exclusive js developer
With GWT, you can debug and unit test in a Java way, theoretically at least
【在 r*****s 的大作中提到】 : i'm not a ui buy, but don't like the idea of GWT -- : java --> javascript mapping. : staying with javascript, we use ExtJs, a decent javascript : framework.
|
r*****s 发帖数: 985 | 19 _theoretically_
if something goes wrong,
bug or perf issue,
you still have to look at the javascript level code.
least
【在 J*******n 的大作中提到】 : GWT -- java --> javascript mapping saves Java developers from learning js. : Not every team has exclusive js developer : With GWT, you can debug and unit test in a Java way, theoretically at least
|
B*****g 发帖数: 34098 | 20 小声说一句,会java的搞搞javascript还不像菜一样
【在 r*****s 的大作中提到】 : _theoretically_ : if something goes wrong, : bug or perf issue, : you still have to look at the javascript level code. : : least
|
|
|
J*******n 发帖数: 2901 | 21 that's true. debug on java level can certainly solve most of issues but not
all
to take advantage of GWT's unit testing, developers need to keep MVP rules
in mind all the time, try very hard to always separate view and presenter as
much as possible
【在 r*****s 的大作中提到】 : _theoretically_ : if something goes wrong, : bug or perf issue, : you still have to look at the javascript level code. : : least
|
J*******n 发帖数: 2901 | 22 哈哈,java和javascript的关系 = 雷锋和雷锋塔的关系
【在 B*****g 的大作中提到】 : 小声说一句,会java的搞搞javascript还不像菜一样
|
B*****g 发帖数: 34098 | 23 雷锋不能搞雷峰塔
【在 J*******n 的大作中提到】 : 哈哈,java和javascript的关系 = 雷锋和雷锋塔的关系
|
r****y 发帖数: 26819 | 24 不是说car和carpet嘛,呵呵
【在 J*******n 的大作中提到】 : 哈哈,java和javascript的关系 = 雷锋和雷锋塔的关系
|
d***i 发帖数: 19 | 25 I had been a java developer(mainly on web application) for 6-7 years
before I changed job and in current position spending 70% work time on
javascript vs 30% on java for 3 years.
It's still a challenge for me and a lot to learn/handle, in terms of
writing enterprise level's rich/dynamic UIs based on javascript.
Of course, we use framework on top of javascript, but underneath still
javascript programming. It's OO style javascript programming with framework
API supports.
【在 B*****g 的大作中提到】 : 小声说一句,会java的搞搞javascript还不像菜一样
|
l*******w 发帖数: 61 | 26 谢谢各位回复。所提及的后台技术似有如可能:
GWT
Wicket
Vaadin
Node.js
Ext JS
...
当然还有其他,尤其是Jsp based framework。得仔细读一些网上的东西。目的是尽快
尽方便地将用户网页输入的数据转入相应的Java Objects以执行逻辑,得到结果再转回
网页.因是为证实逻辑的 Rapid Prototype,而且预计数据种类繁多(约上百Class),
相互关系复杂,极有可能大量编程时间要花在网页与Java间数据转换上。希望能找到某
一现成的Framework专精此项。不然也只好刺刀见红硬上了。 |
r*****s 发帖数: 985 | 27 這個javascript <--> java objects
現在非json莫屬了
【在 l*******w 的大作中提到】 : 谢谢各位回复。所提及的后台技术似有如可能: : GWT : Wicket : Vaadin : Node.js : Ext JS : ... : 当然还有其他,尤其是Jsp based framework。得仔细读一些网上的东西。目的是尽快 : 尽方便地将用户网页输入的数据转入相应的Java Objects以执行逻辑,得到结果再转回 : 网页.因是为证实逻辑的 Rapid Prototype,而且预计数据种类繁多(约上百Class),
|
J*******n 发帖数: 2901 | 28 if you really want JSP based, skip GWT.
GWT and JSP is not a good combination.
【在 l*******w 的大作中提到】 : 谢谢各位回复。所提及的后台技术似有如可能: : GWT : Wicket : Vaadin : Node.js : Ext JS : ... : 当然还有其他,尤其是Jsp based framework。得仔细读一些网上的东西。目的是尽快 : 尽方便地将用户网页输入的数据转入相应的Java Objects以执行逻辑,得到结果再转回 : 网页.因是为证实逻辑的 Rapid Prototype,而且预计数据种类繁多(约上百Class),
|
r*****s 发帖数: 985 | 29 google's stuff kinda invasive,
that's another point i don't like it,
hehe.
【在 J*******n 的大作中提到】 : if you really want JSP based, skip GWT. : GWT and JSP is not a good combination.
|
l*******w 发帖数: 61 | 30 有意思。Javascript 与 Json 交互应无问题。不知 java 读取生成 json 有没有现成
工具?
【在 r*****s 的大作中提到】 : 這個javascript <--> java objects : 現在非json莫屬了
|
|
|
e*****t 发帖数: 1005 | 31 jackson
【在 l*******w 的大作中提到】 : 有意思。Javascript 与 Json 交互应无问题。不知 java 读取生成 json 有没有现成 : 工具?
|
a9 发帖数: 21638 | 32 用来做了个小项目,搞的很头疼,放弃了。
【在 l*******w 的大作中提到】 : 因寻找最方便的Web开发技术,无意中发现Node.js。貌似现在最火的Web后台技术。 : Clientside个人倾向于JQuery。Javascript基本是最方便的。但跨网与后台联系太松, : 有许多的数据传输转换要写不少无聊码。若后台也是Javascript,则可少写不少码。故 : 对Node.js十分动心。 : 可是服务逻辑是Java实现的。一般而言,Jsp是后台的首选技术,十分成熟。不知各位 : 高手对Node.js,如何看?尤其是: : 1. 从Javascript调用Java code是否方便?即: : JQuery ==》Node.js,==》Java BusinessLogic ==> Database : 2. User Session 管理怕会太烦? : 谢谢,
|
m****r 发帖数: 6639 | 33 what kind of problem did you have?
【在 a9 的大作中提到】 : 用来做了个小项目,搞的很头疼,放弃了。
|
r*****y 发帖数: 264 | 34 有人用SmartClient, SmartGWT吗? |
W*******e 发帖数: 1268 | 35 后台的东西不应该搞得很复杂
对新手来说用JSP就够了,复杂一点的了解下怎么用JPA对象和Spring
我的观点象GWT和Node.js这样的技术应该避免在软件工程中使用。
在应用开发中,数据库,控制逻辑,安全验证,数据显示,交互和验证都应尽可能在独
立层面进行管理,这样可以改进代码质量,减少错误,最大可能提供不同层面的灵活性
,可靠性和代码的生命周期。
【在 l*******w 的大作中提到】 : 谢谢各位回复。所提及的后台技术似有如可能: : GWT : Wicket : Vaadin : Node.js : Ext JS : ... : 当然还有其他,尤其是Jsp based framework。得仔细读一些网上的东西。目的是尽快 : 尽方便地将用户网页输入的数据转入相应的Java Objects以执行逻辑,得到结果再转回 : 网页.因是为证实逻辑的 Rapid Prototype,而且预计数据种类繁多(约上百Class),
|