Archive | June, 2010

How to setup a Hostname for local network?

Well, it’s not that difficult if you know what to do How to setup Hostname for local network? You gonna need to edit your “host” file. Mac / Linux sudo nano /etc/hosts/ Windows Notepad C:\WINDOWS\System32\drivers\etc\hosts You can match IP and Hostname whatever you like and then can be call with Hostname in future. 192.168.1.36 call.me

Ejabberd How to – in Ubuntu Server

How to install Ejabberd in Ubuntu Server? Way 1 : Use debian packages but I found myself start-up problems. If you still want to try, follow the steps.. sudo apt-get update sudo apt-get upgrade sudo apt-get install ejabberd Click here to learn more Way 2 : Compile source code yourself. It won’t really difficult if [...]

How to share sessions between PHP and eJabberd

I thought I’ll be useful for me in future by knowing how to share sessions between PHP and eJabberd. So here is what I found out. Extra Resources XMPP is the technology behind real-time messaging application Jabber List of XMPP open-sourced servers are here. Among several servers, eJabberd and Openfire are popular. XMPP client libraries [...]

SQLstream

SQLstream kind of technique that enhances traditional query to support real-time very dynamic data such as chat logs from Database. In a traditional RDBMS, all data must be stored first, and then queried. RDBMS queries are reactive and finite – in the example query above, a traditional database would return all of the New York [...]

COMET – Mini Resource

Following links are very useful if you want to familiar with the umbrella term called COMET. How to implement COMET with PHP http://www.zeitoun.net/articles/comet_and_php/start Comet story (part 1+2+3) http://www.demo.codesetter.com/comet-whiteboard-0 http://www.demo.codesetter.com/comet-whiteboard-1 http://www.demo.codesetter.com/comet-whiteboard-2 Starting Out With Comet (Orbited) Part 1+2+3 – The Client http://thingsilearned.com/2009/06/09/starting-out-with-comet-orbited-part-1/ http://thingsilearned.com/2009/06/25/starting-out-with-comet-orbited-part-2-installation-and-stomp/ http://thingsilearned.com/2009/08/03/starting-out-with-comet-orbited-part-3-%E2%80%93-the-client/