Toot

Written by Damian C. Rossney on 2025-01-31 at 12:56

@ste @cllns

There are other reasons for moving validations to the operation layer: because parameter handling is a business concern, not a framework concern.

I've heard @timriley express the view pushing validation to the farthest boundary is a way to protect your code from invalid values. @katafrakt said the same thing just recently. I would prefer to emphasize the business logic layer and keep actions boring. 😉

I hope it's okay if I follow along.

=> More informations about this toot | View the thread | More toots from dcrossney@ruby.social

Mentions

=> View ste@ruby.social profile | View cllns@ruby.social profile | View timriley@ruby.social profile | View katafrakt@ruby.social profile

Tags

Proxy Information
Original URL
gemini://mastogem.picasoft.net/toot/113923074438149220
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
224.600763 milliseconds
Gemini-to-HTML Time
0.845449 milliseconds

This content has been proxied by September (3851b).