2017 © Pedro Peláez
 

library queue

Queue implementation for Agile Toolkit

image

romaninsh/queue

Queue implementation for Agile Toolkit

  • Wednesday, September 30, 2015
  • by romaninsh
  • Repository
  • 1 Watchers
  • 0 Stars
  • 3,479 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Simple Queue Implementation for Agile Toolkit

This is an implementation of a simple queuing mechanism based on MySQL table. The goal of this implementation is to be simple and accessible to developer, for a high-performance queues look at alternatives., (*1)

Sample Screenshot, (*2)

Installing

You can install either from git or through composer. https://packagist.org/packages/romaninsh/queue. Refer to add-on installation documentation for Agile Toolkit., (*3)

Usage

  • Import doc/queue.sql.
  • Whenever you need to use queue:
$processor = $this->add('romaninsh/queue/Controller_QueueProcessor');
  • call $processor->schedule($model). This will schedule call to method $model->process for each record in accessible set (respects conditions).
  • call processor->process() to reserve 5 (default) records from the queue and process them.

Demo Video

In-detail walkthrough is available here:, (*4)

https://www.youtube.com/watch?v=gXrq8af97GM, (*5)

The Versions

30/09 2015

dev-master

9999999-dev http://github.com/romaninsh/queue

Queue implementation for Agile Toolkit

  Sources   Download

AGPL

The Requires

 

atk4