Back

Very happy to listen @nunomaduro talking about Actions, i use this pattern on every single project.

It's help me a lot to easily find where too look when i work on it, also here is some advantage :

- No dependency, i can call it from tinker, console or http controller
- Naming, the file name tell me about what can i found inside.
- Testing, ultra easy to unit test each
- Creating, i use www.laravelactions.com, so it's one command to create a new action.
- I can also use action as sync or async using queues.
- I can also call action, from another action.
- It's respect the "S" of solid principe

image

1

200

In response to @kurban

I've started using them more, love how easy they are to test.

150

  • No matching results...
  • Searching...

/ 1000