We discuss the current state of the Lambda Cartel. Specifically, we discuss Elm, F#, and project Nikeza.
Elm: Unit Tests
Reference the following guide for installing the unit test package. Here's a couple of unit tests: Appendix Here's some of the test dependencies below. Home.elm TestAPI.elm Core.elm Login.elm
Elm: Dependency Injection and Functional Programming
Intro In this post, I will attempt to document my understanding of how to do Dependency Injection within Elm. Dependency Injection is a technique used to provide a set of dependencies that a system requires at runtime. This technique is especially advantageous when testing that the system complies with business rules without having to provide …
Continue reading "Elm: Dependency Injection and Functional Programming"
Elm: User Control and Business Logic
Intro In a previous post, I discussed how to implement a Login user-control. The implementation details of that post had the business logic embedded within the user control itself instead of the user-control's host. This post discusses how we can lift the business logic for logging-in from the user-control itself, to the actual …
Installing Elm
Intro This post is meant to help others install Elm. Installation 1. Install Node.js 2. Install Yarn 3. install Elm. After the installations are complete, I recommend viewing the "Hello World" tutorial. Compiling Elm There exists an Elm package that enables automatic compiling and browse refresh when modifying and saving Elm files. Given that the …
Elm: Implementing a User Control
Intro This post attempts to document my journey of building a user-control in Elm. The user-control that I'm building is a login control. Building the Login Control The following is the code for the Login control: Note that we have the following messages within the code above: The messages (i.e. union cases) above that have …
Lambda Cartel: Project Kickoff
We discuss the Lamba Cartel and project Nikeza:
Xamarin.Forms: ListView with Images Kata
I record a Kata as I write a Xamarin.Forms app from scratch:
Elm: Styling a Form
Intro This post attempts to document my current understanding of Elm and how to render a form with it. Implementing the Form I took an HTML form example from a reference book and decided to port it to Elm. The following form has been coded: Implementing the CSS Here's the corresponding CSS file: Displaying the …
Elm: Building a Form
Intro This post is meant to document my current understanding of how to build a form using the Elm programming language. Select a File The following code shows a form for selecting a file: Here's the result: Label and Textbox The following code demonstrates one way to associate a textbox to a label: Here's …