Workflow application development in PHP