Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > XML > BOOK: Professional XMPP Programming with JavaScript and jQuery
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Professional XMPP Programming with JavaScript and jQuery
This is the forum to discuss the Wrox book Professional XMPP Programming with JavaScript and jQuery by Jack Moffitt; ISBN: 978-0-470-54071-8
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional XMPP Programming with JavaScript and jQuery section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Display Modes
  #1 (permalink)  
Old July 17th, 2015, 08:13 AM
Registered User
Points: 8, Level: 1
Points: 8, Level: 1 Points: 8, Level: 1 Points: 8, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jul 2015
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to transfer information with XMPP

Hello,

I read your book (actually part of !) and it's very interesting ! I successed building my own openfire server and creating a one-to-one chat thanks to you.

Now i want to add a functionality to my project. This one-to-one chat will be integrated to an app build with cordova (for deploying on android and iphone). This project is about giving your own availability for today and/or the next few days, so you can start asking your friends/collegues/family to have lunch, diner or just a drink. If you see someone available, you can ask him by a sending him a notification. If he accepts, you can start chating with him to give some details (where exactly, when exactly...)

For the moment, the availability of people is stored in an SQL database on my server and PHP update this.

Can i handle this using XMPP instead of PHP/SQL ? Because i need to build a chat client and server, i wondered if it could be simplier to handle the availability of people with XMPP.

Please feel free to ask me details if you need to !

Thank you
François

PS: sorry if i make mistakes, english is not my native language ;)

Last edited by François; July 20th, 2015 at 05:47 AM.
  #2 (permalink)  
Old August 6th, 2015, 10:40 AM
Registered User
Points: 8, Level: 1
Points: 8, Level: 1 Points: 8, Level: 1 Points: 8, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jul 2015
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

For those having the same idea, i finally managed to implement that with PubSub (XEP-60).
Each user create his own PubSub node to publish items (here, an item represents your availability to an event, eg. today's lunch), and all friends of this user subscribe to this node.
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
File transfer using jingle in XMPP Purushotham BOOK: Professional XMPP Programming with JavaScript and jQuery 2 February 17th, 2015 07:25 AM
Openfire and xmpp:restart sarahgt BOOK: Professional XMPP Programming with JavaScript and jQuery 1 February 5th, 2012 08:10 PM
Establishing XMPP connection badinar BOOK: Professional XMPP Programming with JavaScript and jQuery 0 January 20th, 2011 06:27 PM
XMPP server authentication badinar BOOK: Professional XMPP Programming with JavaScript and jQuery 1 January 17th, 2011 01:50 PM
What about NoSQL over xmpp? flossy BOOK: Professional XMPP Programming with JavaScript and jQuery 2 June 28th, 2010 03:22 PM



All times are GMT -4. The time now is 09:19 AM.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.