Web based chat between users in my web app [closed] - php

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I would like my users to able to chat with one another.
I currently use angularjs as the front-end and PHP in the back-end.
any ideas?

You should be looking at different languages for this. Node.js, MongoDB and Redis is a good start.
Also, just expecting people to give you code with such a vague request is not really in line with the spirit of things here. There are plenty of good examples online and a simple Google search would give you results like this https://github.com/joni2back/spachat if you're really keen on using PHP and Angular.

Related

How to handle multiplayer games with a PHP backend? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I'm supposed to write a PHP backend that handles a multiplayer game for Android and iOS where users from both platforms to be able to play together.
I'm new to sockets in PHP, and couldn't find any case where a PHP backend was used to handle this type of services, the question is, if it's not PHP that we need then what? what server handle these types of games?
This type of use case falls right into the sweet spot for node js because of its impressive abilities to handle sockets and concurrency. If it is possible to switch over to node I strongly recommend it. If you're stuck with php your options are pretty limitted. Two of them are Ratchet and PHPdaemon

What type of programming is needed to run an IOS app [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
So there are websites that use dynamic web pages and use PHP for this. Also websites need to use SQL to run information in their server databases.
How would an iOS app do this? Through the same type of programming (PHP&SQL)?
I'm a student only looking to learn. Thanks!
This should get you started - https://developer.apple.com/library/ios/navigation/#section=Resource%20Types&topic=Getting%20Started
And once you have had a look around in the above link, have a read of this https://developer.apple.com/technologies/ios/
Lastly if you want to really go creative and social check out the iOS SDK for Facebook and start making cool apps - https://developers.facebook.com/docs/ios/ios-sdk-tutorial/

Best Type of Chatbox in PHP [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I want to create a chatbox like gmail or facebook. What would be the best architecture to build it. Should It be good to use sockets or ajax?
If so, then would you please describe or give references of the architecture.
I'd suggest XMPP. I used it to design a chat system for within my companies software, and it worked quite well. There are plenty of XMPP libraries out there. If you were so inclined though, it it possible to use some of Google's services. Not everything needs to be written from scratch:
https://developers.google.com/talk/open_communications

Login with Google OpenID or other providers [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I am trying to figure out how OpenID works, therefore I am trying to write my own simple class for my web app that uses Google OpenID.
I am wondering if there are any examples that you know, or where I can find some details so I can implement my own class.
I am not looking for a very general class. I need something that will help me write my own implementation.
I have made good experiences with lightopenid (gitorious download). Unlike two other OpenID libraries I tried for PHP, it was very easy to use, has no external dependencies, is compatible with PHP5 and has no warnings.
There is an example for using Google.
And to display those buttons in the HTML page: http://code.google.com/p/openid-selector/

How to create a search system in Website using PHP? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I am pretty new to web development and I want to create a search system on my webpage, but I dont have any idea how to?
This search system must be able to search everything that is displayed on the webpage.
Please help me.
Use Google Site Search:
http://www.google.com/sitesearch/
That's the easiest way. There are other ways (Lucene, Solr, etc) but for most applications -- especially if you're just starting out -- Google Site Search is more than enough.
You can try Zend_Search_Lucene. It's a port of the well-regarded Apache Lucene search system.
you can use strpos
http://fr.php.net/manual/en/function.strpos.php

Categories