由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Java版 - Random thoughts on Javascript
相关主题
anyone has experience with ZK?web application请教
请推荐好的AJAX技术传统JSP过时了,UI现在流行啥啊?
AJAX: simple question on parameter passingAn interesting comment regarding Wicket.
java现在主要用在server-side api?spring/hibernate/ajax/web 2.0/bpel books
想用javascript开发应用spring MVC 下的rich web application
问问技术大牛:现在学java还是javascript好? (转载)AJAX framework for Java
问个gwt client code调用远程object的问题web application一定要掌握javascript和ajax吗
现在一般用什么做UI?请推荐一个java ajax Framework
相关话题的讨论汇总
话题: javascript话题: ajax话题: random话题: thoughts话题: ool
进入Java版参与讨论
1 (共1页)
g**********y
发帖数: 14569
1
I haven't touched javascript for quite a few years. In my last memory, it is
an ugly language -- limited capability, hard to debug.
In the tide of AJAX, I take a look at current Javascript. "AJAX in action"
is my reference. Following are some random thoughts:
* I am surprised at javascript's support of functional programming. Java
plan to add it in SDK 7, falling behind. And it's interesting to know that
javascript has nothing to do with java.
* I really hate to see statement like:
Function.prot
c*****t
发帖数: 1879
2

is
feel
JavaScript sub-classing is a major pain in the rear. One interesting
thing about JavaScript is that there is not a unique way doing inheritance,
which can be confusing and annoying. You can google JavaScript inheritance
and there are many approaches. I think that one AJAX group created an
approach which looked simpliest and no major issues.
One of the most important reason behind the numerous approaches is
because of IE's serious memory leak problem. IE 7 beta 3 still did
not fix it

【在 g**********y 的大作中提到】
: I haven't touched javascript for quite a few years. In my last memory, it is
: an ugly language -- limited capability, hard to debug.
: In the tide of AJAX, I take a look at current Javascript. "AJAX in action"
: is my reference. Following are some random thoughts:
: * I am surprised at javascript's support of functional programming. Java
: plan to add it in SDK 7, falling behind. And it's interesting to know that
: javascript has nothing to do with java.
: * I really hate to see statement like:
: Function.prot

m******t
发帖数: 2416
3
Interesting topic. I personally think that, whether we want to call it "web
2.0", Ajax is _the_ catalyst that will bring Web-based computing to the next
level - closer to the "ubiquitous computing" utopia, that is. 8-)
I have been working on an ajax application for the past year or so, and
found that the situation with javascript has improved immensely from last
time I had to work with it (about 5 years ago). Two things have changed:
browser support for both CSS and javascript has become much b
g**********y
发帖数: 14569
4
>> One interesting thing about JavaScript is that there is not a unique way
doing inheritance, which can be confusing and annoying.
This is pain for communication. I remember a nice suggestion in coding style
that convention might be, it is still way better than multiple ones co-
exist.
>> I find that composition in JavaScript is easy and good OOD usually can
be good enough.
I can live with composition only as well. But I can't live if there is no
good refactoring tool. It will kill me to track
m******t
发帖数: 2416
5

It's not an OOL.
But you _can_ do these in javascript.
f*******4
发帖数: 345
6
I added some AJAX features to our applications since last year.
The javascript library I tried include prototype, GWT, YUI and Dojo.
GWT, YUI and Dojo are more frameworks than library.
Personally, I like fancy AJAX applications such as Gmail, Google notebook,
Google map and so on. But javascript is really a big headache. It's so
flexible that it's very hard to understand the sophisticated javascript code
. Those javascript frameworks are efforts to ease the javascript pain for
most programmers.
m******t
发帖数: 2416
7

It's not an OOL.
But you _can_ do these in javascript.
f*******4
发帖数: 345
8

I'm also not familiar with those tricky stuff. But I did
search Google/Yahoo and find them
Here is the javascript inheritance example
http://www.crockford.com/javascript/inheritance.html
Regarding dynamic binding, I can't find a quick example in google,
but I remember in Dojohttp://dojotoolkit.org/
source code comments I read some trick for object instance dynamic binding,
which means javascript can do dynamic binding, but it is tricky.
1 (共1页)
进入Java版参与讨论
相关主题
请推荐一个java ajax Framework想用javascript开发应用
So I played with Vaadin a little bit问问技术大牛:现在学java还是javascript好? (转载)
有空可以讨论一下Portal问个gwt client code调用远程object的问题
javascript 画多边形?现在一般用什么做UI?
anyone has experience with ZK?web application请教
请推荐好的AJAX技术传统JSP过时了,UI现在流行啥啊?
AJAX: simple question on parameter passingAn interesting comment regarding Wicket.
java现在主要用在server-side api?spring/hibernate/ajax/web 2.0/bpel books
相关话题的讨论汇总
话题: javascript话题: ajax话题: random话题: thoughts话题: ool