Hacker News new | past | comments | ask | show | jobs | submit login

The advantage of operations over controllers is the composability.

Whereas controllers have a pretty undefined lifetime, operations are finished when they're done. This means that operations can use each other to get work done, a pattern you don't see with controllers.




You can build a set of composable methods that you can use in the controller.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: