Method and system for providing XML-based asynchronous and interactive feeds for web applications

a technology of asynchronous and interactive feeds and web applications, applied in the field of world wide web technologies, can solve the problems of lack of configurable xml support, clumsy existing feed control, and high amount of network traffic, and achieve the effect of high efficiency and extensibility of xml, easy insertion of xml feed control, and improved parsing speed of incoming xml

Inactive Publication Date: 2011-01-04
INT BUSINESS MASCH CORP
View PDF13 Cites 38 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Benefits of technology

[0009]In order to address the above described and other shortcomings of previous approaches, a new method and system for providing XML-based asynchronous and interactive feeds for Web applications. The disclosed system provides a highly efficient and extensible XML Javascript framework that allows for easy insertion of a XML feed control into any Web page. The disclosed framework allows for reading of feed data in any XML format, and provides a new and easy way for modifying the layout of each entry in the feed data via HTML templates with XPath bindings. For example, the rendering performed through the disclosed system can support both flat and indented (“threaded”) views for a comment thread. The disclosed system further improves the parsing speed of incoming XML, and supports a flexible event model for other services to operate with to provide “mashups” (hybrid applications) in the spirit of Web 2.0.
[0010]The disclosed system includes a Javascript library, a set of predefined HTML templates, and optionally an XMLHTTP server-side proxy servlet to route POST and GET requests to different domains from the Web browser. These components are installed as a Web application on a server system. As a result, Web pages on the client system can include and configure the disclosed XML feed control by referencing the Javascript library and CSS (Cascading Style Sheets), and can configure the control in Javascript against a particular XML data source. When the HTML for the Web page loads, the Web browser asynchronously contacts the XML data source, downloads the XML feed payload, and renders it on the Web page according to an appropriate HTML template bindings and look-and-feel. Other Web applications can easily insert more features into the resulting feed thread by taking advantage of events provided at multiple points in the processing performed by the control. The user can also interact with the XML feed, for example by posting comments back to the server. All server interactions are asynchronous to page loads for faster usability. If requests are going against a server in a different domain, a proxy servlet can easily be used to meet Javascript security limitations.

Problems solved by technology

In the past, Web site developers had to implement the user interface for these features separately for each Web site, and could not rely on a standard protocol to send / read information over HTTP.
Furthermore, existing feed controls are clumsy, requiring frequent page refreshes resulting in high amounts of network traffic, and are too specific to be reused in multiple Web sites or Web applications exposing different data types.
However, this framework lacks configurable XML support, does not offer an event model, offers no configurability, and does not provide an easy way to modify look-and-feel via I / O bindings to an HTML template, thus making it useful only for very trivial commenting applications.
These feed readers present feed data nicely on the page, but are all very limited in that the do not support arbitrary feed types (only RSS and ATOM), and do not offer an easy way to customize the look-and-feel of the feed thread.
Another problem with such existing “online feed reader” systems is that they are not easily included in Web pages or configurable with a flexible event model for other “mashups” to integrate with.
These systems also do not offer efficient XML parsing.
The main disadvantage of this framework is that it does not offer an HTML template binding approach using standard XPath for look-and-feel customization of the thread.
This system also doesn't have effective optimization for fast XML parsing, and requires users to learn a separate declarative language in order to use the framework, beyond knowledge of HTML and XML.
Conventional gadget frameworks like Google, Microsoft and Yahoo Gadgets offer limited support in this area, but the tools they offer are severely limited.
While such systems may allow for simple downloading of XML content, they do not offer convenient customization techniques or performance improvements.
There are also significant limitations in making POST requests to update data using these frameworks.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and system for providing XML-based asynchronous and interactive feeds for web applications
  • Method and system for providing XML-based asynchronous and interactive feeds for web applications
  • Method and system for providing XML-based asynchronous and interactive feeds for web applications

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022]FIG. 1 is a block diagram of software and / or hardware components in an illustrative embodiment of the disclosed system. As shown in FIG. 1, a Client System 10 includes a Client Browser 12 in which is loaded a Parent HTML Page 14 that includes a Feed Widget 16. The Feed Widget 16 is an example of a client-side aspect of the disclosed system operable to provide a user interface display of an XML feed. During operation of the Feed Widget 16, Events 23 are generated (e.g. by the Client Browser in response to actions performed by the Feed Widget 16), and these events may be recognized and processed by Other Services 21. The Events 23 allow the Other Services 21 to access data collected and processed by the Feed Widget 16, in order to provide additional aspects of a user interface display of an XML feed received and formatted through the Feed Widget 16.

[0023]The Client Browser 12 operates to render the Parent HTML Page 14, including the display of the XML feed associated with the Fe...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

A system for providing XML-based asynchronous and interactive feeds for Web applications that provides a highly efficient and extensible XML Javascript framework allowing easy insertion of a comment / news feed control into any Web page. The framework allows for reading of any XML format and provides a new and easy way for modifying the look-and-feel of the control via HTML templates with familiar XPath bindings. The rendering performed through the system supports both flat and indented (“threaded”) views for a comment thread. The system improves the parsing speed of incoming XML, and supports a flexible event model for others to develop plug-ins and mashups in the spirit of Web 2.0.

Description

FIELD OF THE INVENTION[0001]The present invention relates generally to World Wide Web technologies, and more specifically to a method and system for providing XML-based asynchronous and interactive feeds for Web applications.BACKGROUND OF THE INVENTION[0002]As it is generally known, many new Web application technologies provided on the Internet today are referred to as “Web 2.0”. These technologies include a second generation of Web-based communities and hosted services (e.g. social-networking sites, wikis, folksonomies, etc.), and are intended to facilitate collaboration and sharing between users. Applications in this area usually include simple to use user interfaces, and typically share some important technical attributes. For example, Web 2.0 applications often expose an XML (eXtensible Mark-up Language)-based “REST” (“Representational State Transfer”) API (Application Programming Interface) for invoking Web services over HTTP (HyperText Transfer Protocol), and have the ability ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(United States)
IPC IPC(8): G06F15/16G06F7/00G06F17/30
CPCG06F17/3089G06F16/958
Inventor KORDUN, ALEXANDERSCHULTZ, NEIL J.
Owner INT BUSINESS MASCH CORP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products