Anyone has good AJAX or javascript forum to recommend?
I just tried jGuru, horrible interface.
Anyone can explain following problem is also appreciated -->
1.
2. document.getElementById("MyButton").onclick = highlight;
In my view, Method-1 and Method-2 are interchangeable. However, browser
doesn't think so -->
function highlight() {
alert(this.id);
}
Method-1 set this to window; and Method-2 set this to MyButton. Why is that?
I thin
Never mind my second question, find the answer in AJAX in action.
A simple javascript code could hide so many default information, that's
really bad, and sad for programmer.
I used DWR a while ago...It has spring integration,
as well as reverse ajax functionality. But it's difficult to unit test it,
since all the java code in DWR is static call.
Dojo, Scriptaculous are very popular
One of my colleages suggested Prototype to me...It's very light weight, but
I never tried it before
I choose AjaxTags in wish to avoid js programming all together.
Start with an autocomplete.
It took me couple of hours to make all the settings right in my
Spring application, and couple of more hours to make the calls
all the way to DB.
So at the end of the day, Ajax rocks. But I feel the limit of
AjaxTags immediately, it can do certain things, but it's not clear
how you can customize it. e.g. I want to type several emails in
the TO field, and the autocomplete only takes the entire textfield
to
I am in the transition of c++ to java, and my boss has been encouraging me
to buy books. I have some basic java books like "Thinking in Java", and the
head First series. Now I am ready to look deeper into the java world.
Please recommend some books on the following subjects:
- Ajax
- Web2.0
- Spring
- Hibernate
- Web Services with jee technology
- BPEL
Thanks in advance.
For spring and hibernate, the "in action" series is pretty good.
Also the "pro" series.
For web service, Axis and XFire are hot, check their websites to
see if you can get any books.
For ajax, there are different approaches, client package (e.g. YUI),
server side framework (DWR), and some full fledged one (GWT). It all
depends on what kind of application you are working on.
Can't comment on BPEL.
JEE is too big a topic, it's probably get dirty first and read what you need,
rather than read a ton
Wicket, you can do traditional page based development, or more
RIA type single page development. Easy to create custom reusable
component. Best choice if you are looking for gradual ajax adoption.
Yeah, thanks. I have been checking it out. Haven't got a chance
to code anything yet.
While reading the samples, the amount of typing you have to
do to implement some simple things such as "Hello World" looks
intimidating ... this is no surprise for someone coming from
the world of Python web frameworks, though. App class, page
class, page template, web.xml...
I find it especially awkward to add ajax callback. But I'm sure
this also has something to do with the fact that I'm not used
to the way
I would classify websites in a little different way,
HTML/JavaScript centric
Conventional web frameworks for page-by-page navigation, Ajax frameworks
with HTML abstraction, typically delivering single page websites.
non HTML category
Flash/Flex, Silverlight, JavaFX
Yes. you should be fine by either way.
But before you choose between them, you might want to ask yourself some
questions:
1. do you need to keep states on the server side? For example http session..
. Web service by nature is stateless. You can make it stateful, but that
will imply the extra works on both client and server sides. On the other
hand, servlet/jsp automatically support states via http session.
2. Do you need to do the whole page navigation a lot? Ajax was introduced to
update a html... 阅读全帖
I said this before (last time somebody dug this pit),
and I'll say it again: it's a pseudo debate about whether
AJAX or RIA will win. They both have pros and cons for
different types of applications.
summary:
从小培养,以培养基本足球技术为主,少打比赛也不在乎比赛成绩,通过出卖成品青年
球星赚钱
How a Soccer Star Is Made
The youth academy of the famed dutch soccer club Ajax is grandiosely called
De Toekomst — The Future. Set down beside a highway in an unprepossessing
district of Amsterdam, it consists of eight well-kept playing fields and a
two-story building that houses locker rooms, classrooms, workout facilities
and offices for coaches and sports scientists. In an airy cafe and bar,
players are served meals and visitors can have a... 阅读全帖