Is there any instant messaging framework or service that enables in-site chatting like the Facebook chat-bar or the Meebo bar?
I think you should read about COMET. For making your own instant messaging system.
You can find more information on wikipedia:
http://en.wikipedia.org/wiki/Comet_%28programming%29
There seems to be a solution now named CometChat, which is a commercial product.
http://www.cometchat.com/
As already mentioned this could be implemented via a technique called Comet. (The term was coined by Alex Russell in a blog entry.) But PHP does not seem to be very well suited for this technique as already discussed on StackOverflow:
Using comet with PHP?
How to implement a chat room using Jquery/PHP?
solution for COMET and PHP
You should have a look at these threads because they also provide further explanations as well as hints for solutions or alternativ implementations.
Related
I have been struggling to find an active open-source PHP project that supports OAuth 2.0 as a server. There are tons of client examples that connect to Facebook, Twitter, etc. but as more and more people want to expose their own services through an API I'm a bit surprised the open source community hasn't addressed this need already. It's not that there is nothing but what's there is mostly out-of-date, little-to-no documentation, and very little to no activity in terms of current development and conversation.
Am I missing a good open-source option out there? Does anyone know of any commercial options? I really need to get something in place soonish and I personally don't have the bandwidth or security credentials to tackle this problem myself.
After much searching around I believe I have found the best solution for PHP'ers out there. Opinions are a dime a dozen but here's my favourite:
http://bshaffer.github.io/oauth2-server-php-docs/
Very active, high quality conversation and a solid product along with good (and improving) documentation.
Here is the list of available server and client libraries:
http://oauth.net/2/
which leads to a github project which is maintained.
oauth2 server by php league is much more followed and downloaded project on github. My personal experience has been awesome and the best part is it's documentation. Excellent implementation of oauth2.
According to http://www.zimuel.it/oauth2-apigility/ & http://apigility.org/documentation/auth/authentication-oauth2
You now can implement OAuth 2.0 Server using the open source project Apigility, with Brent Shaffer's implementation underneath...
in the end...
The OAuth2 implementation in Apigility uses the oauth2-server-php
library by Brent Shaffer. Apigility uses a PDO database to store all
the information related to the OAuth2 protocol. You can create your
database using the schema reported in the file
/vendor/zfcampus/zf-oauth2/data/db_oauth2.sql under your Apigility
installation folder (zf-apigility-skeleton).
I'm looking to implement a real-time collaboration on a document on the web. Is there some sort of library that enables it in PHP? Something similar to SignalR which creates 'persistent connection' by using long-polling.
update found this library for pubsubhubbub http://code.google.com/p/pubsubhubbub/source/browse/trunk/publisher_clients/php/
Searching on the library name led me to How to implement PubSubHubbub?
Checkout pubsubhubbub
http://code.google.com/p/pubsubhubbub/
I have tried googling a lot but couldn't find a library which can provide me single-sign on feature for my website.
I am looking for similar script like stackoverflow is using for facebook, twitter, google, openid etc...
I have tried hybridauth, http://hybridauth.sourceforge.net/ but it's not working for me.
Could you guys please suggest me other alternatives?
I've seen several website using this library : http://www.janrain.com/products/engage
(formerly https://rpxnow.com/)
I have not personally tried..
Why not OpenID itself? I heard good thing about it, and the same, as you specified, SO use it. There's an OpenID website that keep track of all libraries found from official OpenID team of third-part solution that you can find here: http://openid.net/developers/libraries/.
Choose what suits best your needs.
Notice that they warn you:
We have setup a code repository for gathering libraries and other supporting examples. While several of these libraries have been tested, they are maintained by members of the OpenID community and are not necessarily known to work.
Do we have any BPM frameworks developed in PHP?
I did a Google and found some old (2005) entires which talk about starting such a project. But I don't see any solid framework out and running. So, I was just curious.. do we have any?
If not, why haven't the community yet developed one? Zend framework is a leading PHP framework, why haven't they started developing such a component?
Most of the relevant BPMN 2.0 based Open Source Process Engines are written in Java (e.g. Activiti, Camunda, jBPM, Bonita). If you would like to integrate such an Engine into your PHP-Application, you could use the REST-APIs of those Engines. With this approach, you could use proven BPM-Engines within your PHP application. In addition, you have benefits like active communities, stable code etc.
Could this be an adequate alternative for your usecase?
We have developed a new BPM framework from the ground using PHP called Process Companion. It is based on the BPMN 2.0 standard. Get more information at http://www.processcompanion.com
You should check EzerPHP out. Very promising.
code.google.com/p/ezerphp/
https://code.google.com/p/hush-framework/
Here is another choice, very fit. The only problem is it's description is in Chinese.
BTW. I'm a Chinese lol.
About to start working on a social networking site, but I'd like to incorporate OpenID logins.
The JanRain plugin is packed in Debian, but seems flakey, and my brief interactions with it so far have not gone well. There's a bunch of others out there, but which ones are people using in production?
The OpenID Wiki has a great list of libraries available for PHP. Always begin your searches in the official documentation.
I have personally used and recommend EasyOpenId (requires PHP OpenID).
See PHP library for openID for a list of other PHP OpenID libraries.
I personally use the PEAR OpenID library.
I've used the Zend_OpenID library from the Zend Framework and had good success with that. Very easy to setup and very easy to use. Their documentation on it is pretty extensive as well and comes with some good code samples that should show you everything you need to know. I used this briefly on one of my sites I was working on and only removed it because users didn't like OpenID in general. But the implementation was quick and easy.
Zend Framework OpenID Documentation