{"id":6276,"date":"2014-02-08T05:03:00","date_gmt":"2014-02-07T18:03:00","guid":{"rendered":"http:\/\/www.rjmprogramming.com.au\/wordpress\/?p=6276"},"modified":"2014-02-08T05:03:00","modified_gmt":"2014-02-07T18:03:00","slug":"javascript-array-of-structures-primer-tutorial","status":"publish","type":"post","link":"https:\/\/www.rjmprogramming.com.au\/ITblog\/javascript-array-of-structures-primer-tutorial\/","title":{"rendered":"Javascript Array of Structures Primer Tutorial"},"content":{"rendered":"<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/Javascript\/ArrayOfStructures\/book_structure.php\"><img decoding=\"async\" style=\"float:left; border: 15px solid pink;\" alt=\"Javascript Array of Structures Primer Tutorial\" id='aacpti' src=\"http:\/\/www.rjmprogramming.com.au\/Javascript\/ArrayOfStructures\/JavascriptArrayOfStructures.jpg\" title=\"Javascript Array of Structures Primer Tutorial\" \/><\/a><p class=\"wp-caption-text\">Javascript Array of Structures Primer Tutorial<\/p><\/div>\n<p>Today&#8217;s tutorial explores data structures in Javascript and shows the use of an array of these data structures.   The subject matter of the resultant program is a Book Catalogue.  The Javascript handles the storage of this Book information in keeping with your web browser session as shown with the originally written <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/Javascript\/ArrayOfStructures\/book_structure.html_GETME\" title=\"book_structure.html\">book_structure.html<\/a> where the salient Javascript method of interest is Array <a target=_blank title='Javascript Array push method' href='http:\/\/www.w3schools.com\/jsref\/jsref_push.asp'>push<\/a>.   As you might imagine, a book catalogue can get big, and you may get <strike>sidetracted<\/strike> sidetracked and you may want to resume where you left off.   In order to do this, continuing on with just HTML\/Javascript you could use <a target=_blank title='Cookies' href='http:\/\/en.wikipedia.org\/wiki\/HTTP_cookie'>Cookies<\/a> but for our tutorial today we are going to use PHP called <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/Javascript\/ArrayOfStructures\/book_structure.php-GETME\" title=\"book_structure.php\">book_structure.php<\/a>.  So how we got from the HTML\/Javascript to a supervisory PHP\/HTML\/Javascript is shown <a target=_blank title='book_structure.php' href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/Geographicals\/diff.php?one=http:\/\/www.rjmprogramming.com.au\/Javascript\/ArrayOfStructures\/book_structure.php-GETME\">here<\/a>.<\/p>\n<p>As you can see Javascript is a very flexible language able to handle a variety of coding practices and forms and can easily be used to maintain an <a target=_blank title='Object Oriented programming' href='http:\/\/en.wikipedia.org\/wiki\/Object-oriented_programming'>Object Oriented<\/a> coding approach, as well.<\/p>\n<p>Please enjoy our live run <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/Javascript\/ArrayOfStructures\/book_structure.php\" title=\"live run\">tutorial<\/a> (a reduced-functionality live run of just HTML\/Javascript is available <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/Javascript\/ArrayOfStructures\/book_structure.html\" title=\"HTML\/Javascript live run\">here<\/a>).<\/p>\n<p>If this was interesting you may be interested in <a title='Click here to see topics in which you might be interested' href='#d6276' onclick='var dv=document.getElementById(\"d6276\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"http:\/\/www.rjmprogramming.com.au\/wordpress\/?tag=Cookies\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d6276' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Today&#8217;s tutorial explores data structures in Javascript and shows the use of an array of these data structures. The subject matter of the resultant program is a Book Catalogue. The Javascript handles the storage of this Book information in keeping &hellip; <a href=\"https:\/\/www.rjmprogramming.com.au\/ITblog\/javascript-array-of-structures-primer-tutorial\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12,37],"tags":[103,576,652,932,997,1208,1319],"class_list":["post-6276","post","type-post","status-publish","format-standard","hentry","category-elearning","category-tutorials","tag-array","tag-html","tag-javascript","tag-php","tag-programming","tag-structure","tag-tutorial"],"_links":{"self":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/6276"}],"collection":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/comments?post=6276"}],"version-history":[{"count":0,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/6276\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/media?parent=6276"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/categories?post=6276"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/tags?post=6276"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}