Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Search Forums
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Welcome to the p2p.wrox.com Forums.

You are currently viewing the 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
Showing results 1 to 25 of 40
Search took 0.01 seconds.
Search: Posts Made By: drayarms
Forum: BOOK: Beginning Swift Programming December 27th, 2015, 07:31 AM
Replies: 0
Views: 2,239
Posted By drayarms
SwipeGestureRecognizer not working properly for left, up, and down

I'm trying to implement swipeGestureRecognizer for all four directions in a swift app, on a bunch of dynamically generated UIViews. So basically, I want each of these views to respond to swipes in...
Forum: BOOK: Professional XMPP Programming with JavaScript and jQuery October 22nd, 2014, 06:59 PM
Replies: 1
Views: 1,234
Posted By drayarms
it helps if you have some code to show us. No...

it helps if you have some code to show us. No one can figure out what's wrong with your code if we can't see what you wrote in the first place. Here's a stripped down version of chapter 3 which I...
Forum: BOOK: Professional XMPP Programming with JavaScript and jQuery August 15th, 2014, 04:06 PM
Replies: 0
Views: 1,888
Posted By drayarms
Anyone successfully used strophe.register.js?

I'm trying to use the strophe.register.js plugin from github https://github.com/strophe/strophejs-plugins/tree/master/register to do in-band registration. When I load my page, I get the following...
Forum: Javascript July 23rd, 2014, 07:05 PM
Replies: 0
Views: 1,329
Posted By drayarms
How to you pass variables into a web sql limit clause

I'm using web sql to store and retrieve data to and from a mobile device's local memory. I wrote the following query for the retrieval part which works just fine



var sql = "SELECT *...
Forum: BOOK: Professional XMPP Programming with JavaScript and jQuery July 16th, 2014, 07:24 PM
Replies: 1
Views: 576
Posted By drayarms
Has anyone successfully used Strophe.Status.DISCONNECTING object?

I'm trying to use the Strophe.Status.DISCONNECTING object to notify other users in a multiplayer game when someone unexpectedly goes offline. It doesn't work though. So far I've used all the other...
Forum: BOOK: Professional XMPP Programming with JavaScript and jQuery June 28th, 2014, 06:34 PM
Replies: 0
Views: 792
Posted By drayarms
Handler takes forever to get triggered when jabber chatroom is joined

I'm trying to send this stanza to join the jabber conference chatroom


<presence to = "jabber@conference.jabber.org/nickname">

<presence/>


I have written a handler to trigger some action...
Forum: BOOK: Professional XMPP Programming with JavaScript and jQuery June 25th, 2014, 08:01 PM
Replies: 0
Views: 695
Posted By drayarms
Cool How to handle joining a chat room

I've been splitting hairs, trying to accomplish what I though would be simple and straight forward (writing a handler which triggers an action once a user joins a chat room).

So here's the line...
Forum: BOOK: Professional XMPP Programming with JavaScript and jQuery June 5th, 2014, 06:58 PM
Replies: 3
Views: 651
Posted By drayarms
Is metajack bosh connection manager currently working?

I don't know if it's just me but is anyone currently experiencing problems connecting through metajack bosh connection manager?
Forum: BOOK: Professional XMPP Programming with JavaScript and jQuery May 16th, 2014, 05:22 PM
Replies: 0
Views: 520
Posted By drayarms
How to tell another user's online status?

What's the best way to find out the online status of another user whose jid is known? Well here is how I am attempting to go about it

1) Send initial presence
...
Forum: BOOK: Professional XMPP Programming with JavaScript and jQuery April 7th, 2014, 11:37 PM
Replies: 5
Views: 895
Posted By drayarms
Sorry but not sure I understood what you meant by...

Sorry but not sure I understood what you meant by verifying if the room works in another client.
Forum: BOOK: Professional XMPP Programming with JavaScript and jQuery April 7th, 2014, 10:42 PM
Replies: 5
Views: 895
Posted By drayarms
Question about Groupie

It doesn't seem like groupie works correctly. I try to login with my JID, password, and for the room name, I use "jabber@conference.jabber.org" and I pick any random name for the nickname. It...
Forum: BOOK: Professional XMPP Programming with JavaScript and jQuery April 4th, 2014, 01:21 AM
Replies: 3
Views: 1,989
Posted By drayarms
I uploaded strophe.register.js from github to my...

