HTML and CSS Reference
In-Depth Information
var pusher = new Pusher ( APP_KEY );
pusher . connection . bind ( 'state_change' , function ( states ) {
Pusher . log ( 'Connection state changed from: ' + states . previous + ' to
' + states . current );
});
Conclusion
We're seeing real-time functionality appearing in a large number of high profile applications:
some have it at the core of what they offer whilst others use it sparingly. No matter how it is
used the end goal is generally the same; to enhance the user experience and keep users
engaged with an application. By converting a basic blog commenting system into a more
engaging communication platform I hope I've demonstrated that the functionality and
experience can easily be layered on existing application.
The ease of access to this technology is a relatively new thing and we've only just touched the
potential uses for the technology. Real-time stats, instant news updates, activity streams,
social interaction, collaboration and gaming are just a few common uses but as more
developers become aware of, and comfortable with, the technology I'm confident that we're
going to see some truly amazing innovation. An "Internet of Real-Time Things?"?❧
1. http://pusher.com
2. http://en.wikipedia.org/wiki/Real-time_web
3. http://en.wikipedia.org/wiki/Comet_(programming)
4. http://en.wikipedia.org/wiki/Publish%E2%80%93subscribe_pattern
5. http://pusher.com/websocket
6. http://www.w3.org/TR/websockets/
7. http://tools.ietf.org/html/rfc6455
8. https://github.com/pusher/realtime-commenting/zipball/start
9. http://coding.smashingmagazine.com/2009/08/04/designing-a-html-5-layout-from-scratch/
10. https://github.com/pusher/realtime-commenting/blob/start/index.php
 
 
 
 
 
 
 
 
 
 
Search WWH ::




Custom Search