PHP Classes

Dynamic Proxy: Generate code for proxy classes or interfaces

Recommend this page to a friend!
  Info   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 51%Total: 754 This week: 1All time: 4,466 This week: 560Up
Version License PHP version Categories
dynamicproxy 1.0Freeware5.1PHP 5, Language, Code Generation
Description 

Author

This class can be used to generate code for proxy classes or interfaces.

It can generate code for a class or interface that provides the same functions as another existing class or interface.

The generated code is returned as a string that can be saved to a PHP script file or evaluated immediately to declare the generated proxy class or interface.

Innovation Award
PHP Programming Innovation award nominee
May 2009
Number 4


Prize: One book of choice by Apress
Sometimes it is necessary to call functions of classes that are not running on the same computer on which your application is running.

This class provides a solution to generate code for proxy classes that have the same functions as given classes that eventually may be running on remote machines.

Manuel Lemos
Picture of Pulni4kiya
Name: Pulni4kiya is available for providing paid consulting. Contact Pulni4kiya .
Classes: 5 packages by
Country: Bulgaria Bulgaria
Age: 34
All time rank: 11958 in Bulgaria Bulgaria
Week rank: 416 Up2 in Bulgaria Bulgaria Up
Innovation award
Innovation award
Nominee: 2x

  Files folder image Files  
File Role Description
Files folder imagesimple (3 files)
Files folder imageexample (1 file)
Plain text file ProxyManager.php Class The class which creates the proxies

  Files folder image Files  /  simple  
File Role Description
  Plain text file ISimpleInvocationProxy.php Class The main invocation interface and two classes needed.
  Plain text file ClassSIP.php Class SIP used for invoking class proxies parent methods.
  Plain text file TargetSIP.php Class Class used for invoking methods on target object.

  Files folder image Files  /  example  
File Role Description
  Accessible without login Plain text file example.php Example Example

 Version Control Unique User Downloads Download Rankings  
 0%
Total:754
This week:1
All time:4,466
This week:560Up
 User Ratings  
 
 All time
Utility:75%StarStarStarStar
Consistency:66%StarStarStarStar
Documentation:-
Examples:75%StarStarStarStar
Tests:-
Videos:-
Overall:51%StarStarStar
Rank:2466