>From: Jan Fabry <[EMAIL PROTECTED]> >Reply-To: [EMAIL PROTECTED] >To: [EMAIL PROTECTED] >Subject: [JDEV] A Jabber 'client deamon' >Date: Tue, 26 Mar 2002 17:18:33 +0100 > >Hello, > >I'll try to explain my idea, but feel free to ask questions if anything >is unclear! > >I was thinking about some sort of 'client deamon' for Jabber. The >situation I'm confronted with is the following: > >I have a website running MyPHPNuke (a Content Management System - >visitors can enter news, which I then review and eventually post on the >page - in some ways similar to Slashdot). Every time someone enters a >new news item, I would like to be notified of this. Jabber seems like a >good way to do this. > >However, there is a problem. Every time I want to send a message, a >connection to Jabber should be open. I can do this with Perl, but I >still need to sleep() some time, because I'm waiting for the Jabber >server to respond. When the connection is open, I can send my message. >After this, the connection is closed, and the page can finish loading. > >Schematic view: >1. User submits new story >2. Server starts new process to handle this request >3. Server process opens connection to Jabber server >4. Server process sends message >5. Server process closes connection to Jabber server >6. Server process returns page to user > >Can you see the problem? Steps 3 and 5 should be avoidable. > >My suggestion is: > >At boot time, some sort of 'client deamon' is started, and it logs in to >the Jabber server. When I want a PHP script to send a message to me, it >only does a small call to some application, that then connects to the >daemon to send it. > >Maybe there this should work in two ways: I can send a message to 'the >machine', to execute some task. > >I'm sorry if all this sounds confusing, but I don't know how to explain >it otherwise. > >Greetings, > >Jan Fabry [...]
I don't know if you've read my post "Thesis work: Jabber news watcher", but I actually would like to do the same but than for my thesis. The first problem is that I don't know if my professers will let me do that subject (already e-mailed them, but for the moment haven't received anything yet). Second problem is that if I would get it, I only start the programming next acadamic year (maybe already in July, otherwise it will be October). The 3rd problem is that - because I have to prove that I can set up and implement a progrom - that I'll have to do most of the things myself (of course I would need the help of [JDEV], because I will have a lot of questions I think). The advantage is that if I want to pass through my "license in informatics" I have to have a working example, with fully commented code and with a lot of explanation so other Jabber-users can easily use it. Mattias Campe PS Mocht je een private e-mail zenden naar mij op [EMAIL PROTECTED], dan kan je dat gerust in het Nederlands doen ;-), kwestie dat we elkaar beter zouden verstaan. _________________________________________________________________ Meld je aan bij de grootste e-mailservice wereldwijd met MSN Hotmail: http://www.hotmail.com/nl _______________________________________________ jdev mailing list [EMAIL PROTECTED] http://mailman.jabber.org/listinfo/jdev
