{"id":135,"date":"2013-04-17T16:27:46","date_gmt":"2013-04-17T06:27:46","guid":{"rendered":"http:\/\/www.jasonshanks.com\/?p=135"},"modified":"2013-04-21T23:59:02","modified_gmt":"2013-04-21T13:59:02","slug":"wk-7tut-6-introductory-javascript","status":"publish","type":"post","link":"https:\/\/www.jasonshanks.com\/2013\/lectures-and-tuts\/kib204-web_interface_design\/wk-7tut-6-introductory-javascript\/","title":{"rendered":"Wk 7\/Tut 6 : Introductory Javascript"},"content":{"rendered":"
[Courtesy of Dave Wallace<\/a>]<\/p>\n JavaScript is a\u00a0client-side<\/strong>\u00a0scripting language. \u00a0This means it is downloaded from the web-server and interpreted by the browser itself. \u00a0This is in contrast to a\u00a0server-side<\/strong>scripting language, like PHP, which is executed on the web-server and then sends the output of that script (usually some HTML) to the browser.<\/p>\n JavaScript allows us, among other things, to manipulate the web page (without reloading the browser window), and respond to events, such as user input.<\/p>\n JavaScript is probably the most widely used programming language in the world. \u00a0As such, it a very\u00a0beneficial skill to have for any web designer.<\/p>\n There are many excellent JavaScript resources available, so I will keep my notes here brief. \u00a0I will demonstrate some of the commonly used features of javascript before pointing you to some useful resources for broadening your understanding of this powerful language.<\/p>\n My demonstration will cover:<\/p>\n You shouldn\u2019t set out to master the entirety of JavaScript from the outset. \u00a0A few hours of studying some of the following resources should give you enough of an understanding of the language to be able to read and modify other examples. \u00a0Being the language of the web, there is plenty of example code out there,\u00a0just a Google away<\/a>.<\/p>\n <\/p>\n Please download these\u00a0Javascript example files<\/a>\u00a0courtesy of Cassie Selin<\/a> we will go over.<\/p>\n <\/p>\n Beyond the extensive list of jQuery functions you can use by calling it’s base library, there are countless repositories of jQuery code written at this point, many of which are free and open-source to use in your projects.<\/p>\n Some Examples to get you started:<\/p>\n [Courtesy of Dave Wallace] JavaScript is a\u00a0client-side\u00a0scripting language. \u00a0This means it is downloaded from the web-server and interpreted by the browser itself. \u00a0This is in contrast to a\u00a0server-sidescripting language, like PHP, which is executed on the web-server and then sends the output of that script (usually some HTML) to the browser. JavaScript allows us, among […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[17],"tags":[],"builder_content":"","_links":{"self":[{"href":"https:\/\/www.jasonshanks.com\/wp-json\/wp\/v2\/posts\/135"}],"collection":[{"href":"https:\/\/www.jasonshanks.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.jasonshanks.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.jasonshanks.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.jasonshanks.com\/wp-json\/wp\/v2\/comments?post=135"}],"version-history":[{"count":9,"href":"https:\/\/www.jasonshanks.com\/wp-json\/wp\/v2\/posts\/135\/revisions"}],"predecessor-version":[{"id":137,"href":"https:\/\/www.jasonshanks.com\/wp-json\/wp\/v2\/posts\/135\/revisions\/137"}],"wp:attachment":[{"href":"https:\/\/www.jasonshanks.com\/wp-json\/wp\/v2\/media?parent=135"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.jasonshanks.com\/wp-json\/wp\/v2\/categories?post=135"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.jasonshanks.com\/wp-json\/wp\/v2\/tags?post=135"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}\n
More JavaScript Resources<\/h2>\n
\n
\nExercises<\/h2>\n
\njQuery Repositories<\/h2>\n
\n