Back to Browse

Live-coding a Bref Queue / Messaging library - Part 1

974 views
Jan 23, 2021
51:52

Let's sketch a new "Bref Messaging" library to use SQS and EventBridge with PHP on Lambda. This library would be inspired by Laravel Queues and Symfony Messenger, but designed specifically for AWS Lambda. The next video is here: https://youtu.be/hahEMg8dbFg 0:00 Goal of the project 2:56 End-user API 5:32 Job class 9:02 Interface for messages? 9:52 Serializing jobs 11:03 Sending jobs to SQS 13:53 Abstraction for drivers 15:04 A user-friendly constructor 16:50 PHP 8 named parameters 21:47 Refactoring the architecture 25:45 A message router? 28:20 Serializer class 36:48 The Lambda handler 40:48 serverless.yml 45:27 MessageHandler interface is useless? 48:56 How to bridge it with Bref?

Download

0 formats

No download links available.

Live-coding a Bref Queue / Messaging library - Part 1 | NatokHD