{"id":550,"date":"2013-03-16T19:08:18","date_gmt":"2013-03-16T08:08:18","guid":{"rendered":"http:\/\/www.rjmprogramming.com.au\/wordpress\/?p=550"},"modified":"2024-12-22T07:23:21","modified_gmt":"2024-12-21T21:23:21","slug":"php-javascript-html-primer-tutorial","status":"publish","type":"post","link":"https:\/\/www.rjmprogramming.com.au\/ITblog\/php-javascript-html-primer-tutorial\/","title":{"rendered":"PHP + JavaScript + HTML Primer Tutorial"},"content":{"rendered":"<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=\"_blank\" href=\"http:\/\/www.rjmprogramming.com.au\/PHP\/php-javascript-html.jpg\" rel=\"noopener\"><img decoding=\"async\" style=\"border: 15px solid pink;\" alt=\"PHP + JavaScript + HTML Primer Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/PHP\/php-javascript-html.jpg\" title=\"PHP + JavaScript + HTML Primer Tutorial\"  style=\"float:left;\" \/><\/a><p class=\"wp-caption-text\">PHP + JavaScript + HTML Primer Tutorial<\/p><\/div>\n<p>PHP is a wonderful language to learn.   It is usually associated with being a web server-side language (as with this tutorial, where it is being shown on a local <a target=\"_blank\" href='http:\/\/www.rjmprogramming.com.au\/wordpress\/?p=532' rel=\"noopener\">MAMP<\/a> web server) but can be a <a target=\"_blank\" href='http:\/\/www.rjmprogramming.com.au\/wordpress\/?p=262' rel=\"noopener\">command line tool<\/a> as well.   If you like PHP you may eventually like <a target=\"_blank\" href='http:\/\/www.rjmprogramming.com.au\/wordpress\/?p=482' rel=\"noopener\">ASP.Net<\/a> and\/or Python, and vice versa.   It has sophisticated data structures, Object Oriented (the thinking that you can build classes with data and methods which define objects created as you run the program &#8230; eg. you might write a class for book and have data members for things like numPages and publisher, author, creationDate and have methods called things like getCreationDate, setCreationDate, getAuthor, setAuthor allowing the user to use these methods rather than changing the  data members themselves &#8230; heaven forbid that!) code concepts, and really combines well with <a target=\"_blank\" href='http:\/\/www.rjmprogramming.com.au\/wordpress\/?p=293' rel=\"noopener\">JavaScript<\/a> (as a client-side language).     <\/p>\n<p><a target=\"_blank\" href='http:\/\/www.rjmprogramming.com.au\/PHP\/php-javascript-html.php_GETME' rel=\"noopener\">Download source code and rename to php-javascript-html.php<\/a><\/p>\n<p><a target=\"_blank\" title='click picture' href='http:\/\/www.rjmprogramming.com.au\/PHP\/php-javascript-html.jpg' rel=\"noopener\">Tutorial<\/a> &#8230;<\/p>\n<p><strong><em>Did you know &#8230;<\/em><\/strong><br \/>\nJavaScript makes a great easy-access Calculator?<\/p>\n<p>Try typing the lines below into the address bar of your favourite browser:<\/p>\n<p>Javascript: eval(512 \/ 380);<br \/>\nJavascript: eval(512 * 380);<br \/>\nJavascript: eval(512 &#8211; 380);<br \/>\nJavascript: eval(512 + 380);<br \/>\nJavascript: eval(512 % 380);<\/p>\n<p>These days we spend so much time on the Internet it is a much quicker way to get to a calculator!\n<\/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='#d550' onclick='var dv=document.getElementById(\"d550\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"http:\/\/www.rjmprogramming.com.au\/wordpress\/?s=PHP\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d550' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n","protected":false},"excerpt":{"rendered":"<p>PHP is a wonderful language to learn. It is usually associated with being a web server-side language (as with this tutorial, where it is being shown on a local MAMP web server) but can be a command line tool as &hellip; <a href=\"https:\/\/www.rjmprogramming.com.au\/ITblog\/php-javascript-html-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":[576,652,932,1319],"class_list":["post-550","post","type-post","status-publish","format-standard","hentry","category-elearning","category-tutorials","tag-html","tag-javascript","tag-php","tag-tutorial"],"_links":{"self":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/550"}],"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=550"}],"version-history":[{"count":2,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/550\/revisions"}],"predecessor-version":[{"id":66142,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/550\/revisions\/66142"}],"wp:attachment":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/media?parent=550"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/categories?post=550"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/tags?post=550"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}