…EventMachine provide a better model for building network servers. Technologies like XMPP and the WebSocket API that's part of HTML5 are also going to be key in the next generation of real-time, connected web and mobile applications.
Thank you Paul. In case you have any queries and/or questions, kindly post your questions here (as comments to this blog post) and Paul would be glad to answer.
…share with you a tutorial-like post explaining step by step how to build a simple application with a XMPP interface. The complete listing is also available on bitbucket
The application
I couldn't find something better than writing a xmpp weather bot. You type the name of a city and the bot answers with the current temperature and forecast information using the Google Weather API. Simple enough for this tutorial.
Try it first if you want
Open your XMPP compatible IM and …
Cover a variety of subjects. Our talks on cutting-edge technologies like MongoDB and XMPP have been great, but not every talk needs to be software-related, or even technical. Two of our most popular presentations have been regarding legal issues that affect software companies and tips on how to give great presentations.
Meet on a consistent basis. We hold our meetings on the second Thursday of every month (except when a record-setting blizzard makes travel impossible). This makes planning …
…XMPP. AMQP is the lighter one which uses a binary format, while XMPP uses XML. AMQP means Advanced Message Queuing Protocol, it is an open standard application layer protocol for Message Oriented Middleware.
To use AMQP in Ruby, you can use either the carrot gem (a synchronous AMQP client without using EventMachine) or the amqp gem (a simple AMQP driver for Ruby using EventMachine). You can install them both at once with $ sudo gem install …
XMPP
Unlike HTTP, XMPP ( eXtensible Messaging and Presence Protocol) was designed for real time applications and asynchronous communication. You've used XMPP if you've used Google Talk for chatting, or other Jabber IM services. At the simplest level, XMPP is a way to send instant messages around the Internet, with support for extending the definition of those messages to suit your needs. XMPP also defines a publish-subscribe extension, which would …
…speakers will be myself ( WebSocket and node.js) and Luis Cipriani ( XMPP, BOSH and Strophe) who is going to be visiting New Bamboo from Brazil. We are also hoping to to do a bit of hacking session, so bring your laptop!!
It's our first attempt to provide our office for such an event and we are very excited to meet other people who are interested in node.js
For more detail and registration, please visit London JavaScript Meetup Group page.
XMPP
Unlike Comet, XMPP stands for Extensible Messaging and Presence Protocol and it is a standards based protocol.
The main feature is "Presence" which takes care of authentication, and shows whether participants are online or not. You have already seen examples of XMPP use on web via GTalk and Google Wave.
XMPP Standards Foundation also defined "Bidirectional-streams Over Synchronous HTTP"(BOSH) which can be used to transport XMPP over …
…workitem table in some DB), a process listening somewhere else and reachable via a message queue ( XMPP, AMQP, Stomp, ...).
As IO operations depend on things outside of the engine, the dispatch operation was usually done in a new thread, so that, meanwhile, the engine's workqueue could go on with its work (and the other process instances).
When farming out work to ‘real' participants with wide concurrency, as the engine is spawning a thread for each dispatch, it gets crowded. …
…winner. Some honorable mentions: Django, Redis, Clojure, XMPP, Node.js, AMQP, Rails, jQuery, Solr, Hadoop.
Why I think Mongo is to Databases what Rails was to Frameworks . We have been amazed at how much code we cut out of Harmony with the switch from MySQL to Mongo.
A Deluge of Data Shapes a New Era in Computing . Dr. Gray called the shift a "fourth paradigm." The first three paradigms were experimental, theoretical and, …
Getting off the ground with XMPP
Without a good toolkit XMPP can be a gnarly protocol to get started with - Pidgin IM client has some great tools for spying on the exchange, but monitoring pages of XML scroll by can only get you so far. Thankfully, Seth Fitzsimmons has built switchboard ("curl for XMPP"), which offers a powerful command line tool to greatly simplify the process. Make sure to read the full tutorial , or jump right into it by testing …