|
|
| |||||||
| Website showcase If there's something that you would like to promote this is the place. |
![]() |
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| Junior Member Join Date: Aug 2007
Posts: 2
Rep Power: 0 ![]() | I had an idea of Adding Multi-threading functionality to php ( i called it PHPThreader ) in little words the idea was :- 1. make a Js class which Creates Ajax Objects in order to call PHP Scripts(Threads) 2. then make a PHP class Implements and Interfaces the Js Class 3. Implement the PHP Class with your script easily and LAUNCH threads very easy Just Like:- $obj=new Thread($filename,$Inputs); in other words:- $e=new Thread("Download.php","url="http://www.phpfreaks.com"); you will find the Classes & Documentation & Examples at :- http://sourceforge.net/project/showfile ... _id=532251 where AjT.php : the Js Class which is implemented by the PHP class Threader.php : PHP Class, which is a front to deal with the Js Class Bag.php : is also dealing with Js Class to know the status of Thread( a finishing Alarm ) Please tell me what do u think of the Idea & Implementation .Thanks in advance |
| | |
| Sponsored Ads | #1.5 |
| Sponsored posting Join Date: The beginning
Posts: lots
| Sponsored by... WM Media - Sell Your Website at above market prices!
|
| |
| | #3 (permalink) |
| Junior Member Join Date: Aug 2007
Posts: 2
Rep Power: 0 ![]() | Hello everybody it's been around 9 months since the last update to class and finally i got time to it PHPThreader 1.6 Released you can get it from sf here : h t t p://sourceforge.net/project/showfiles.php?group_id=203377&package_id=242365&re lease_id=617030 or from phpclasses here : h t t p://www.phpclasses.org/browse/package/4082.html --- The new version has the following features :- 1)Full Online Documentation of class here : h t t p://ajphpth.sourceforge.net [An offline version is provided in sf] 2)new Communication Class : Shared Memory (shmop required ) 3)new Thread Calling Class : CliThread (using shell calls) 4)new Abstract Mutex Class which can be used from user defined Communication Clases . 5)new automatic System of thread watching 6) a simple loader to overcome path issues 7)new methods like Join() --- hope to hear from you about it Thanks |
| | |