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 All time: 4,467 This week: 455Up
Version License PHP version Categories
dynamicproxy 1.0Freeware5.1PHP 5, Language, Code Generation


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: 305 Up1 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  
This week:0
All time:4,467
This week:455Up
 User Ratings  
 All time