PHP Developer's Network : Network Member Forums

Class: PHP Threader



  Search   All class groups   Latest entries   Top 10 charts   Newsletter   Blog   Forums   Help FAQ  
  Login   Register  
Recommend this page to a friend! Trackback URL: http://www.phpclasses.org/trackback/browse/package/4082.html
      Classes of Mohammed Yousef  > 
PHP Threader
 >  Download  >  Support forum Support forum  >  RSS 1.0 feed RSS 2.0 feed Latest changes  >  Stumble It! Stumble It!  >  Bookmark in del.icio.us Bookmark in del.icio.us  
  Screenshots Screenshots   Supplied by   Group folder image Groups   Detailed description  
  Rate classes User ratings   Trackback   Applications   Files Files  
  • Screenshots:

  • The Class Execution Diagram
    File Role Description
    Accessible without login Image file Class_Illustration.jpg Screen
    The Class Execution Diagram
  • Supplied by:

  • Picture of Mohammed Yousef
    Name: Mohammed Yousef is available for providing paid consulting. Contact Mohammed Yousef .
    Published packages: 1
    Country: Egypt Egypt - PHP jobs in Egypt
    Home page: ???
    Age: 18
    All time rank: 986
    Week rank: 641

    Browse this author's classes

  • Innovation Award:

  • PHP Programming Innovation award winner
    September 2007
    Winner
    Some times applications need to execute tasks that may take a long time to finish.

    Ideally the users should be able to keep track of the progress of the tasks being executed, so they know how much of the whole task has been done and what long it may take to end.

    This class can help solving these problems using AJAX requests to trigger the execution of long one or more tasks on the server side, as well retrieving information about the progress of the tasks while they have not yet finished.

    Manuel Lemos
  • Groups:

  • Group folder image
    Constructs to assist in the language control
    View top rated classes
    Group folder image
    Interact with the Web server without page reloading
    View top rated classes
  • Detailed description:

  • This class can be used to trigger the execution of multiple server side tasks via AJAX Or PHP Sockets.

    The Class has an OOP structure allowing adding calling Threads Methods Or Communication Methods as add-ons with no Major Changes

    it Comes with 2 Default Thread Calling Methods :-

    1. Ajax : in Ajax Method It generates Javascript to trigger the execution of one ore more PHP script by sending an AJAX request to a given URL.

    2. Sockets : in Sockets Method it uses POST requests to execute Multiple Scripts/Threads

    Multiple scripts may be executed in parallel as if they were separate PHP threads.

    Each thread may take it's own parameters .

    it Comes with 2 Default Thread Communication & Synchronization Methods :-

    1. Plain Files

    2. MySql Heap Engine/Table which is

    a)Faster and more efficient .

    b)gives the abillity that Threads work in different Servers and though communicate effeciently with each other .


    The Class has the Features of :-

    1. Threads can interact directly with user in Ajax Method (works best with FireFox as it implements Ajax as it should) .

    2. Threads can communicate directly & Share data (Communication is Fully encapsulated) .

    3. Also there is a Mutex Synchronization of data access .
  • User ratings:

  • Ratings
    Utility
    Consistency
    Documentation
    Examples
    Tests
    Videos
    Overall
    Rank
    All time:
    Good (81.3%)
    Sufficient (75.0%)
    Sufficient (62.5%)
    Good (81.3%)
    -
    -
    Sufficient (62.5%)
    458
    Month:
    Not yet rated by the users
  • Trackback links:

  • Link Description
    PHP Threader - Threads in PHP
    Auf der Seite phpclasses.org, wo ich immer wiedermal vorbei schaue, bin ich eben auf eine Sehr Interessante klasse gestoßen...
    PHP Threads oder ähnliches
    Hallo, wie der Titel schon sagt würde ich gerne so etwas wie Threads in PHP realisieren...
    Latest blog trackback links Latest blog trackback links
  • Applications that use this class:

  • No application links were specified for this class.
    Add link image If you know an application of this package, send a message to the author to add a link here.
  • Files:

  • File Role Description
    Files folder image Classes
      Plain text file AjT.js Aux.
    The Js Class
    Files folder image Classes/Thread
      Plain text file AjThreader.php Class
    the PHP class interfacing the Js Class
      Plain text file Caller.php Class
    The abstract class for calling threads
      Plain text file SocThreader.php Class
    Sockets Method of calling Threads
    Files folder image Classes/Com
      Plain text file Com.php Aux.
    An abstract class inherited by any class used for communication
      Plain text file FileCom.php Aux.
    Class Allowing Communication between threads Using Plain File
      Plain text file MyCom.php Aux.
    Using MySql Heap Engine to communicate between Threads
    Files folder image Ajax_Examples/Downloader
      Plain text file Aj_Downloader.php Example
    the thread used in the Downloader Example
      Plain text file Aj_ThreaderExample.php Example
    Main Thread in Downloader Example
    Files folder image Ajax_Examples/Jsim
      Plain text file Aj_Counter.php Example
    Thread in Jsim Example (Just a Counter)
      Plain text file Aj_Echoer.php Example
    Thread in Jsim Example (Reads from shared data and prints to user)
      Plain text file Aj_Jsim.php Example
    Example Showing Communication between Threads and Interacting with user
    Files folder image Doc
      Plain text file Aj_Threader.txt Doc.
    Ajax Method Documentation
      Plain text file Examples_Documentation.txt Doc.
    Documentation to all Examples and runtime Results
      Plain text file Soc_Threader.txt Doc.
    Socket Method Doc
      Image file Threader.jpg Screen
    image illustrating Class Construction
    Files folder image Socket_Examples/Downloader
      Plain text file Soc_Downloader.php Example
    the thread used in the Downloader Example
      Plain text file Soc_ThreaderExample.php Example
    Main Thread in Downloader Example
    Files folder image Socket_Examples/Jsim
      Plain text file Soc_Counter.php Example
    Thread in Jsim Example (Just a Counter)
      Plain text file Soc_Echoer.php Example
    Thread in Jsim Example (Reads from shared data and prints to user)
      Plain text file Soc_Jsim.php Example
    Example Showing Communication between Threads and Interacting with user
    Files folder image Socket_Examples/Spider
      Plain text file Spider.php Example
    This is a Small Threaded Web Crawler
    Download all files: phpthreader.tar.gz phpthreader.zip
    NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.

 
  Advertise on this site   Site map   Statistics   Site tips   Privacy policy   Contact  

For more information send a message to :
info at phpclasses dot org.
Copyright (c) Icontem 1999-2008 PHP Classes - PHP Class Scripts
  PHP Book Reviews - Reviews of books and other products