{"id":4575,"date":"2013-10-03T05:30:20","date_gmt":"2013-10-02T19:30:20","guid":{"rendered":"http:\/\/www.rjmprogramming.com.au\/wordpress\/?p=4575"},"modified":"2013-10-03T05:30:20","modified_gmt":"2013-10-02T19:30:20","slug":"netbeans-ide-php-primer-tutorial","status":"publish","type":"post","link":"https:\/\/www.rjmprogramming.com.au\/ITblog\/netbeans-ide-php-primer-tutorial\/","title":{"rendered":"NetBeans IDE PHP Primer Tutorial"},"content":{"rendered":"<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/NetBeans\/\"><img decoding=\"async\" style=\"float:left; border: 15px solid pink;\" alt=\"NetBeans IDE PHP Primer Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/NetBeans\/NetBeans_PHP_Primer-0of.jpg\" title=\"NetBeans IDE PHP Primer Tutorial\"  \/><\/a><p class=\"wp-caption-text\">NetBeans IDE PHP Primer Tutorial<\/p><\/div>\n<p>Programming <a target=_blank title='IDE information from Wikipedia' href='http:\/\/een.wikipedia.org\/wiki\/IDE\u200e'>IDE<\/a>s take a lot of the hard work out of tasks such as compiling and linking in languages such as Java, C, C++, VB.Net and C#.   In the case of NetBeans IDE, which this blog introduces to you today (its customary to shake hands, and no <a target=_blank title='pardon?' href='http:\/\/www.youtube.com\/watch?v=SGZV6fsotYo'>Klingon<\/a> is necessary), it can make PHP into a project environment, which can help a lot to &#8220;motor&#8221; to a function of choice that you are interested in, in a much faster way than coding PHP with a text editor like TextWrangler can help you achieve.   To cut a long story short, there aint nothin&#8217; wrong with a good ol&#8217; IDE, but beware of IDEs in <a target=_blank title='Ides of March' href='https:\/\/www.youtube.com\/watch?v=Je0gTnheVe4'>March<\/a>.<\/p>\n<p>In saying that about IDEs, and how they make programming easier, often with Open Source programming, it is advantageous to know what goes on &#8220;under the hood&#8221; (or even &#8220;in the &#8216;hood&#8221; &#8230; chortle, chortle).   So if you ever get an opportunity to get helped creating your own makefile (or make it yourself, even with the <a target=_blank title='Sweet Green Icing' href='http:\/\/www.youtube.com\/watch?v=CPMpeNDIGdk'>Sweet Green Icing<\/a> &#8230; knew it could be worked in!) for something, take the opportunity to learn how to do this, as the Open Source world will become a little easier to navigate with such types of knowledge.   You&#8217;ve got to admire those early designers of computer languages, and those days when all you had was this tiny bit of memory (<a target=_blank title='64k' href='http:\/\/www.crashonline.org.uk\/39\/z88.htm'>64k<\/a> or <a target=_blank title='Voyager computer system' href='http:\/\/www.activeastronomy.org\/Home\/daniel'>&#8220;into the heliosphere on 8,000 bytes of memory&#8221;<\/a>) to play with to create your program.   <\/p>\n<p>In today&#8217;s <a target=_blank title='click on picture' href=\"http:\/\/www.rjmprogramming.com.au\/NetBeans\/\">tutorial<\/a> we simulate a situation where you have a PHP website (subdomain) live and you notice something needing work.   Being an organized person you arrange for a NetBeans project to test your changes with a local <a target=_blank title='PHP and MySql via MAMP Primer Tutorial' href='http:\/\/www.rjmprogramming.com.au\/wordpress\/?p=933'>MAMP<\/a> webserver.   NetBeans calls this a Remote Web Application arrangement and for the synchronization of such an arrangement NetBeans asks for an (s)<a target=_blank title='ftp information from Wikipedia' href='http:\/\/en.wikipedia.org\/wiki\/File_Transfer_Protocol'>ftp<\/a> connection be used, but if you are there with it intact on MAMP you can let the connection &#8220;slip&#8221; and you will still be able to unit test &#8230; particularly if you are watching your download limits (which is happening for me at the minute) &#8230; then re-establish the connection to make your changes happen &#8220;live&#8221;.   These are all pretty convenient procedures for PHP work. <\/p>\n<p>NetBeans can be an IDE for much more than PHP &#8230; it can supervise Java, C++, Maven, Groovy and HTML\/Javascript.   In coming days and weeks we&#8217;ll look at more.<\/p>\n<p>Link to NetBeans &#8220;spiritual home&#8221; download page at <a target=_blank title='NetBeans download page' href='https:\/\/netbeans.org\/downloads\/'>NetBeans<\/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='#d4575' onclick='var dv=document.getElementById(\"d4575\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"http:\/\/www.rjmprogramming.com.au\/wordpress\/?s=IDE#content\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d4575' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Programming IDEs take a lot of the hard work out of tasks such as compiling and linking in languages such as Java, C, C++, VB.Net and C#. In the case of NetBeans IDE, which this blog introduces to you today &hellip; <a href=\"https:\/\/www.rjmprogramming.com.au\/ITblog\/netbeans-ide-php-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,24,37],"tags":[469,585,833,932,999,1129,1319],"class_list":["post-4575","post","type-post","status-publish","format-standard","hentry","category-elearning","category-netbeans","category-tutorials","tag-ftp","tag-ide","tag-netbeans","tag-php","tag-project","tag-sftp","tag-tutorial"],"_links":{"self":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/4575"}],"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=4575"}],"version-history":[{"count":0,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/4575\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/media?parent=4575"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/categories?post=4575"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/tags?post=4575"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}