About the Author
Lou Mauget headshot

Lou Mauget

Lou Mauget has been writing code since 1961. He coded in ILLIAC I machine language before most of computing's defining moments had occurred. Born in 1942, he has worked across several layers of the stack. Since 2020, he continues to focus on React and TypeScript front-end development, bringing six decades of perspective to modern development.

JSON Web Token .NET Core Demo

Lou Mauget .NET Core, Articles, C#, Development Technologies & Tools, Programming 1 Comment

In this post, I present a tiny .NET Core C# JWT API demo that creates and parses a JSON Web Token (JWT). A self-contained Swagger UI dashboard exercises the API.ย 

We canโ€™t dead-drop a JWT demo without wrapping it in words about JWT background. Iโ€™ll set the scene by introducing tokens, JWTs, and surveying session state residency tradeoffs. Weโ€™ll then migrate to, high-level JWT JWT use cases, and arguments about if or when to use JWTs.ย 

I seek to give equal coverage to JWT upsides and downsides. Letโ€™s get started.

Elm Language

Lou Mauget Articles, Development Technologies & Tools, JavaScript, Programming, Single-Page Application Leave a Comment

This blog is about my dalliance with Elm; a purely functional, statically typed language that has type inference. It compiles to JavaScript. Functional programming is compelling, but heretofore, Iโ€™d only woven cherry-picked techniques into large object-oriented projects. In FP parlance, Iโ€™m partially applied! The times, they are a-changinโ€™.

In this article, Iโ€™ll:
– touch on the reasoning for giving a nod to functional languages and data immutability;
– move on to Elm; a blazing-fast, statically typed, purely functional browser-side language that compiles to JavaScript and follows the principles of functional reactive programming;
– survey background items and the Elm environment;
– show a simple type-and-click application, followed by a more realistic To-do application;
– end with my impressions from functional-programming semi-outsider point-of-view.

Flow: A Static Type Checker for JavaScript

Lou Mauget Articles, Development Technologies & Tools, JavaScript, React Leave a Comment

In this post, weโ€™ll discuss the concept of types, compare static and dynamic types, and show an unobtrusive type inference package provided by Flow.org.

Facebook developed and maintains Flow. The package provides static typing to normally late-bound JavaScript code, including React code. It provides this analysis to a JavaScript application, even if it is an existing application. ย Flow operates by carrying out a static abstract syntax tree (AST) analysis of type flows at build time.

React Native With Expo

Lou Mauget Articles, Development Technologies & Tools, JavaScript, Mobile, React, React Native 1 Comment

The React Native framework supports an installable mobile application created from JavaScript source code. It is not a React-based web app wrapper. It isnโ€™t a code generator. There is no required application source code in Java, Objective-C, Swift, or Kotlin. Moreover, a single React Native application targets both iOS and Android devices.

In this blog, we show a quick-start that results in an executing application on a phone, within five minutes. That application is live-reloadable, native cross-platform, and written in JavaScript. It is not a web application.

Fiddling with RxJs Streams

Lou Mauget Articles, Development Technologies & Tools, JavaScript Leave a Comment

Attention: This article was published over 10 years ago, and the information provided may be aged or outdated. While some topics are evergreen, technology moves fast, so please keep that in mind as you read the post.Egon: Don’t cross the streams. Peter: Why? Egon: It would be bad. – Ghostbusters (1984) In this post Iโ€™ll touch on the emergence of …