Skip to content

Instantly share code, notes, and snippets.

@andrejewski
Created October 6, 2017 00:31
Show Gist options
  • Select an option

  • Save andrejewski/7fbb389cb506fff350bee619f806a7cf to your computer and use it in GitHub Desktop.

Select an option

Save andrejewski/7fbb389cb506fff350bee619f806a7cf to your computer and use it in GitHub Desktop.
Agenda for Raj live coding

Recover Password

aka "Forgot password"

Description

We are going to add a new page /authorize#recover-password to the existing /authorize application. This page has an input for entering an email, button for submission, and a link back to the sign in page. It will make a network request to the server with the email and the response we will display to the user.

Goals

Big

  • Demo existing functionality with raj-web-debugger
  • Show how raj-spa allows us to do routing
  • Show how we leverage tagmeme for strict pattern matching
  • Show how we can develop "headless" pages
  • Show how we can develop without involving the backend
    • Write an effect
    • Discuss tag unions for representing possible states of data
  • Discuss what it takes to test programs
    • Explain why "Raj does modlets better than Can does."

Small

  • Show off state-less views like <TextField/>
  • Dig into raj-spa to show program composition
  • Differences between Raj and Elm subscriptions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment