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

https://github.com/kcmerrill/events

A hook/filter system(Similiar to word press hooks/filters). Useful for creating plugins as an example.
https://github.com/kcmerrill/events

Last synced: 3 months ago
JSON representation

A hook/filter system(Similiar to word press hooks/filters). Useful for creating plugins as an example.

Awesome Lists containing this project

README

        

Events


The concept and idea I derived from WordPress and it's way of creating plugins. Or what some refer to as event driven design. I personally prefer it to be used for making things extensible.



Each register requires a paramater that would pass is_callable(). So use your imagination :)



I've attached a simple example.php to further explain the concept. Also, take a peek at WP's documentation as it's pretty thorough. Keep in mind however that the api is not the same as pluginify's, it's just to explain the concepts.



Wordpress Plugin API

[![Build Status](https://travis-ci.org/kcmerrill/events.png?branch=master)](https://travis-ci.org/kcmerrill/events)