2017 © Pedro Peláez
 

library elpho

The elpho framework core

image

elpho/elpho

The elpho framework core

  • Monday, November 14, 2016
  • by SparK-Cruz
  • Repository
  • 3 Watchers
  • 6 Stars
  • 81 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 7 Versions
  • 0 % Grown

The README.md

, (*1)

Extension Library for PHp Object-orientation

Your non-invasive, lightweight, fast, dev-tool framework, (*2)

The framework's core structure is dedicated to solve the leaked scope and procedural ancestry of PHP. That said, it's nothing but a language extension., (*3)

Hello Core

Here is the very verbose HelloWorld.php example using the elpho/lang package:, (*4)


Hello MVC

Here is the "Hello World" using the elpho/mvc package:, (*5)

map("", array("Home", "index"));
      }
   }
?>
myMessageAttribute = "Hello World!";
         $view->render();
      }
   }
?>
<!-- template.html.php -->
<!DOCTYPE html>
<html>
   <body>
      <p><?=$viewbag->myMessageAttribute?></p>
   </body>
</html>
   #.htaccess
   RewriteEngine On
   RewriteRule (.*) Index.php [QSD,L]

System

The system folder contains all the framework core files. Userland functions are declared in the file system/topLevel.php, they are:, (*6)

  1. registerMain(className) This method is used when you need to tell elpho that your exposed file has a different name from the entry class (i.e. when it's namespaced). Just pass the main class fullname and it will call it when it finishes loading your app., (*7)

  2. call(function [, argument...]) An alias to call_user_func., (*8)

  3. apply(function , argumentArray) An alias to call_user_func_array., (*9)

  4. matchTypes(type [, type]...) Returns true if the list of arguments in the current function matches the types passed to it., (*10)

WORK IN PROGRESS

This framework is a work in progress., (*11)

Mail me at spark.crz(at)gmail.com if you wanna chat! Or join ##php and ##php-br channels at [freenode.net IRC servers][1], (*12)

The Versions

14/11 2016

dev-master

9999999-dev

The elpho framework core

  Sources   Download

ISC

The Requires

 

14/11 2016

0.1.0-rc1

0.1.0.0-RC1

The elpho framework core

  Sources   Download

ISC

The Requires

 

17/10 2016

0.1.0-beta1

0.1.0.0-beta1

The elpho framework core

  Sources   Download

ISC

The Requires

 

11/10 2016

0.1.0-alpha4

0.1.0.0-alpha4

The elpho framework core

  Sources   Download

ISC

The Requires

 

10/10 2016

0.1.0-alpha3

0.1.0.0-alpha3

The elpho framework core

  Sources   Download

ISC

The Requires

 

10/10 2016

0.1.0-alpha2

0.1.0.0-alpha2

The elpho framework core

  Sources   Download

ISC

The Requires

 

10/10 2016

0.1.0-alpha1

0.1.0.0-alpha1

The elpho framework core

  Sources   Download

ISC

The Requires