Comments (2)
Hi @giosh94mhz
Events are used to inform external components that an action occurred. Event interception should not change the original operation.
In my opinion; I prefer building a application object to manage input / output to the queueing system. This object could be responsible to edit the payload.
Also, note that I don't want to add complexity on this project which is just a Symfony wrapper of a queueing adapter.
from leezypheanstalkbundle.
I know it's a simple bundle and I like it for that. The same reason for which I use beanstalkd. But I think it's a bit overwhelming to add behaviour by adding decorator (proxy) classes.
My use case is this: I create a SecuritySubscriber
(not that secure, in fact), on PUT add an hash on RESERVE remove the hash, and if not valid replace all the payload with a "noop" token.
I don't think it adds much complexity, but feel free to close if you think it doesn't fit in the project.
from leezypheanstalkbundle.
Related Issues (20)
- Installation failed for ~3.0 HOT 1
- Docs? Practical example? HOT 1
- LeezyPheanstalkBundle for Silex HOT 3
- Compatible sf 3.0 ? HOT 2
- Throw an exception when PheanstalkLocator finds no instances. HOT 1
- thows a missing argument exception when running on symfony 2.3 HOT 3
- Wrong proxy instance inserted HOT 2
- Calling primary connection "default" cause weird behaviour HOT 4
- Suggestion for documantation HOT 1
- Twig 2 support HOT 4
- Tag new release? HOT 2
- Symfony 3.4 DataCollectorInterface must implement reset() HOT 1
- Make commands and services public HOT 2
- Some troubles with Symfony Profiler HOT 4
- Support Pheanstalk 4 HOT 2
- Tree builder without a root node deprecation
- Missing something after requiring package? im using symfony 4
- Container linting fails because of leezy.pheanstalk.proxy.default service definition
- Symfony 5 compatibility HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from leezypheanstalkbundle.