News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

SitePoint PHP Blog:
IronMQ and Laravel Implementation
May 29, 2014 @ 12:11:07

The SitePoint PHP blog has posted the latest tutorial in their "IronMQ and Laravel" series (part two of two) showing you the actual implementation of the queue handling, building on the configuration and structure from the previous post.

Welcome back to the IronMQ and Laravel series - this is the second and final part in which we finalize our background-job enabled web app. [...] We will make a jobs table which has job_id, and the status of the job. When you put a job on the queue, the job status will be queued and when we receive the job, we set the status to running. Accordingly, after finishing it we will mark it finished.

They start out by creating the "jobs" table in MySQL (via a migration) and follow it with the matching model. A basic template is also included for viewing the current job information and populating its data. Finally, a "run" method is created in the controller to actually execute a job. Using this, they set up the image resize functionality, creating the "photo" table, model and template to output the results of the image manipulation. They've also included a simple version of the editing of the image, allowing the user to resize based on the inputted height and width.

0 comments voice your opinion now!
orinmq laravel tutorial part2 implementation

Link: http://www.sitepoint.com/ironmq-laravel-implementation/

blog comments powered by Disqus

Similar Posts

Vidyut Luther's Blog: Adding Subscribers to Campaign Monitor Lists using PHP5 and SOAP

Zend Developer Zone: Using the Digg API with PHP and PEAR

MaltBlue.com: Zend Framework 2 Event Manager - A Gentle Introduction

Blond R's Blog: Set up IIS 7 w/ MySQL and PHP 5

SitePoint PHP Blog: Memberships with Laravel Cashier


Community Events

Don't see your event here?
Let us know!


community voicesoftheelephpant api php7 introduction opinion podcast library list example language extension framework series release laravel5 laravel security interview version

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework