{"id":532,"date":"2013-03-16T11:19:14","date_gmt":"2013-03-16T00:19:14","guid":{"rendered":"http:\/\/www.rjmprogramming.com.au\/wordpress\/?p=532"},"modified":"2019-07-31T10:56:20","modified_gmt":"2019-07-31T00:56:20","slug":"mamp-mac-framework-for-phpmysql-tutorial","status":"publish","type":"post","link":"https:\/\/www.rjmprogramming.com.au\/ITblog\/mamp-mac-framework-for-phpmysql-tutorial\/","title":{"rendered":"MAMP Mac Framework for PHP\/MySql Tutorial"},"content":{"rendered":"<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/MAMP\/\"><img decoding=\"async\" style=\"border: 15px solid pink;\" alt=\"MAMP Mac Framework for PHP\/MySql Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/MAMP\/MAMP.jpg\" title=\"MAMP Mac Framework for PHP\/MySql Tutorial\"  style=\"float:left;\" \/><\/a><p class=\"wp-caption-text\">MAMP Mac Framework for PHP\/MySql Tutorial<\/p><\/div>\n<p><strong><\/p>\n<p>Transcript:<\/p>\n<p><\/strong><\/p>\n<p>Are you writing PHP with MySql bits, as well, maybe?<\/p>\n<p>I like your style!<\/p>\n<p>Do you have a testing environment, or do you load everything live straight away?<\/p>\n<p>For simple things, the latter is tempting, but it is not great, and for complex things it is definitely not a good idea.   It is amazing what you forget to take into account that can be sorted out using a local webserver to test your code.   For PC as far as local webservers go you have EasyPHP (which is great), Cassini or WAMP. For Mac, MAMP is great, and am going to show you bits of it below. These types of products are sometimes known as PHP Frameworks. MAMP has phpMyAdmin &#8230; need I advertise more?!<\/p>\n<p>Let&#8217;s  <a target=_blank title='click picture' href='http:\/\/www.rjmprogramming.com.au\/MAMP\/'>go<\/a> &#8230; we&#8217;ll start by looking for a place to download MAMP &#8230; and then skip to screens showing its features after you have installed it &#8230; the place where you should store your PHP is off the \/Applications\/MAMP\/htdocs path (which equates to http:\/\/localhost:8888 (if 8888 is set as your port) &#8230; will show you a scenario of something I am working on now at the end &#8230;<\/p>\n<p>   &#8230; stop press &#8230; MAMP PRO is not totally free software &#8230; but just plain MAMP is<br \/>\n   &#8230; have not seen the need to have MAMP PRO myself and just run MAMP myself &#8230; okay,<br \/>\n   let&#8217;s look at its features &#8230; good, huh &#8230; this is an example of how to use &#8230;\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='#d532' onclick='var dv=document.getElementById(\"d532\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"http:\/\/www.rjmprogramming.com.au\/wordpress\/?s=Framework\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d532' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Transcript: Are you writing PHP with MySql bits, as well, maybe? I like your style! Do you have a testing environment, or do you load everything live straight away? For simple things, the latter is tempting, but it is not &hellip; <a href=\"https:\/\/www.rjmprogramming.com.au\/ITblog\/mamp-mac-framework-for-phpmysql-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":[85,462,714,723,744,827,932,938,1200,1319,1411],"class_list":["post-532","post","type-post","status-publish","format-standard","hentry","category-elearning","category-tutorials","tag-apache","tag-framework","tag-local-web-server","tag-mac","tag-mamp","tag-mysql","tag-php","tag-phpmyadmin","tag-stop-press","tag-tutorial","tag-web-server"],"_links":{"self":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/532"}],"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=532"}],"version-history":[{"count":2,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/532\/revisions"}],"predecessor-version":[{"id":45788,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/532\/revisions\/45788"}],"wp:attachment":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/media?parent=532"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/categories?post=532"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/tags?post=532"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}