Warning:
This wiki has been archived and is now read-only.
AddedElementEventsource
From HTML WG Wiki
New event-source element
Issue: Justification for adding the "event-source" element.
Details: event-source is used to "catch" server sent events.
Rationale: Why this Element Should be Added
- To build Web Applications, it is nice if you can make them listen to things that happen outside the page. This can be done by just connecting to your server and checking whether you updated something. The benefit that event-source offers is having a common standard for doing this (and format for the data). This means you can build a service or three, and other people can build clients to connect to them, without first negotiating with you how to make a connection to your particular service and program specific code to deal with your personal format for sending the events.
- List Rationale
- List Rationale
- List Rationale
- List Rationale
- Applicable Design Principles (proposed)
- Specific Principle
- Specific Principle
- Specific Principle
- Specific Principle
Rationale: Why this Element Should Not be Added
- List Rationale
- List Rationale
- List Rationale
- List Rationale
- List Rationale
- Applicable Design Principles (proposed)
- Specific Principle
- Specific Principle
- Specific Principle
- Specific Principle
Advice From Authorities
- Need to Add - Author
Research
- Need to Add - Author
Examples
- Need to Add - Author
Use Cases
- Opera Web Chat - Opera
- Remote Events for XML (REX) - W3C
- Web mail applications could use the events to instantly notify users of new emails without having to reload the page.
- Web based Instant Messaging (e.g. Google Talk, which is built into GMail or Twitter's web interface).
- Interactive web based games. (e.g. Events could be used to notify players of another users move).
Policies, Guidelines, and Law
- Need to Add - Author
Related References
- Event Streaming to Web Browsers - Arve Bersvendsen
Related E-mail
Thread
- Use case - event-source - Charles McCathieNevile (Thursday, 6 September)
- - Use cases for a few elements: event-source, details, datagrid, datalist, menu, and command - Lachlan Hunt (Thursday, 6 September)
See also
- event-source in the HTML5 draft