2017 © Pedro Peláez
 

library modularphp

AMD for PHP, like RequireJS or AngularJS

image

raphahardt/modularphp

AMD for PHP, like RequireJS or AngularJS

  • Saturday, February 8, 2014
  • by raphahardt
  • Repository
  • 1 Watchers
  • 0 Stars
  • 4 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

modularphp

Split your application logic in AMD (Asynchronous Module Definition), like RequireJS or AngularJS. This library is experimental and is not already fully tested. USE AT YOUR OWN RISK!, (*1)

Usage

use Modular/Module;, (*2)

Module::create('moduleA', array('moduleB'), function ($app) { // your application logic here });, (*3)

Module::create('moduleB', function ($app) { // you can change the $app var here too and the changes applies to moduleA });, (*4)

// select the initial module Module::bootstrap('moduleA', new \Application()); // your application object , (*5)

License

This code is under MIT license., (*6)

The Versions

08/02 2014

0.1.0.x-dev

0.1.0.9999999-dev https://github.com/raphahardt/modularphp

AMD for PHP, like RequireJS or AngularJS

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

by Raphael Hardt

08/02 2014

dev-master

9999999-dev https://github.com/raphahardt/modularphp

AMD for PHP, like RequireJS or AngularJS

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

by Raphael Hardt

08/02 2014

v0.1.0

0.1.0.0 https://github.com/raphahardt/modularphp

AMD for PHP, like RequireJS or AngularJS

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

by Raphael Hardt