I've heard numerous and varied commentaries here and on other fora
regarding PHP and the concept of threads. Coming from a Java
background I understand how threads benefit to prevent collisions, all
the while carefully written to avoid "race conditions" while a web
application is being utilized in a multi-user environment.
However, are there examples in PHP alone where this same technology is
possible? I am faced with having to deal with the issue of potential
collisions within a web application I built since one user could delete
the exact same data/files/objects another user is simultaneously
creating, however, requirements are that the app must be
multi-user-friendly.
How can this be done in PHP, if at all, otherwise, what do you
recommend that is open-source and non-licensed?
Phil
regarding PHP and the concept of threads. Coming from a Java
background I understand how threads benefit to prevent collisions, all
the while carefully written to avoid "race conditions" while a web
application is being utilized in a multi-user environment.
However, are there examples in PHP alone where this same technology is
possible? I am faced with having to deal with the issue of potential
collisions within a web application I built since one user could delete
the exact same data/files/objects another user is simultaneously
creating, however, requirements are that the app must be
multi-user-friendly.
How can this be done in PHP, if at all, otherwise, what do you
recommend that is open-source and non-licensed?
Phil
Comment