An AJAX-based application architecture design Rollup

Source: Internet
Author: User
Tags call back functions implement soap thread window wrapper wrappers
Ajax| Program | architecture | design

The 1 browser-side framework is divided into two broad categories :

• Application framework: Provides browser functionality, but is often known to include widget abstractions and other parts, and functions primarily around the desktop GUI framework.

• Infrastructure Framework: Provides basic plumbing and portable browser abstraction for developers to create content. Typical features:

* For XMLHttpRequest wrappers to encapsulate browser-server interaction. (All of the frameworks provide this functionality).

* XML operations and queries.

* Perform DOM operations based on answers from XMLHttpRequest.

* In some cases, it is integrated with other browser-side technologies such as Flash (and potential Java applets).

server-side frameworks typically work in the following two ways (although they are categorized here according to language differences):

html/js Generation: The server provides complete Html/javascript code generation and browser-server coordination, with the result that only the browser-side encoding can be customized.

• Remote invocation: JavaScript calls are routed directly to server-side functions (such as Java methods) and are returned to the JavaScript callback processor, or JavaScript invokes the server to extract information, such as session details, database queries, and so on.

• Pure javascript: application framework

1.1 Bindows (since 2003)

The URL is: http://www.bindows.net,Bindows is a software development kit (SDK), which, through strong federated dhtml,javascript,css and XML technology, can generate highly interactive Internet applications-becoming a powerful opponent of modern desktop applications. Bindows applications do not require downloads and do not need to be installed on the client side-only one browser is required (and no java,flash or ActiveX is required). Bindows has the potential to lead the platform of Object-oriented development AJAX applications.

• It is commercially available, using technology from MB (headquartered in GA USA, main development center in Sweden, established in 2002).

The Bindows framework is available to you:

• Class-based object-oriented APIs

• A complete window system that provides wide range of widget support including menus, forms, grids, sliders, quanta, and even more

• The leading toolkit for developing Zero-footprint SOA client applications

• Xml,soap and XML-RPC support for this machine

• Single-User to Enterprise-class support

• Built-in support for Ajax

Bindows Development Environment:

• Support for enterprise-scale engineering development

• Cross-browser, cross-platform support

• Server Independent structure

• Interoperability with new and existing resources

• Consistent development Methodologies

1.2 Backbase (since 2003)

The URL is: http://www.backbase.com, a comprehensive browser-side framework that supports rich browser capabilities as well as integration with. NET and Java.

• Commercialization, from Backbase B.V (headquartered in Amsterdam, founded in 2003).

1.3 DOJO (in development; since September 2004)

The URL is: http://dojotoolkit.org/, providing full window widget and browser-server message support.

• Provides framework support for creating custom JavaScript window widgets.

• Out-of-the-Window widget library.

• Browser-server messages support-xmlhttprequest and additional mechanisms.

• Support URL manipulation functions in browsers.

