PHP Classes

Dynamic Proxy: Generate code for proxy classes or interfaces

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 51%Total: 754 All time: 4,469 This week: 455Up
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: 35
All time rank: 11958 in Bulgaria Bulgaria
Week rank: 180 Up2 in Bulgaria Bulgaria Up
Innovation award
Innovation award
Nominee: 2x

  Files folder image Files (5)  
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 (5)  /  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 (5)  /  example  
File Role Description
  Accessible without login Plain text file example.php Example Example

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:754
This week:0
All time:4,469
This week:455Up
 User Ratings  
 
 All time
Utility:75%StarStarStarStar
Consistency:66%StarStarStarStar
Documentation:-
Examples:75%StarStarStarStar
Tests:-
Videos:-
Overall:51%StarStarStar
Rank:2506