{"id":80,"date":"2007-11-10T15:17:01","date_gmt":"2007-11-10T20:17:01","guid":{"rendered":"http:\/\/www.jasonmorrison.net\/content\/2007\/how-do-you-set-up-a-php-development-environment\/"},"modified":"2007-11-10T15:17:01","modified_gmt":"2007-11-10T20:17:01","slug":"how-do-you-set-up-a-php-development-environment","status":"publish","type":"post","link":"http:\/\/www.jasonmorrison.net\/content\/2007\/how-do-you-set-up-a-php-development-environment\/","title":{"rendered":"How do you set up a PHP development environment?"},"content":{"rendered":"<p><a href=\"http:\/\/www.jasonmorrison.net\/content\/photos\/photo\/1556578499\/DSCN1377-1.html\" class=\"tt-flickr\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/farm3.static.flickr.com\/2407\/1556578499_832efc81a1_m.jpg\" alt=\"DSCN1377-1\" align=\"right\" border=\"0\" height=\"180\" width=\"240\" \/><\/a>Are you a budding web developer wondering where to start?\u00a0 An old hand looking for new tools?\u00a0 Let me tell you a little bit about how I do my PHP \/ web development work, and maybe some it will be of use to you.<\/p>\n<p>I am starting up some work on <a href=\"http:\/\/www.mealographer.com\">Mealographer<\/a> again.\u00a0 It definitely needs it, I did a usability test about a year ago and still haven&#8217;t fixed the issues I uncovered.\u00a0 I haven&#8217;t been doing a lot of work in PHP recently, at my day job is all Java all the time.\u00a0 I used to be happy with a text editor, a server somewhere and a browser, but since I&#8217;ve been using Eclipse I&#8217;ve become spoiled by better tools.<\/p>\n<p>So what do you need to get started?\u00a0 If you just want to play around, all you need is:<\/p>\n<p><strong>A text editor<\/strong>.\u00a0 You can use Notepad, but I&#8217;ve used <a href=\"http:\/\/www.htmlkit.com\/\">HTMLKit<\/a> in the past.\u00a0 It&#8217;s free and it does basic stuff like syntax highlighting nicely.<\/p>\n<p><strong>A server<\/strong>.\u00a0 You can set everything up on a remote server, many have <a href=\"http:\/\/www.site5.com\/in.php?id=10918\">PHP accounts for as low as $5\/month<\/a>.\u00a0 Right now I use <a href=\"http:\/\/www.site5.com\/in.php?id=10918\">Site5 [referral link]<\/a>.\u00a0 I also want to give a shout out to <a href=\"http:\/\/www.q5media.com\/\">Q5Media<\/a>, though PHP isn&#8217;t their main thing.<\/p>\n<p><strong>A browser<\/strong>.\u00a0 This is pretty basic, but worth mentioning.\u00a0 You need Firefox, which is free to download.\u00a0 You&#8217;ll also want to test things in IE, which you probably already had.<\/p>\n<p>You can do real work with just the above.\u00a0 It&#8217;s worth taking advantage of all the great tools out there, though, including:<\/p>\n<p><strong>An integrated development environment (IDE)<\/strong> &#8211; I&#8217;m pretty happy with Eclipse for Java development (or the related IBM RAD 6).\u00a0 What about for PHP?\u00a0 Right now I&#8217;m trying to <a href=\"http:\/\/www.dangrossman.info\/2006\/12\/20\/php-development-environment\/\">decide between PHPEclispe and the PDT plugin<\/a>.\u00a0 Anyone have an opinion on which way to go?<\/p>\n<p><strong>A local development server<\/strong> &#8211; If you want to run PHP locally on windows, you can install Apache or get PHP working on IIS.\u00a0 In my experience, though, <a href=\"http:\/\/www.wampserver.com\/en\/\">you can&#8217;t beat WAMPSERVER<\/a> &#8211; it includes Apache, MySQL and PHP and makes configuration pretty easy.<\/p>\n<p><strong>Source control<\/strong> &#8211; There&#8217;s no way to keep track of a project of any real size without a change management system.\u00a0 I have used CVS a lot, and <a href=\"http:\/\/www.syntevo.com\/smartcvs\/index.html\">SmartCVS is a good free client<\/a>.\u00a0 There are also CVS plugins for Eclipse.\u00a0 I have heard a lot of good things about <a href=\"http:\/\/subversion.tigris.org\/\">Subversion<\/a> as well.<\/p>\n<p><strong>Web developer plugins for Firefox<\/strong> &#8211; seriously, if you don&#8217;t have these, you might as well tie your hand behind your back when writing JavaScript of CSS.\u00a0 <a href=\"http:\/\/www.unsoughtinput.com\/index.php\/2007\/07\/09\/the-best-firefox-plugins-and-extensions\/\">Here&#8217;s a good list of Firefox plugins<\/a>.<\/p>\n<p>So that&#8217;s what I use &#8211; what am I missing?\u00a0 Post suggestions in the comments below.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Are you a budding web developer wondering where to start?\u00a0 An old hand looking for new tools?\u00a0 Let me tell you a little bit about how I do my PHP \/ web development work, and maybe some it will be of use to you. I am starting up some work on Mealographer again.\u00a0 It definitely [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[19,118],"tags":[121,120,20,119,44,124,122,123,46],"class_list":["post-80","post","type-post","status-publish","format-standard","hentry","category-blog","category-programming","tag-cvs","tag-eclipse","tag-firefox","tag-ide","tag-php","tag-plugins","tag-source-control","tag-tools","tag-web-development"],"aioseo_notices":[],"_links":{"self":[{"href":"http:\/\/www.jasonmorrison.net\/content\/wp-json\/wp\/v2\/posts\/80","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.jasonmorrison.net\/content\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.jasonmorrison.net\/content\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.jasonmorrison.net\/content\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.jasonmorrison.net\/content\/wp-json\/wp\/v2\/comments?post=80"}],"version-history":[{"count":0,"href":"http:\/\/www.jasonmorrison.net\/content\/wp-json\/wp\/v2\/posts\/80\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.jasonmorrison.net\/content\/wp-json\/wp\/v2\/media?parent=80"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.jasonmorrison.net\/content\/wp-json\/wp\/v2\/categories?post=80"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.jasonmorrison.net\/content\/wp-json\/wp\/v2\/tags?post=80"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}