• Open Source License (Academic Freedom License 2.1 (http://opensource.org/licenses/afl-2.1.php)), by Alex Russell of JotSpot (http://www.jot.com/) (http:// alex.dojotoolkit.org/) led the team.

1.4 Open Rico (in development; since May 2005; based on the early private framework)

The URL is: Http://openrico.org/demos.page, a multipurpose framework that supports AJAX infrastructure and user interaction.

• A XMLHttpRequest response can be routed to one or more callback operations, DOM objects, or JavaScript objects.

• Easy mouse Drag support.

Ajax animations, such as scaling and transformations.

• "Behavior"-essentially a window widget library.

• Use Guide (http://www.mirimar.net/mailbrowser/), provided by Russmirimar's Yonah

Open-source From the Sabre Airlines solution, supported by Bill Scott (http://looksgoodworkswell.blogspot.com), Darren James, and others.

1.5 Qooxdoo (in development; since May 2005)

The URL is: http://qooxdoo.sourceforge.net/, another ambitious framework that provides wide range of UI support and infrastructure features under development.

• Infrastructure:

* A portable abstraction of DOM and event/focus management.

* Debugging support.

* Timer classes that are easy to schedule.

* Getter/setter support.

UI:

* Window widget frame and preset window widget library.

* Layout Manager.

* Image buffering and portable PNG transparency.

• Open Source (LGPL). From a variety of contributors.

1.6 Tibet (in development; since June 2005)

The URL is: http://www.technicalpursuit.com/, designed to provide a highly portable and comprehensive JavaScript API, with the result that a large number of client-side code can be generated automatically. Claiming to be "enterprise-Class Ajax".

• Remote scripts run on top of XMLHttpRequest wrappers-support for workflow management by coordinating call results, such as when a response can occur only when two separate calls are returned.

URI support.

• All HTTP methods-not just "get" and "POST".

• Low-level protocols-file://and WebDAV as well as HTTP.

Web service calls-soap,xml-rpc, and so on.

• Preset support for Google Api,amazon APIs, and so on.

• A large library composed of advanced JavaScript objects.

• Many XML operations.

IDE and development tools.

• Open Source License (obviously with OSI certification, but not much detail).

2 Pure javascript: Infrastructure framework

2.1 Ajaxcaller (alpha version; since May 2005)

The URL is: http://ajaxify.com/run/testAjaxCaller/, is a basic thread-safe XMLHttpRequest wrapper, mainly for Ajax novice, still in the original Alpha development phase, Currently only packaged with Ajaxpatterns's online search paradigm.

• Implement a call to the server (Get/post/put/delete), complete with routing to plain-text or XML for a callback operation.

• Destructor of the used XMLHttpRequest object.

response buffer (planned).

• Novice Ajax-not an emphasis on performance optimization, this library is primarily used to implement readable basic code and will provide debugging support.

• Open Source License. Maintained by Michael Mahemoff (Http://softwareas.com) (with some ideas of John Wehr and Richard Schwartz).

2.2 Flash JavaScript Integration pack

The URL is: HTTP://WWW.OSFLASH.ORG/DOKU.PHP?ID=FLASHJS, allowing integration of JavaScript and Flash content:

• Enable JavaScript to invoke ActionScript functionality and the reverse implementation.

• All major data types can be passed between the two environments.

• Open Source License. Supported by multiple open source flash contributors.

2.3 Google Ajaxslt (released in June 2005)

The URL is: http://goog-ajaxslt.sourceforge.net/, a JavaScript framework for performing XSLT transformations and XPath queries.

• Build on Google Maps work.

• Open Source License (BSD). Supported by an innovative search program company, calling itself "Google".

2.4 Htmlhttprequest (beta edition; started in 2005)

Htmlhttprequest (http://www.twinhelix.com/javascript/htmlhttprequest/), which uses XMLHttpRequest and iframes to improve compatibility.

• Tested and able to work in: Ie6/win,ie5.5/win,ie5/win,ie4/win,mozilla/win,opera7/win,safari/mac,ie5/mac.

• Not tested, may be able to work in: Ie4/mac,mozilla/mac,opera/other,konqueror/linux. Are you using one of these? The author is requesting compatibility information.

• Open Source License (LGPL). Maintained by Angus Turnbull of Twin Helix Designs (http://www.twinhelix.com/).

2.5 Interactive website Framework (since May 2005)

The interactive Web site framework (http://sourceforge.net/projects/iwf/) is a project designed to support the multidimensional aspects of the AJAX infrastructure from the browser side. Describes the framework for using Javascript,css,xml, and HTML to create highly interactive Web sites. Includes a custom XML parser for highly readable JavaScript. Essentially, it is the foundation of an AJAX-based Web site, as well as some other generic scripts.

• Thread-safe XMLHttpRequest implementations.

• Wrappers for XML documents so that you can create more readable code:

var node = doc.groceries.frozen[0].pizza[0].size;

Instead of manual navigation:

var node = doc.documentElement.firstChild.firstChild.getAttribute ("size");

• Open Source License. Maintained by Weaver (Http://circaware.com|Brock).

2.6 Libxmlhttprequest (released in June 2003)

Libxmlrequest (http://www.whitefrost.com/servlet/connector?file=reference/2003/06/17/libXmlRequest.html), It's a thin wrapper for XMLHttpRequest.

Getxml () and Postxml () methods.

XMLHttpRequest Object Pool support.

response buffer.

• Available source code (obvious), but protected by standard copyright, is maintained by Stephen W.coate (http://www.whitefrost.com/index.jsp).

2.7 Rslite (x)

The website is: http://www.ashleyit.com/rs/main.htm, is a thin wrapper for XMLHttpRequest.

• A simple component that is distributed as part of Brent Ashley's more comprehensive remote scripting work (see JavaScript remote scripting-jsrs on the multilingual server side).

2.8 Sack (in development, since May 2005)

The website is: http://twilightuniverse.com/2005/05/sack-of-ajax/, is a thin wrapper for XMLHttpRequest.

• The caller can specify a callback function or call back the DOM object. The response text is pushed directly into the DOM with the help of the callback Dom

2.9 Sarissa (released in February, 2003)

The website is: Http://sarissa.sf.net, a JavaScript API that encapsulates the ability to invoke XML independently on the browser side.

• Portable XMLHttpRequest Creation

• Portable XPath queries

• Portable DOM Operations

• Portable XSLT

• Portable XML serialization

• Open Source (GPL2.0 and LGPL2.1). From a variety of contributors.

2.10 Xhconn (released since April, 2005)

The website is: http://xkr.us/code/javascript/XHConn/, is a thin wrapper for XMLHttpRequest.

• For example

New Xhconn (). Connect ("mypage.php", "POST", "Foo=bar&baz=qux", Fnwhendone);

• Open Source License. Maintained by Brad Fults.



Related Article

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.