CODING FOR LIBRARIANS
PART 2: CODING 101
Associate Director, Health Sciences & Human Services Library
University of Maryland, Baltimore
ReachingAcross Illinois Library System -Webinar
Tue, May 31, 2016 1:00 PM - 2:00 PM CDT
WHY AREYOU INTERESTED IN CODING?
• Q.What do you want to be able to do once you learn how to code?
• Q. Do you have previous experience with coding, and if so what is it?
• Q. If you tried to teach yourself how to code before, what were some of the difficulties?
small and lightweight language. Inside a host environment (for example, a
environment to provide programmatic control over them.
Math, and a core set of language elements such as operators, control
of purposes by supplementing it with additional objects;
• Default scripting language for theWeb.
• Runs in a browser!
• Minimal dev environment setup
• A computer with access to the Internet
• Web browser
• Web Console (http://www.howtogeek.com/105320/how-to-use-
• Or, Firebug: https://addons.mozilla.org/en-
• Or, Chrome
• Devtools (https://developer.chrome.com/devtools)
LET’STRY RUNNING A SCRIPT!
• Open up your web browser – FF or Chrome.
• Press F-12 to open up a browser console.
MORE CODE EXAMPLES BY ME
• The simplest AJAX: writing your own code (1)
• More APIs: writing your own code (2) http://www.bohyunkim.net/blog/archives/2219
EZproxy bookmarklet generator http://www.bohyunkim.net/blog/archives/255
• Fear no Longer Regular Expressions http://www.bohyunkim.net/blog/archives/2595
• Using the StripeAPI to Collect Library Fines by Accepting Online Payments
• More simple code examples at https://github.com/bohyunkim/examples
• Don’t be discouraged or frustrated.You are teaching yourself a language.
• Be persistent and realistic.
• Set small goals that solve real-life problems.
• Form or join a study group & find like-minded folks!
• Comment your code and document since you will forget what you have
learned and made.