web| objects
Object-oriented Web development framework: ECHO2 comeback
As an object-oriented Web development framework, ECHO allows developers to design web interfaces in an object-oriented fashion, just as they would develop awt/swing applications. When you see the following code, you may think it is writing a awt/swing program:
Class HelloWorld extends Echoinstance {public window init () {window window = new window (); ContentPane content = new ContentPane (); Window.setcontent (content); Label label = new Label ("Hello, world!"); Content.add (label); return window; }}
When ECHO1.0 first appeared, it was a shocking shock to web developers. But Echo has not been widely used by developers like struts or JSF. The initial echo framework also has some unpleasant aspects: each page refresh passes a large number of parameters through the session; Unlike swing, there are visual development tools and so on.
Today, ECHO2 a comeback. The new ECHO2 is an Open-source web framework based on the Mozilla Public License. It employs a new Ajax (asynchronous JavaScript and XML) rendering engine, providing a more rich-client-like user experience. All client/server interactions take the form of XMLHttpRequest. The entire ECHO Web application runs on a single Web page-without having to load the page repeatedly or refreshing the entire page at a time. The input information of the user is transmitted via XMLHttpRequest through an XML document. The server also responds with an XML information format containing synchronization instructions, which is then processed through pluggable client-side JavaScript modules. This allows the user to feel as fluent as a desktop application, with performance dramatically improved compared to traditional Web applications.
In ECHO2, all of the Web interface drawing capabilities are done by ECHO2 Java UI Tools. Developers just need to use their UI tools to write an interface just like the swing interface.
Another reason for the early echo not to be popular is that there is no visual development tool like swing. And now, that's not a problem. The Echo creator also released the Echo Studio for Eclipse plug-in, and you can easily develop a cool web interface!
Echo's homepage is in http://www.nextapp.com/products/echo/, and the latest version of ECHO is ECHO2.0 Alpha1.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.