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?"?❧
—