I uploaded strophe.register.js from github to my server. Then I ran the register plugin. My final code looks like this(I'm including the html for clarity)





When I fill in the username and...
Forum: BOOK: Professional XMPP Programming with JavaScript and jQuery April 3rd, 2014, 10:18 PM
Replies: 3
Views: 1,989
Posted By drayarms
I'll take a look at that Jack. Thanks for the...

I'll take a look at that Jack. Thanks for the lead.
Forum: BOOK: Professional XMPP Programming with JavaScript and jQuery April 3rd, 2014, 12:31 PM
Replies: 3
Views: 1,989
Posted By drayarms
In-band registration: How do I connect to the network to register new users?

Hello once again coders, anyone familiar with in-band registration? I just found out about it and decided it was the best way to hook up my app users with jabber ids, without having them go through...
Forum: BOOK: Professional XMPP Programming with JavaScript and jQuery November 2nd, 2013, 04:15 PM
Replies: 3
Views: 3,987
Posted By drayarms
My solution to the authentication problem is...

My solution to the authentication problem is this: I completely get rid of PHP sessions. Instead, I use PHP to check the database and confirm that the username, password combo matches. If they do,...
Forum: BOOK: Professional XMPP Programming with JavaScript and jQuery November 2nd, 2013, 04:06 PM
Replies: 6
Views: 685
Posted By drayarms
Thanks for the good work Jack.

Thanks for the good work Jack.
Forum: BOOK: Professional XMPP Programming with JavaScript and jQuery October 17th, 2013, 09:46 PM
Replies: 6
Views: 685
Posted By drayarms
Same experience here. I get stuck at...

Same experience here. I get stuck at "connecting", that means no connection is established at all. The problem must be stemming from the Bosh connection manager. Maybe Jack would have a clue since...
Forum: BOOK: Professional XMPP Programming with JavaScript and jQuery October 13th, 2013, 11:23 AM
Replies: 0
Views: 632
Posted By drayarms
bosh.metajeck unable to load?

I've been unable to establish a connection in my app for almost two days now and the problem apparently is that the server wouldn't load http://bosh.metajack
I don't know what to make of it. I...
Forum: BOOK: Professional XMPP Programming with JavaScript and jQuery October 13th, 2013, 11:22 AM
Replies: 6
Views: 685
Posted By drayarms
bosh.metajeck unable to load?

I've been unable to establish a connection in my app for almost two days now and the problem apparently is that the server wouldn't load http://bosh.metajack
I don't know what to make of it. I...
Forum: BOOK: Professional XMPP Programming with JavaScript and jQuery August 31st, 2013, 01:12 PM
Replies: 6
Views: 1,441
Posted By drayarms
Turns out the problem was I had to include the to...

Turns out the problem was I had to include the to attribute and assign a priority in the presence stanza. What's weird is that for weeks, the $pres() build method worked just fine without any...
Forum: BOOK: Professional XMPP Programming with JavaScript and jQuery August 31st, 2013, 11:26 AM
Replies: 6
Views: 1,441
Posted By drayarms
Now I can have multiple devices with the same...

Now I can have multiple devices with the same priority value right?
Forum: BOOK: Professional XMPP Programming with JavaScript and jQuery August 30th, 2013, 10:02 PM
Replies: 6
Views: 1,441
Posted By drayarms
What's the difference between invisible presence...

What's the difference between invisible presence and regular presence?
Forum: BOOK: Professional XMPP Programming with JavaScript and jQuery August 30th, 2013, 09:14 PM
Replies: 6
Views: 1,441
Posted By drayarms
Message stanza sent to bare jid not being received

I've been working on this application and all of a sudden, without having changed anything in my files to the best of my knowledge, all my message stanzas stopped working. All but one. On...
Forum: BOOK: Professional XMPP Programming with JavaScript and jQuery August 29th, 2013, 12:54 AM
Replies: 2
Views: 5,663
Posted By drayarms
Hey Jack, I also suspect that my web server is at...

Hey Jack, I also suspect that my web server is at fault here. The URL is http://caffiage.com/ludo/hello.php

I get the error as soon as the page loads.
Forum: BOOK: Professional XMPP Programming with JavaScript and jQuery August 28th, 2013, 05:04 PM
Replies: 2
Views: 5,663
Posted By drayarms
Failed to load resource scripts/signup.php

Up to now, I have been able to establish a connection to jabber with no qualms on the application I'm building. All of a sudden, I can't connect anymore and that problem has been persistent for over...
Showing results 1 to 25 of 40

 


All times are GMT -4. The time now is 03:36 PM.


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