承接 pablohaedo/cakephp-queue 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

pablohaedo/cakephp-queue

Composer 安装命令:

composer require pablohaedo/cakephp-queue

包简介

The Queue plugin for CakePHP provides deferred task execution. This is a MongoDB implementation.

README 文档

README

Build Status Coverage Status Latest Stable Version Minimum PHP Version License Total Downloads Coding Standards

This branch is for use with CakePHP 3.

What this package is

First go read the original background and use cases on the readme for the original package

This is an implementation of Mark Scherer's simple Cake PHP queues replacing MySQL with MongoDB for the backend.

What this package is not

This is not a drop-in replacement for the original package. While I intend to work with that package's mantainer to integrate this backend, this is intended to satisfy a particular use case first and be of generic use later.

A major issue is that the main classes (QueuedJobsTable, QueueShell and QueueTask) were just copied to new MongoDB based implementations (QueuedJobsCollection, MongoQueueShell and MongoQueueTask). An integrated implementation should have these classes as subclasses of the originals (or a common base class) and a factory to select which implementation to use based on the configuration.

Installation and Usage

See Documentation.

To Do items:

  • The statistics that were implemented in the original package are yet to be ported to Mongo.
  • The backend controller has not been revised nor tested.
  • Make this implementation compatible with the MySQL implementation.

History

Recent Improvements

  • MongoDB Backend
  • QueuedJobs table instead of QueuedTasks (Tasks are the implementing classes only)
  • json_encode/decode instead of serialize
  • Priority for jobs
  • Transactions on getting a new job if supported from the database
  • Code improvements, stricter typehinting

And...

A huge thx to Max (Dee-Fuse) for making the 3.x upgrade complete!

Modified by David Yell (davidyell)

  • Basic CakePHP 3.x support

Modified by Mark Scherer (dereuromark)

  • CakePHP 2.x support
  • Some minor fixes
  • Added crontasks (as a different approach on specific problems)
  • Possible (optional) Tools Plugin dependencies for frontend access via /admin/queue
  • Config key "queue" is now "Queue" ($config['Queue'][...])

Added by Christian Charukiewicz (charukiewicz):

  • Configuration option 'gcprop' is now 'gcprob'
  • Fixed typo in README and variable name (Propability -> Probability)
  • Added a few lines about createJob() usage to README
  • Added comments to queue.php explaining configuration options

统计信息

  • 总下载量: 9
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 138
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-03-17

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固