Is this possible? I’ve done a project in Java involving data (XML) being shared between distributed systems syncronously using RMI, but I was wondering if it’s possible to do this using PHP?
What I’m trying to achieve is a syncronous connection to an object which will have many clients connected to it (different people) and they can all share the same data syncronously.
AJAX can do this this, but it’s always interacting with the database. I don’t want to interact with a database–is there some way to keep a PHP object alive to receive and release data syncronously to clients (users on the system).
Ultimately, I want to make it so that every client connects to a “live” PHP object, and then that PHP object connects to the database. Kind of like a manager class in a typical RMI system.