The User Wizard Scenario

Generalizing 'jq' and Traversal Systems using optics and standard monads

Design Considerations for Secure GraphQL APIs

Issue #12

9/29/2020

or subscribe using...

Github icon for OAuth via Github Google icon for OAuth via Google
A Byte of Coding Issue #12
Yo-yo-yo lads and lasses
It's Monday again. Here's the issue.

The User Wizard Scenario

Published: 28 September 2020
Tags: haskell


Software projects usually start out fairly simple, but can then get very complicated, very quickly. Most of the time it feels like you're trading doing something fast for technical debt down the line. In this case study article, Eric Normand presents a real-life-esque situation that involves continuously changing specifications for a back end that is meant to validate and store user info. Eric demonstrates how you can use Haskell's type system to take a more dynamic approach towards writing flexible and clean code.

Read Full Article

Generalizing 'jq' and Traversal Systems using optics and standard monads

Published: 27 September 2020
Tags: haskell


Traversal Systems, as defined by the author of this article Chris Penner, allow "you [to] dive deeply into a piece of data and may allow you to fetch, query, and edit the structure as you go while maintaining references to other pieces of the structure to influence your work". Basically it's a system for navigating and manipulating data structures where nesting is frequently used (JSON, HTML, CSS, etc). In this article, Chris builds one in Haskell to handle JSON, using optics and monads to query and update objects.

Read Full Article

Design Considerations for Secure GraphQL APIs

Published: 28 September 2020
Tags: graphql


Database security is a big deal, because it's normally where all the secret and important information is stored. But it might seem like a dauntingly large task to secure a database, which is open to any number of attacks, from SQL injections to just plain ol' admin username and password cracking. Jake Miller's in-depth article does an excellent job of outlining GraphQL basic secure configuration, common security issues, like improper authorization controls, insecure input validation, REST translation and caching, and an outline of security test cases.

Read Full Article
Thanks for your Support! 

This newsletter is provided to you for free, but if you'd like to show your support and help out, you can donate on the Patreon page. It's not necessary, but it lets me know that I'm doing a good job and that you're finding value in the content.
Donate Here

Stats (updated daily)

Sent: 664

Opens: 602

Clicks: 182

Link Clicks Clicks % Unique Clicks Unique Clicks %
Read Full Article 71 39.01% 55 37.67
Read Full Article 56 30.77% 46 31.51
Read Full Article 49 26.92% 39 26.71
Donate Here 6 3.30% 6 4.11

Previous

Back to Issues

Next