{"id":1294,"date":"2016-04-25T21:45:57","date_gmt":"2016-04-25T21:45:57","guid":{"rendered":"https:\/\/blogs.glowscotland.org.uk\/nl\/ColtnessHS-ComputingScience\/?p=1294"},"modified":"2016-04-25T21:46:41","modified_gmt":"2016-04-25T21:46:41","slug":"1294","status":"publish","type":"post","link":"https:\/\/blogs.glowscotland.org.uk\/nl\/ColtnessHS-ComputingScience\/2016\/04\/25\/1294\/","title":{"rendered":"Higher &#8211; Coding (Revision)"},"content":{"rendered":"<p><strong>Scripting<\/strong><\/p>\n<p>Including sections of program code in your website, to help make it more dynamic or interactive, is called scripting.<\/p>\n<p><strong>Client-side scripting<\/strong><\/p>\n<ul>\n<li><strong>\u00a0<\/strong>A section of code is sent to the client computer and executed there, in the browser.<\/li>\n<li>It is commonly used to add interactive elements to a webpage.<\/li>\n<li>JavaScript is a language commonly used for client-side scripting.<\/li>\n<\/ul>\n<p><strong>Server-side scripting<\/strong><\/p>\n<ul>\n<li>A section of code is executed by the web server.<\/li>\n<li>It is commonly used to create dynamic webpages, often connected to a database on the server.<\/li>\n<li>Popular languages for server-side scripting include PHP, ASP, Perl and ColdFusion.<\/li>\n<\/ul>\n<p><strong>SEO (Search Engine Optimisation)<\/strong><\/p>\n<p>SEO is the process of improving the ranking of your webpage in search engine results, in order to increase traffic.<\/p>\n<p>Some SEO techniques include:<\/p>\n<ul>\n<li>Making sure each page of your site has a unique, concise and descriptive title contained in the &lt;title&gt; tag.<\/li>\n<li>Using the description &lt;meta&gt; tag to include a summary of each page.<\/li>\n<li>Using concise URLs.<\/li>\n<li>Submit an XML sitemap to the companies which run the search engines<\/li>\n<li>Using brief, descriptive filenames and alt text for images<\/li>\n<\/ul>\n<p><strong>Search engines and web crawlers<\/strong><\/p>\n<ul>\n<li>A web crawler (aka spider) is a piece of software which follows links from web page to web page, analyses the text on each page, and indexes the pages with related keywords.<\/li>\n<li>Search engines then use this index to find relevant pages when you carry out a search.<\/li>\n<\/ul>\n<p><strong>Optimisation of code<\/strong><\/p>\n<p>Load times of webpages affect traffic. By making code more efficient, file sizes, and therefore load times, can be reduced.<\/p>\n<p>Some techniques include:<\/p>\n<ul>\n<li>Using a single CSS file to hold all the formatting information for the site.<\/li>\n<li>Putting all JavaScript into a single external file, to reduce fetches from the server.<\/li>\n<li>Remove\/reduce internal commentary and white space.<\/li>\n<\/ul>\n<p><em>Thank you to C O\u2019Toole &amp; A Madill from Braidhurst High School for allowing me to edit and publish this here.<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Scripting Including sections of program code in your website, to help make it more dynamic or interactive, is called scripting. Client-side scripting \u00a0A section of code is sent to the client computer and executed there, in the browser. It is commonly used to add interactive elements to a webpage. JavaScript is a language commonly used &hellip;<\/p>\n","protected":false},"author":32,"featured_media":1078,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17939,319,475],"tags":[],"class_list":["post-1294","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-coding","category-oldhigher","category-revision"],"jetpack_featured_media_url":"https:\/\/blogs.glowscotland.org.uk\/nl\/public\/ColtnessHS-ComputingScience\/uploads\/sites\/12638\/2016\/03\/higher.png","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/blogs.glowscotland.org.uk\/nl\/ColtnessHS-ComputingScience\/wp-json\/wp\/v2\/posts\/1294","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.glowscotland.org.uk\/nl\/ColtnessHS-ComputingScience\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.glowscotland.org.uk\/nl\/ColtnessHS-ComputingScience\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.glowscotland.org.uk\/nl\/ColtnessHS-ComputingScience\/wp-json\/wp\/v2\/users\/32"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.glowscotland.org.uk\/nl\/ColtnessHS-ComputingScience\/wp-json\/wp\/v2\/comments?post=1294"}],"version-history":[{"count":2,"href":"https:\/\/blogs.glowscotland.org.uk\/nl\/ColtnessHS-ComputingScience\/wp-json\/wp\/v2\/posts\/1294\/revisions"}],"predecessor-version":[{"id":1296,"href":"https:\/\/blogs.glowscotland.org.uk\/nl\/ColtnessHS-ComputingScience\/wp-json\/wp\/v2\/posts\/1294\/revisions\/1296"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blogs.glowscotland.org.uk\/nl\/ColtnessHS-ComputingScience\/wp-json\/wp\/v2\/media\/1078"}],"wp:attachment":[{"href":"https:\/\/blogs.glowscotland.org.uk\/nl\/ColtnessHS-ComputingScience\/wp-json\/wp\/v2\/media?parent=1294"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.glowscotland.org.uk\/nl\/ColtnessHS-ComputingScience\/wp-json\/wp\/v2\/categories?post=1294"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.glowscotland.org.uk\/nl\/ColtnessHS-ComputingScience\/wp-json\/wp\/v2\/tags?post=1294"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}