Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/pateketrueke/prototipo

Implements a prototypal interface to be extended within php5.3+
https://github.com/pateketrueke/prototipo

Last synced: 10 days ago
JSON representation

Implements a prototypal interface to be extended within php5.3+

Awesome Lists containing this project

README

        

Prototipo
=========

The objective of this project is show how
the prototypal concept of object oriented programming
can work almost in the way Javascript does, but isn't perfect basically
by the natural limitations of the PHP language.

> A prototypal interface is such that can act independient
> from any set or subset of classes to do especific tasks, but
> with the trouble about PHP data types, everything in Javascript or
> Ruby is an object, but in PHP does not.

In this case, the Prototipo object can load or unload several "methods"
through of using closures to be act within.

Requeriments
------------

Prototipo is strictly roots, was written in PHP 5.3+ and all
related examples are written by the same way.