TIBCO PageBus™
TIBCO PageBus is an event and message bus implemented in JavaScript that enables disparate Ajax elements in a Web page to broadcast and listen for events and messages published on topic names. In addition to basic publish and subscribe APIs, PageBus supports hierarchical topic names and the use of token wildcards within those hierarchical topic names providing a rich means to listen for both general as well as specific information.
Three
gadgets communicating
via the PageBus.
How can PageBus help me?
As Ajax expands the capabilities of Web pages into solutions patterns such as mashups, composite applications, and rich interactive portals, PageBus helps developers drastically simplify development by using publish and subscribe APIs to send events and messages between components rather than get bogged down in point to point integrations between components that lead to unwieldy and less manageable code. In addition, adherence to publish and subscribe architecture helps modularize applications into distinct pieces making team development, unit testing, and source code management easier as well.
Publish and subscribe architecture is also the basis for Ajax standards. The first specification from The OpenAjax Alliance, an industry group with more than 70 members working to set Ajax interoperability standards, centers on publish and subscribe APIs as its core strategy for facilitating interoperation between Ajax libraries. TIBCO has been an active participant in these processes and has donated the core of the PageBus to the OpenAjax Alliance's implementation of the OpenAjax Hub 1.0.
Download the Latest Release
-
PageBus 1.2
Includes pagebus.js (4 kb), docs, code samples, and unit tests. Open source license: BSD
What's new in 1.2? PageBus 1.2 implements the recently finalized OpenAjax Hub 1.0 specification and all its APIs. In addition PageBus 1.2 adds useful Store/Query APIs to let you persist messages on the PageBus. Check out the docs and the examples below for more about Store/Query.
Project Resources & Source Code
-
Documentation
Discussion Forum
svn co http://gi.tibco.com/svn/trunk/pagebus
Browse source code
Bug Tracking
PageBus Examples
-
Publish/Subscribe Example
Shows how components can exchange events via TIBCO PageBus publish/subscribe.
Performance Example
Demonstrates the high throughput that can be achieved with TIBCO PageBus publish/subscribe.
Basic Store/Query Example
Demonstrates components sharing information using TIBCO PageBus store/query.
Feature Discovery with Store/Query
Demonstrates how components of a composite application or mashup can discover each other's compatible features using TIBCO PageBus store/query.
With Real-Time Data
This data streaming demo uses TIBCO Ajax Message Service to stream server-side data to the PageBus in an Ajax application.
Webcasts
-
Architecting and Managing Composite Ajax Applications
PageBus creator, Howard Weingram, walks you through using PageBus to architect composite applications and mashups.Ajax Portlets
Learn how to use PageBus in the context of a portals for inter-portlet messages and events.