Skip to content

Instantly share code, notes, and snippets.

@laurenhavertz
Last active December 18, 2015 23:19
Show Gist options
  • Save laurenhavertz/5860433 to your computer and use it in GitHub Desktop.
Save laurenhavertz/5860433 to your computer and use it in GitHub Desktop.
WDI Action Adventure

entity : model or model relationship

Networking

"the cloud" connection of computer that connects point a to point b

ap access point router: a small firewall port: has a small IP address (standardized and not) IP: what dials you into a computer (specific)

NONE OF US ARE ON THE INTERNET. Only the ROUTER has the "internet". The router fetches the information for us. We use the "intranet"

DNSDOMANIN NAME SYSTEM (for internet) global phone book. Updates all the time. Router has "mini-version" that updates sooner. What changes an internet address to an IP address mDNS: (for lan) program that translates name to IP address hostname

How to find an IP address

  • ping(ICMP)

    • ping -c 1 www.google.com in the terminal
    • tests that the system is receiving information on the other end/ determine if we have a connection
  • IFCONFIG : interface configure - eternet port, bluetooth, wifi

    • will get back a list of devices; *eth() *wlan *0..(ethernet ones) *1...(wifi ones)

nc name/ip port nc -l port

a listener or observer accepts connections

  • browser- client- we tell where to go
  • phone- listener- waits to receive call/ also client- can place a call

SINATRA

  • micro-framework
  • web app attrtibutes
    • runs off the browser instead of the data base
    • can handle more than one user
    • http protocol
    • www.google.com domain
    • search path or route
    • !9=WDI parameters- used to pass information back and forth (search parameters or query parameters)

get describes url content that doesn't change- browser will give you the same results post server needs to perform some action with the data delete update

Problem Solving

  • What problem am I solving? (discret, single thing only) How do I know it worked?
  • What do I expect?
  • Where am I?
  • Which files are there?
  • WHich file am I running? Which Class?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment