Main > Programming > Libraries >

Object Extensions for PHP 0.1 Beta

Object Extensions for PHP 0.1 Beta

Sponsored Links

Object Extensions for PHP 0.1 Beta Ranking & Summary

RankingClick at the star to rank
Ranking Level
User Review: 0 (0 times)
File size: 0.007 MB
Platform: Any Platform
License: MIT/X Consortium License
Price:
Downloads: 1272
Date added: 2006-05-03
Publisher: Sevenlight Inc.

Object Extensions for PHP 0.1 Beta description

Object Extensions for PHP provides several classes that add runtime object extension and callbacks to the language. Object Extensions for PHP allows the programmer to add methods and properties to an object at runtime by dynamically extending by another object.

It also allows the creation of object property lists that allow for dynamic setting/getting of values in a fashion similar to JavaScript objects. These object property lists support basic value checking.

The Object Extensions library for PHP adds the following functionality to objects that extend the base class:

- Runtime object extension to "extend" an object by another class at runtime (to virtually inherit all public properties and methods).
- Runtime callback definitions to be able to pass function/method callbacks as variables, and subsequently execute them from other function/methods.
- Dynamic object properties class to handle runtime setting/getting of object properties, as well as ability to pass function arguments as object-based parameters rather than long list of options.

OBJECT EXTENSION:

- Base class (CExtendable) implements a _extend() function by which you may vritually extend an object by an instance of another object.
- Extended object (object passed to _extend) can reference parent object if supported by extended class.
- __get, __set and __call are all overriden to handle overriding undefined properties and methods
- Ability to reference a callback in a straightforward manner ($object->_callback()->method(args, [...]))

CALLBACK FUNCTIONALITY:

- Can create callbacks directly (through CCallback and derived classes)
- Can create method callbacks by calling _callback() method on CExtendable objects
- When combined with object extension and object properties, can provide a really easy way to execute callbacks.

OBJECT PROPERTIES:

- Base class extends ArrayIterator, all properties saved in an array
- Basic functionality to check values provided and/or set default values.
- Overrides __get, __set to get/set object properties.
- Can limit property set-tability to existing properties only, or to provided array of properties.
- Can enable read-only mode.
- Overrides __call, and in the case that the a property value with the same name as the method name exists, and is an instance of the ICallback interface, this callback is executed.

PHP COMPATIBILITY:

Object Extensions for PHP uses PHP5 functionality. It would be theoretically possible to implement similar functionality into PHP4, however, since I no longer develop in PHP4, I cannot properly test it.

Object Extensions for PHP 0.1 Beta Screenshot

Advertisements

Object Extensions for PHP 0.1 Beta Keywords

Bookmark Object Extensions for PHP 0.1 Beta

Hyperlink code:
Link for forum:

Object Extensions for PHP 0.1 Beta Copyright

WareSeeker periodically updates pricing and software information of Object Extensions for PHP 0.1 Beta full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Object Extensions for PHP 0.1 Beta Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed

Allok Video Splitter 2.2.0 Review:

Name (Required)
Email(Required)
Captcha
Featured Software

Want to place your software product here?
Please contact us for consideration.

Contact WareSeeker.com
Related Software
Enchant extension for PHP is a binder for libenchant. Free Download
nmGoSearch extension for PHP is a complete PHP binding for the mnoGoSearch API. Free Download
HTTP extension for PHP allows building absolute URIs. Free Download
Zip extension for PHP is a zip management extension. Free Download
Input Filter extension for PHP project is an extension for safely dealing with input parameters. Free Download
Image Create for PHP is a project which allows you to render text into an image on the fly. Free Download
BioCluster is a peer-to-peer clustering platform for Asterisk, the open source PBX. Free Download
Packet Debugger presents a debugger-like UI for pcap packet capture files. Free Download