This question is not a 'do it for me question' I have spend ages and ages on google trying to find a solution or service
I am basically trying to create a notification on my website that I can push to the server and play to my users as and when I need to alert them,
I have a website where my users will react when I have posted information and I need to alert them with sound increasing their reaction time.
Im using a Joomla 3.2.3 based website
This is previously dicussed here and here
I think it is probably most viable to write an ajax-based module that query the server every X seconds, and pop up notifications if there are any. Using websockets is probably a lot more work,
regards Jonas
Related
I hired a programmer to make a basic program in for me that is written in PHP.
I am hosting it on my own web host.
It is basically a web crawler that returns data on certain websites that are entered into the database.
This software was created without any "user account" functionality- it is just a single instance that is not even properly protected by a login/password button.
I want to finish developing this cloud-hosted software and then be able to sell it to people on a monthly subscription. Obviously I will need a way to create an account for every person that signs up- so they can each access their own account of the software with their own database of whatever websites they want to enter into the software(in other words just how every cloud software works).
My question is definitely a newb one, but basically I want to know, what technology is used to do this? What kind of program/service/code is used to add simple "user account functionality to a basic cloud software?
P.S. I would ask the guy who made it but he took my money and ran after making a a piece of junk.
The way that this is done is to modify the PHP to add a login feature. There is unlikely to be an out of the box solution that will work. Rather than having to create a new database every time someone signs up, you would modify the existing database to add a user column to each table, and then update the code to only display the data for the currently logged in user.
Unless you want to spend a few months learning PHP and whatever database you are using, you're going to want to hire another programmer to do this for you. Someone good would charge $200-300 for this. Or you can try taking the lowest bidder for $50 or so, and hope they don't run off too.
I have a symfony2 app what stores data in MySql. It's a simple app, I mainly use just php.
In the app there are some administrators and they got a dashboard where they see every activity in the app. You have to refresh the page to see the new activities.
Now I have to make the dashboard real time.
There are some event specific notifications, for example you push a red button on your panel, and in 3 days you have to push it again. If 3 days past and you didn't push it, the administrator who is watching the dashboard now instantly get a notification. The other admins see it too after they watch the dashboard.
And there is the "real real-time" things, you push a blue button on the website and every administrator instantly get a notification on their dashboard, no time delay.
I never worked with real time apps before, so I read a bit in the topic.
I read about pubnub (and its brothers),socket.io and node.js but I'm not sure abou the most efficent model.
Pubnub have SDKs for PHP and socket.io, so I think I can do the real time part, but have no idea how to start the time specific notifications.
On the other hand, maybe I should go with the node.js, and do a long pooling solution, so I constantly read my MySql server with node and push notifications to Socket.io ,but I'm not sure countinously read my database is a good idea.
I know php is not really the language for deamons, I know nothing how it's going with node.
I'm not really asking for code, but for logic, how could I implement this in a smart and efficent way?
I apologize in advance if this question is too subjective.
I am working on an iOS app that allows users to search through multiple API's to find a result, and then get a push notification when results similar to the ones the user signed up for are found in those APIs.
I am comfortable with the iOS part of the app, but what I am curious about is how should I handle polling multiple API's regularly to see if any of the signed up for topics have received a new item.
The first thing that I imagine is that if a user signs up, for example, to receive notifications when a new X is available, I would have a web server that would go through each of the signed up topics for each user every X minutes, if there is a new result then send a push notification to the user. Even though I have little experience doing such a thing, I know that this will probably be very taxing on the server, and will only get worse as the user base expands.
So rather than periodically querying the API's in the background, how could I go about doing this? As far as I know, the API's I would be use do not allow for push notifications to my server from the API.
Thanks in advance,
Will
I want to integrate the Facebook chat system in my PHP based website. I have
searched developers.facebok.com for data, but it says very little about Jabber XMPP, and I don't know how to use it. If you could post some step-by-step tutorial for integration of Facebook chat or any link for that tutorial that would be so nice of you.
I just want to add Facebook chat as I need to do add some on action events for this chat.
So I want a code tutorial for this. I'm searching for any direct code embedding.
Give Jaxl PHP Library a try which also supports X-FACEBOOK-PLATFORM authentication method. There are plenty of examples xfacebook_platform_client.php to help getting started.
I do not think that you can embed existing Facebook chat so you have to write your own client. As Facebook chat protocol is Jabber/XMPP, you have to implement a chat with XMPP capability.
There are some libraries mentioned on http://xmpp.org/xmpp-software/libraries/. Maybe there is also a ready-to-use XMPP chat software.
Direct code embedding of facebook related chat , you can consider impossible since integrating facebook chat is really a tough job and people actually pay and get it , for example CometChat . The second point is that , since your website is purely php based , it will be much more difficult . Better use nodejs to create a socket server make a chat in Javascript that would connect to our Nodejs server.
As you , go through this implementation , your job will no longer seem hard . Believe me , it took me months to realise that php wrecks in this area of chat .
It's been a mystery how does Cell Minute Tracker manage to fetch AT&T users data.
Maybe someone here has the long waited answer.
I'm really curious rather they got a confirmation to scrape user’s cellular report
And how they can fire up multiple requests to AT&T site without being banned?
I'm waiting for someone who could shed some light on this mystery
Thanks
link: http://www.uquery.com/apps/311637771-cell-minute-tracker-for-att
From what I can tell the application is running locally on a iPhone, it is using the user created login account, so it is just like the user going to the site, thus no issues.
Internally it would be scraping the site to get the information to display to the user.
Now, given your question who knows if they got confirmation, but the second part of your question in regards to multiple requests is moot, since it is each device contacting, not their server.
It is impossible to know exactly how they're doing it, however my guess is they're requesting your balance and minute usage and just parsing the text message you receive back with that information.
// for at&t
*BAL# for balance on your account
*DATA# for data usage
The text message is free.
How do they do it for Rogers in Canada?
Does Rogers provide a text message with the current SMS and minutes balance?