CSE 135 Lecture Notes - Lecture 19: Mysql, Javascript, Representational State Transfer
Document Summary
What are the technographics of our users - inform future and current tech choices. Collect just what we need to answer the questions. Collect more than what we need in case other questions come up. Static data: browser type, screen resolution, etc. Passive: arbitrary user events (click, scroll, etc. ) If you do 2 window. load(), then the second one overwrites the first! What you want to do is add event listeners! (window. addeventlistener( load", function() ) Public vs private apis: even if there are a small % of people, they are not willing to risk changing their code. Passive listener - event listeners that capture everything. You would have to think and put scripts to handle specific links. Nowadays, we use ml to handle the thinking for us! Simple username/password vs oauth style (sign in using fb, google, etc. !) Static v s dynamic (static images vs js based) Vanilla js, end user facing, don"t want to rewrite or replace often.