BYTE.com
RSS feed

Newsletter
Free E-mail Newsletter from BYTE.com
Email Address
First Name
Last Name




 
    
             
BYTE.com > Tangled in the Threads > 2001 > December

The Event-Driven Internet

By Jon Udell

December 3, 2001

(The Event-Driven Internet :  Page 1 of 1 )



What Worked for the GUI Should Work for the Internet, Too

In the web services paradigm, software speaks when spoken to. With publish/subscribe, software speaks when it has something to say.

When it comes to defining the emerging next-generation Internet, we are all blind men groping an elephant. Back in July, in a column called Kenamea's Application Network, I highlighted some of the agreed-upon features of the beast. These included peer autonomy, reliable and transacted communication layered over HTTP, network-global (versus per-application) access control, and a publish-and-subscribe event notification scheme.

Recently, I talked with the folks at KnowNow, whose technology touches many of these same bases. Event notification has been a longstanding research interest of KnowNow's founders, Rohit Khare and Adam Rifkin, so it's not surprising that pub/sub is a central feature of their system.

Like Kenamea, the KnowNow system arranges for a persistent HTTP connection to the browser, and routes network events to JavaScript handlers in order to create real-time effects. A simple example, adapted from one of the KnowNow samples, shows how the notification can work. Here's the setup:

  • The KnowNow event router (downloadable from KnowNow) is running on a machine, and listening on port 8000.

  • The router's kn_apps folder has an application subfolder — let's say it's called Dommy — with an index.html page. On that page, there can be one or more event-enabled DOM elements.

  • The index.html page refers to some JavaScript that does the event enabling — that is, it wires the DOM elements to the event router.

Given this setup, here are the effects:

  • The content of every event-enabled element is associated with a router-managed pub/sub topic, and stored persistently in the router's cache.

     Page 1 of 1 


    BYTE.com > Tangled in the Threads > 2001 > December
Dr. Dobb's Media Center

Extending Enterprise Value with Web 2.0
In this webcast we will talk about how to simply build and quickly remix Web 2.0 applications and the role of the IT department and how they support mashups. We will discuss how IBM can help IT teams adapt existing enterprise systems as well as develop unique ones that can support end user driven mashups in a reliable, scalable and secure way. We will highlight a simple scenario adapting an enterprise information source for mashups and how to test it. We will also cover how IBM can help you build agile, fast and simple web applications based on dynamic scripting languages that dramatically reduces development time. Wednesday, September 24, 2008 - 12pm PT / 3pm ET

2008 International Mathematica Conference
Dr. Dobb's interviews Wolfram Research's Theo Gray, co-founder and Director of User Interfaces, and Roger Germundsson, Director of Research and Development, about the upcoming 2008 International Mathematica Conference.

BYTE.com Store

BYTE CD-ROM
NOW, on one CD-ROM, you can instantly access more than 8 years of BYTE.
 
The Best of BYTE: Volume 2 - Heuristic Algorithms
The Best of BYTE: Volume 2 - Heuristic Algorithms
In this volume of Best of BYTE, we explore the emergence of some heuristic algorithms. Although we have only scratched the surface of this intriguing subject, we hope we've suggested the potential of the synthesis of heuristics and algorithms.

© 2008 Think Services, Privacy Policy, Terms of Service, United Business Media Limited
Site comments: webmaster@byte.com
Web Sites: BYTE.com, dotnetjunkies.com, Dr. Dobb's Journal, SD Expo, Sys Admin, sqljunkies.com, Unixreview



MarketPlace
simple helix is the most trusted name in the hosting industry! Join us and host with the experts!
Sign Up & Get Full Access To The Definitive Online Book Collection With SkillSoft's Books24x7�.
Helps Employees Develop & Hone New Technical Programming Skills. Sign Up & Get Full Access.
Fast online exception analysis. Capture customer crash data online.
Develop 10 times faster ! ALM, IDE, .Net, RAD, 5GL, Database, 5GL, 64-bit, etc. Free Express version
Wanna see your ad here?
 

web2