PHP Classes
Icontem

Class: AJAX Locking


  Search   All class groups All class groups   Latest entries Latest entries   Top 10 charts Top 10 charts   Newsletter Newsletter   Blog Blog   Forums Forums   Help FAQ Help FAQ  
  Login   Register  
Recommend this page to a friend! ReTweet ReTweet Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Fabio Ambrosanio  >  AJAX Locking  >  Download  >  Support forum Support forum (1)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: AJAX Locking Support forum
Base name: ajax_locking
Description: Lock server side resources from AJAX requests
Related top rated classes:
Version: 0.4.1
Required PHP version: 4.2.0
License: The PHP License
All time users: 1739 users
All time rank: 1563
Week users: 12 users
Week rank: 595
 
  Author   Group folder image Groups   Detailed description  
  Rate classes User ratings   Applications   Related links   Files Files  

Author

Picture of Fabio Ambrosanio
Name: Fabio Ambrosanio <e-mail contact>
Published packages: 4 Browse this author's classes Browse this author's classes
Country: Italy Italy - PHP jobs in Italy
Home page: http://www.ambrosanio.com/
Age: 41
All time rank: 437
Week rank: 308

Innovation Award

PHP Programming Innovation award nominee
November 2006
Number 3
AJAX applications may trigger multiple requests to the Web server that can occur at the same time.

If different requests attempt to access and change the same server side resources at the same time, this may lead to race conditions that may cause undesired effects.

This class provides a solution that can be used to prevent this problem. It can lock server side resources that are being manipulated upon browser side events that trigger AJAX requests.

Manuel Lemos

Groups

Group folder image Language Constructs to assist in the language control View top rated classes
Group folder image AJAX Interact with the Web server without page reloading View top rated classes

Detailed description

This package can be used lock server side resources to prevent race conditions that may occur when two users want to access the same resource simultaneously.

It uses AJAX to lock and unlock resources from Javascript code running on the browser, thus without reloading the current page.

The package comes with several drivers that can use different containers to manage the resource lock information. Currently it supports two drivers for SQL databases and shared memory as containers.

User ratings

Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Good (83.3%)
Good (83.3%)
Not sure (50.0%)
Sufficient (66.7%)
-
-
Sufficient (61.7%)
600
Month:
Not yet rated by the users

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.

Related links

Link Description
AJAX_Locking homepage Description of the project and related links
API documentation Documentation generated with PHPDocumentor
My own PEAR channel PEAR channel where you can download this package

Files

File Role Description
Plain text file README.txt Doc. README
Plain text file AJAX_Locking.php Class PEAR HTML_AJAX class
Files folder image Driver
  Plain text file Driver.php Class Base class for AJAX_Locking drivers
  Plain text file File.php Class Driver based on plain filesystem
  Plain text file MDB2.php Class Driver based on PEAR's MBD2 package
  Plain text file SharedMemory.php Class Driver based on PEAR's System_SharedMemory package
Files folder image js
  Plain text file Locking.js Data Javascript library to handle AJAX calls
Files folder image tests
  Image file locked.png Icon locked image
  Image file owned.png Icon owned image
  Plain text file server.php Aux. Example AJAX server
  HTML file test.html Data Test/Example
  Image file timeoutpng Icon timeout image
  Image file unlocked.png Icon unlocked image
  Plain text file _test.php Example Test/example
Download all files: ajax_locking.tar.gz ajax_locking.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.

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

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