library processes
Enables definition of a process in a system via json file
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
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)
- Start Registration Process
- Run the given data through the validation belt
- Run the subject through EmailValidation class
- If no StopBeltException is thrown then run subject through persistence belt
- Run the subject through SaveInDatabase class
- Run the subject through UpdateElastic class
dev-develop
dev-develop
Enables definition of a process in a system via json file
Sources
Download
MIT
The Requires
by
Chencha Jacob
dev-master
9999999-dev
Enables definition of a process in a system via json file
Sources
Download
MIT
The Requires
by
Chencha Jacob
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