Skip to content

Instantly share code, notes, and snippets.

View dearshrewdwit's full-sized avatar
🤖
17 is my number.

Edward Withers dearshrewdwit

🤖
17 is my number.
View GitHub Profile
@dearshrewdwit
dearshrewdwit / presentation_guidelines.md
Last active November 18, 2019 11:05
final project guidelines - apprs

Presentation Guidelines

Purpose: Share your learning journey over the past two weeks.

Share with the audience how you got to where you are (not just what the team's output was)

Here's a template to follow - feel free to run it differently if it meets the purpose above!

* What was the problem to solve?

* Discovery/ alignment/ MVP
@dearshrewdwit
dearshrewdwit / presentation_guidelines.md
Last active November 6, 2019 11:58
Presentation guidelines

Presentation Guidelines

Focus your presentation on your learning journey.

  1. Things that may help to reflect on as a team -
  • how did you align on an idea/MVP?
  • how did you pair/work together?
  • what did you learn?
  • what was difficult?

Keep up the hard work!

Reflect on your approach to learning - what are the blocks, the successes, the pairing communications like?

  • Make actions to improve your approach, share them with your pair partner, and then practice them together.

Before going any further, ensure that

  1. You have > 90% test coverage
    • install simple-cov so you can get data on your code
  2. Your environments are separate - test, development, production
    • when you run tests, is your app connected to your test or development database?
  3. Your test database doesn't persist data longer than the execution of the test
@dearshrewdwit
dearshrewdwit / database_setup_guidance.md
Last active December 21, 2018 15:17
Setting up postgres

Setting up a database

We're going to set up a postgres database and play with it a bit to understand its structure!

Part 1

What is a database?

A structured set of data held, usually in files, in a computer that is accessible in various ways.

Is Postgres a database?

@dearshrewdwit
dearshrewdwit / message-board-app-guidance.md
Last active December 17, 2018 14:07
A message board application

Create a messaging app

Objectives

  • Use a problem solving approach to implement user requirements
  • Build a web app

Constraints

  • 1: In order to access more requirements, let me know when you’re done
    • I'll need up-to-date documentation to know how to run your app
  • 2: There are no steps/walkthroughs
@dearshrewdwit
dearshrewdwit / how_to_review.md
Last active December 17, 2018 08:37
Peer - How to Peer Review

Peer Code Reviews

How to review

  • Each submission has a goal, so as a reviewer your aim is to:
    1. Answer the question: 'Does this work show evidence of progress towards the goal?'
    2. Provide reasons you think it does, or feedback what can be improved upon.
  • Try to review to the standard that the code is at: no need to make line edits if there are a lot of style violations.
  • Try to leave at most 3 specific overall targets for the developer to focus on
  • Don't spend too long reviewing the code. 15 mins is probably too much.
@dearshrewdwit
dearshrewdwit / notes-v1-exemplar.js
Created December 14, 2018 13:55
Version 1 of notes SPA
// app.js
// on load, create the app
window.addEventListener('load', function() {
// model is responsible for the information ('text')
var note = Note
// view is responsible for what html looks like
var notesView = new NotesView([])
@dearshrewdwit
dearshrewdwit / notes-exemplar.js
Created December 14, 2018 11:57
An MVP exemplar of a notes SPA
// /app.js
// on load, create the controller, render the initial list view
window.addEventListener('load', function() {
// create a note-list-model, with a Note
var noteList = new NoteList(Note)
// create the note-list-view
var noteListView = new NoteListView(noteList)
@dearshrewdwit
dearshrewdwit / SPA-guidance.md
Last active December 11, 2018 17:39
SPA guidance

Frontend, single page app guidance

  • How will you write and run unit tests? Have a look at 💊 writing tests without a testing library.

  • How will you intercept form submissions so they don't reload the page? form submit event and preventDefault may prove useful.

  • How will you implement the domain model? Maybe the constructor and prototype pattern?

  • How will you construct your HTML content? You could write a view module. Maybe it will concatenate strings? Maybe it will use a tiny tiny templating framework that you write.