{"id":123,"date":"2011-03-29T19:30:05","date_gmt":"2011-03-29T19:30:05","guid":{"rendered":"http:\/\/www.sharonmurphy.com\/wordpress\/?p=123"},"modified":"2020-07-24T13:36:14","modified_gmt":"2020-07-24T12:36:14","slug":"web-apps-the-new-knitting","status":"publish","type":"post","link":"https:\/\/www.sharonmurphy.com\/wordpress\/2011\/03\/web-apps-the-new-knitting\/","title":{"rendered":"Web Apps &#8211; the New Knitting"},"content":{"rendered":"<p>I have a habit of picking up hobbies, getting obsessed with them for a while, then moving on to the next thing. A couple of years ago it was knitting, right now it&#8217;s web apps.<\/p>\n<h3>The Seed of an Idea<\/h3>\n<p>Gardening, though, is one of the hobbies that&#8217;s stuck, and I&#8217;m still at it many years on. I don&#8217;t grow vast quantities of anything, but I like to have a go at most things just to see how they go, and home grown definitely tastes best.<\/p>\n<p>I garden in containers, mainly. Ever since I For the last few years, I&#8217;ve spent the first week or two of each vegetable growing season trying to figure out what I should plant in which pots to reuse the compost the &#8220;right&#8221; way, and wishing that there was a nice friendly little app I could refer to that would tell me: &#8220;oh, your old carrot trough? you should stick some tomatoes or potatoes in there this year&#8221; and the like.<\/p>\n<p>Well &#8211; at the moment I&#8217;m in a &#8220;when hobbies collide&#8221; zone, and decided that while I&#8217;m on a web app buzz, I&#8217;d go ahead and write the damned app since noone else seemed to be doing it.<\/p>\n<h3>How it Works<\/h3>\n<p>The app gives you two options: tell it what you grew last year and it&#8217;ll recommend what you can grow in the same spot this year, or tell it what you want to grow and it&#8217;ll recommend where you should plant based on last year&#8217;s planting.<\/p>\n<p>The current version works on a common 5 year rotation. My research indicates that there&#8217;s more than one, so it may not match what you&#8217;re already doing. If you&#8217;re nosy, you can take a look at the page&#8217;s code and figure out what the original 4 year rotation was before I updated to a 5 year one, and see how they differ.<\/p>\n<p><a href=\"https:\/\/www.sharonmurphy.com\/garden\/croprotate.html\" target=\"_blank\" rel=\"noopener noreferrer\">Have a go of the app!<\/a><\/p>\n<p><strong>Note:<\/strong> If you want to skip a vegetable category, you can select one of the  recommended crops and plug it back into the app to skip forward or back a  stage. For example, if I want to grow broccoli and the app recommends I plant it where I had legumes last, but I haven&#8217;t planted any legumes, I can select &#8220;beans&#8221; as the crop I&#8217;d like to plant instead and see what would have been planted in the same spot 2 stages ago, then stick my broccoli there instead.<\/p>\n<h3>Credit where Credit is Due<\/h3>\n<p>To allow iThing users to download the web app, store it on their device and use it natively, I used <a href=\"http:\/\/google-opensource.blogspot.com\/2010\/09\/introducing-mobile-bookmark-bubble.html\" target=\"_blank\" rel=\"noopener noreferrer\">Google&#8217;s Mobile Bookmark Bubble<\/a>. Considerably less hassle than going through the iTunes submission process.<\/p>\n<p>To refresh my poor tired mind on things HTML and javascript, <a href=\"http:\/\/www.w3schools.com\" target=\"_blank\" rel=\"noopener noreferrer\">www.w3schools.com<\/a> was of great value.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have a habit of picking up hobbies, getting obsessed with them for a while, then moving on to the next thing. A couple of years ago it was knitting, right now it&#8217;s web apps. The Seed of an Idea Gardening, though, is one of the hobbies that&#8217;s stuck, and I&#8217;m still at it many &hellip; <a href=\"https:\/\/www.sharonmurphy.com\/wordpress\/2011\/03\/web-apps-the-new-knitting\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Web Apps &#8211; the New Knitting&#8221;<\/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":[4,31],"tags":[5],"class_list":["post-123","post","type-post","status-publish","format-standard","hentry","category-reviews","category-tech","tag-apps"],"_links":{"self":[{"href":"https:\/\/www.sharonmurphy.com\/wordpress\/wp-json\/wp\/v2\/posts\/123","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sharonmurphy.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sharonmurphy.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sharonmurphy.com\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sharonmurphy.com\/wordpress\/wp-json\/wp\/v2\/comments?post=123"}],"version-history":[{"count":11,"href":"https:\/\/www.sharonmurphy.com\/wordpress\/wp-json\/wp\/v2\/posts\/123\/revisions"}],"predecessor-version":[{"id":1511,"href":"https:\/\/www.sharonmurphy.com\/wordpress\/wp-json\/wp\/v2\/posts\/123\/revisions\/1511"}],"wp:attachment":[{"href":"https:\/\/www.sharonmurphy.com\/wordpress\/wp-json\/wp\/v2\/media?parent=123"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sharonmurphy.com\/wordpress\/wp-json\/wp\/v2\/categories?post=123"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sharonmurphy.com\/wordpress\/wp-json\/wp\/v2\/tags?post=123"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}