正在加载视频...
视频加载失败
why we use the action pattern on laravel cloud:
14,866 次观看 • 1 年前 •via X (Twitter)
5 条评论

Alexander Schranz1 年前
Action Pattern you mean the Command Pattern?

juan pineda1 年前
Hey Nuno, do you use Pipe or just one action calls the next?

Lekan1 年前
The last point makes a lot of sense. Consistency of data in the DB can be ensured 💯

Luke Diebold1 年前
This is the first time I've heard good arguments for using actions. I love them! Yet find most arguments pretty weak. Even the "we'll have an API in the future" argument doesn't make sense to me. Why would having your logic on models stop you from doing this?

Patrick Hesselberg1 年前
I like this. But do your actions also return data?
