The User Wizard Scenario

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

Design Considerations for Secure GraphQL APIs

Issue #12

9/28/2020

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






This email was sent to <<Email Address>>
why did I get this?    unsubscribe from this list    update subscription preferences
A Byte of Coding · 750 Fowler St NW · Atlanta, GA 30332-1914 · USA

Stats (updated daily)

Sent: 664

Opens: 379

Clicks: 182

Link Clicks Clicks % Unique Clicks Unique Clicks %
The User Wizard Scenario 71 40.34% 55 39.29
Generalizing 'jq' and Traversal Systems using optics and standard monads 49 27.84% 39 27.86
Design Considerations for Secure GraphQL APIs 56 31.82% 46 32.86

Previous

Back to Issues

Next