Oskar Gewalli's blog articles

0
comment
on 9/5/2020 8:11 AM
One of the questions around how to write F# is how do we compose bigger business applications. In C# you generally use constructor injection. Let us start by defining some base functions types and environment that we will use in later code samples: open FSharpPlus open FSharpPlus.Data type IUserRepository = abstract GetUser : email : string -> Async<string> type IShoppingListRepository = abstract Add : shoppingList : string list -> string list type Env() = interface IUserRepository with [...]
>> Read the full article
.
0
comment
on 9/5/2020 8:11 AM
One of the questions around how to write F# is how do we compose bigger business applications. In C# you generally use constructor injection. Let us start by defining some base functions types and environment that we will use in later code samples: open FSharpPlus open FSharpPlus.Data type IUserRepository = abstract GetUser : email : string -> Async<string> type IShoppingListRepository = abstract Add : shoppingList : string list -> string list type Env() = interface IUserRepository with [...]
>> Read the full article
.
0
comment
on 5/28/2020 9:30 AM
These are musings related to the question what kind of libraries resist the test of time. Some of it is related to issues encountered due to Dependency Hell. Explicit dependency Let us start out by asking the question, what is an explicit dependency in your software? How should we define a dependency? The easiest way to define a dependency would be there is an explicit package reference to a library. If you can remove the package reference, does the code still work? In order to make it clear, let us def[...]
>> Read the full article
.
0
comment
on 5/28/2020 9:30 AM
These are musings related to the question what kind of libraries resist the test of time. Some of it is related to issues encountered due to Dependency Hell. Explicit dependency Let us start out by asking the question, what is an explicit dependency in your software? How should we define a dependency? The easiest way to define a dependency would be there is an explicit package reference to a library. If you can remove the package reference, does the code still work? In order to make it clear, let us def[...]
>> Read the full article
.
0
comment
on 5/6/2020 11:38 PM
The road towards frontend and backend separation Or at least why you should care about proxies when dealing with web applications. Around 2005 I studied computer science at Lund university. One of the professors warned us about two things: JavaScript and Sharepoint. The web programming I got aquinted with at university was mainly Java servlets and Python CGI apps. I started working at MaCom in Denmark as a system developer. The amount of JavaScript needed could easily fit in a small single file. Most o[...]
>> Read the full article
.
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper