2017 © Pedro Peláez
 

library processes

Enables definition of a process in a system via json file

image

chencha/processes

Enables definition of a process in a system via json file

  • Tuesday, April 7, 2015
  • by jchencha
  • Repository
  • 1 Watchers
  • 0 Stars
  • 10 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Processes dispatcher

This package is an extension of the chencha/conveyor package found here (https://github.com/prodeveloper/conveyor) This system parses a json file describing a process, compiles it to a chencha/conveyor process and runs it., (*1)

A sample process description would be:, (*2)

{
  "name": "Registration",
  "belts": [
    {
      "validation": ["EmailValidation"],
      "persistence": [SaveInDatabase","UpdateElastic"]
    }
  ]
}

This would be translated to the following steps, (*3)

  1. Start Registration Process
  2. Run the given data through the validation belt
    • Run the subject through EmailValidation class
  3. If no StopBeltException is thrown then run subject through persistence belt
    • Run the subject through SaveInDatabase class
    • Run the subject through UpdateElastic class

The Versions

07/04 2015

dev-develop

dev-develop

Enables definition of a process in a system via json file

  Sources   Download

MIT

The Requires

 

by Chencha Jacob

07/04 2015

dev-master

9999999-dev

Enables definition of a process in a system via json file

  Sources   Download

MIT

The Requires

 

by Chencha Jacob

30/03 2015

0.1.0

0.1.0.0

Enables definition of a process in a system via json file

  Sources   Download

MIT

The Requires

 

by Chencha Jacob