/atmosphere-javascript

atmosphere-javascript

Primary LanguageJavaScriptApache License 2.0Apache-2.0

Welcome to Atmosphere: The Asynchronous WebSocket/Comet Framework

The Atmosphere Framework contains client and server side components for building Asynchronous Web Applications. The majority of popular frameworks are either supporting Atmosphere or supported natively by the framework. The Atmosphere Framework supports all major Browsers and Servers

Follow us on Twitter or get the latest news here

Atmosphere transparently supports WebSockets, Server Side Events (SSE), Long-Polling, HTTP Streaming (Forever frame) and JSONP.

Install

You can get atmosphere.js and jquery.atmosphere.js. If you use a script tag whose src attribute is set to one of the below one, browser may not load it because the content type served by raw.github.com is text/plain. About Node.js client, see here

Also they are available in the following ways, but there may be delays between a release and its availability. We don't manage these ways officially but they are managed by open source community so you can contribute.

Maven

<dependency>
    <groupId>org.atmosphere.client</groupId>
    <artifactId>{jquery|javascript}</artifactId>
    <version>2.1.5|2.2.3</version>
 </dependency>

Bower

bower install atmosphere
bower install jquery-atmosphere

Docs

Full API documentation can be read here and a lot of samples here

  • 2.2.0 => Tested with Atmosphere Runtime 2.2.x , may work with lower version
  • 2.1.x => Tested with Atmosphere Runtime 2.1.x , may work with lower version
  • 2.0.x => Tested with Atmosphere Runtime 2.0.x and 1.0.13+

It is recommended to always use the version that match Atmosphere's runtime.

Latest version may work with lower version, but not officially tested.

githalytics.com alpha