Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/swiip/hello-twitter
websockets demo implementations with twitter stream api
https://github.com/swiip/hello-twitter
Last synced: 12 days ago
JSON representation
websockets demo implementations with twitter stream api
- Host: GitHub
- URL: https://github.com/swiip/hello-twitter
- Owner: Swiip
- Created: 2012-05-24T12:14:04.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2012-06-08T11:40:50.000Z (over 12 years ago)
- Last Synced: 2024-10-15T13:26:31.385Z (24 days ago)
- Language: JavaScript
- Size: 2.7 MB
- Stars: 9
- Watchers: 5
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# WebSockets in practice
This GitHub repository aims to regroup some implementations of the same application based on WebSockets.
As a Java specialist, most of the chosen implementations are in Java but I've added the [node.js](http://nodejs.org) / [Socket.IO](http://socket.io/) implementation as sort of reference.
## Hello Twitter
The application each implementation is targeting is very simple and based on the [Twitter Streaming API](https://dev.twitter.com/docs/streaming-apis).
The text field on top of the column is for entering a search query, when the user push enter, the query is sent through the WebSocket to the server which will open the stream on this filter. On each tweets from the stream, the server will push it to its client which will show it in the main column.
The Web part is almost the same in each example and heavily inspired by Bodil Stokke [@bodiltv](https://twitter.com/#!/bodiltv) and [her talk](http://www.mix-it.fr/session/95/painless-web-app-development-with-backbone) about [Backbone.JS](http://backbonejs.org/) at [Mix IT 2012](http://www.mix-it.fr/). The [node.js](http://nodejs.org) implementation as well.
##Implementations
These are all the implementation I first planned to make but it's possible to add one or another if asked or needed.
- [node.js](http://nodejs.org) & [Socket.IO](http://socket.io/)
- [Play framework 2.0](http://www.playframework.org/)
- [vert.x 1.0](http://vertx.io/)
- [WebSocketServket with Jetty 8.1](http://wiki.eclipse.org/Jetty/Feature/WebSockets)