/explore
|
You are here |
daniel-siepmann.de | ||
| | | | |
mikemikina.com
Vapor 3 has a very interesting dependency injection framework which will help you manage dependencies and mock them inside your tests. |
|
| | | | | ||
| | | | |
fusectore.dev
This is the first part in a series of articles on dependency injection for the play framework using guice. As soon as Ive written the next part, it will be linked here. Please note that while the examples are written in Scala, the principles apply for Java likewise. Furthermore, please be aware that Guice is not the only framework to do dependency injection with. It is probably the most prominent one in the play ecosystem though. Guice does so called runtime dependency injection. This means dependencies ... |
|
| | | | | ||
| | | | |
brandonsavage.net
PHP more or less has two kinds of dependency injection available: constructor injection, and setter injection. Constructor injection is the process of injecting dependencies through the constructor arguments, like so: The dependencies are injected via the constructor, on object creation, and the object has them from the very beginning. Setter injection is different; instead of [...] |
|
| | | | | ||
| | | | |
www.darrenhorrocks.co.uk
Building APIs that handle large datasets can be a challenge. A common approach is to collect all the data into a list, convert it to JSON, and then send it all at once. But what happens when that dataset is massive? Your API might freeze up while it's building the response, and you could end up with a huge memory footprint. Fortunately, ASP.NET Core provides a great solution for this problem: IAsyncEnumerable. |
|
| | | |||