Request Behaviors
When firing network requests, there are often many side effects that need to take place. Side effects are poison for testability, however, and may vary from app to app and request to request. If we can create a system where we can create and compose these side effects together, we can increase the testability and other factors...
http://khanlou.com/2017/01/request-behaviors/
When firing network requests, there are often many side effects that need to take place. Side effects are poison for testability, however, and may vary from app to app and request to request. If we can create a system where we can create and compose these side effects together, we can increase the testability and other factors...
http://khanlou.com/2017/01/request-behaviors/
Advanced Request Behaviors
Very early this year, I posted about request behaviors. These simple objects can help you factor out small bits of reused UI, persistence, and validation code related to your network. If you haven’t read the post, it lays the groundwork for the post.
http://khanlou.com/2017/10/advanced-request-behaviors/
Very early this year, I posted about request behaviors. These simple objects can help you factor out small bits of reused UI, persistence, and validation code related to your network. If you haven’t read the post, it lays the groundwork for the post.
http://khanlou.com/2017/10/advanced-request-behaviors/