Git Product home page Git Product logo

phphooks's Introduction

PHP Hooks API, A plugin system solution with PHP

Version: 1.1
Source:https://github.com/ericwanghp/PHPHooks
license:GNU Lesser GPL

0. What is it?

http://phphooks.googlecode.com/files/hooks-plugins.png

PHP Hooks API is a way to load the plug-in scripts through hook which is embedded in main program. This API can be used to setup and embed third party Plugins in main code streaming just like how it is done by `Wordpress Plugin AP<http://codex.wordpress.org/Plugin_API>`_ .

1. Terminology

Plugin System: Successful use of plugin system help you and third party developers to add additional functional modules to the main program by storing separate location(folder) instead of modifing the main code. It can freely dis/assemble these functions by add/delect Plugin folders without affecting the others.

Plugin: Is a program, or a set of one or more functions, written in the codes stored in separate Plugin locations(folders), Plugin can freely add specific set of features or services to the main program. Plugin can be seamlessly integrated with the main program using access points(hooks).

Hook: Hooks are provided by plugin system ,such as PHP Hooks API, to allow your plugin code to be 'hooked into' the main program.

Apply Hook: Tell the main program, what time to execute the 'hooked in' function scripts stored in particular separate plugin folder.

phphooks's People

Contributors

ericwanghp avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.