Makes batch jobs creation Simpler, Easier, Faster.
ETL pattern support thanks to : https://github.com/docteurklein/php-etl
Warning : This code has not been executed in production.
Have a look on the slides introduced during the sfPot Marseille on 2013-09-12 :
Have a look to the examples:
- first basic example
- advanced rabbitmq example:
- advanced rabbitmq example with pipe:
Add the following bundle in your kernel :
new \Rezzza\Jobflow\Plugin\SymfonyBundle\RezzzaJobflowBundle()
Create your job with jobflow and then run the symfony commands :
app/console jobflow:run myJobName --transport=[php|rabbitmq]
If you run rabbitmq transport you should run workers:
app/console jobflow:worker
To setup rabbitmq, in your config.yml :
rezzza_jobflow:
transports:
rabbitmq:
connections:
jobflow:
host: 'localhost'
port: 5672
user: 'guest'
password: 'guest'
vhost: '/'
Units tests powered by atoum : https://github.com/atoum/atoum
Builder Architecture heavily inspired by Symfony Form Component : https://github.com/symfony/Form