{"id":1,"date":"2025-03-02T15:37:32","date_gmt":"2025-03-02T15:37:32","guid":{"rendered":"https:\/\/pubsmap.uk\/blog\/?p=1"},"modified":"2025-03-09T10:29:56","modified_gmt":"2025-03-09T10:29:56","slug":"genesis","status":"publish","type":"post","link":"https:\/\/pubsmap.uk\/blog\/development\/genesis\/","title":{"rendered":"Genesis"},"content":{"rendered":"\n<p>This is just a little bit about how the project started.<\/p>\n\n\n\n<p>It was roughly 2012, and I was sitting in the <a href=\"https:\/\/ttttt.org.uk\/maptest\/pub_details.php?id=13\" target=\"_blank\" rel=\"noreferrer noopener\">Vine Hotel, Stafford<\/a> one Friday lunchtime, and I&#8217;d just joined the <a href=\"https:\/\/cask-marque.co.uk\/\" data-type=\"link\" data-id=\"https:\/\/cask-marque.co.uk\/\">CaskMarque App<\/a> thing. I was already aware of <a href=\"https:\/\/foursquare.com\/\" data-type=\"link\" data-id=\"https:\/\/foursquare.com\/\">Foursquare\/Swarm<\/a>, and I thought it would be a nice idea just to have my own little Pub Logging thing, just to keep track of pubs I&#8217;d been in and liked.<\/p>\n\n\n\n<p>As I had my laptop with me, had a background in web development, and had nothing better to do all afternoon, I wrote a simple HTML\/PHP\/MySQL web page that I could run on my phone. I would take my location, work out the address, and save it to a database. Later, I would used the DB to create an KML file export to load into Google Earth.<\/p>\n\n\n\n<p>(Some of this code was adapted into a vehicle tracking system, which is still used in an updated form by one company today).<\/p>\n\n\n\n<p>Time passed, Thorin sat down and sang about gold, I upgraded my phone, and eventually forgot about the thing.<\/p>\n\n\n\n<p>Last year, 2024, my hosting provider was taken over, and I was &#8220;invited&#8221; to review my account. I found the old database (and code that didn&#8217;t really work anymore due to PHP being updated). <\/p>\n\n\n\n<p>I looked at the old idea and thought &#8220;Why did I waste that? I can make something useful from it!&#8221;<\/p>\n\n\n\n<p>And after a few days of work (spread over serveral weeks), we are where we are&#8230;.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is just a little bit about how the project started. It was roughly 2012, and I was sitting in the Vine Hotel, Stafford one Friday lunchtime, and I&#8217;d just joined the CaskMarque App thing. I was already aware of Foursquare\/Swarm, and I thought it would be a nice idea just to have my own &hellip; <a href=\"https:\/\/pubsmap.uk\/blog\/development\/genesis\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Genesis<\/span> <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":[2],"tags":[],"class_list":["post-1","post","type-post","status-publish","format-standard","hentry","category-development"],"_links":{"self":[{"href":"https:\/\/pubsmap.uk\/blog\/wp-json\/wp\/v2\/posts\/1","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pubsmap.uk\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pubsmap.uk\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pubsmap.uk\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pubsmap.uk\/blog\/wp-json\/wp\/v2\/comments?post=1"}],"version-history":[{"count":3,"href":"https:\/\/pubsmap.uk\/blog\/wp-json\/wp\/v2\/posts\/1\/revisions"}],"predecessor-version":[{"id":14,"href":"https:\/\/pubsmap.uk\/blog\/wp-json\/wp\/v2\/posts\/1\/revisions\/14"}],"wp:attachment":[{"href":"https:\/\/pubsmap.uk\/blog\/wp-json\/wp\/v2\/media?parent=1"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pubsmap.uk\/blog\/wp-json\/wp\/v2\/categories?post=1"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pubsmap.uk\/blog\/wp-json\/wp\/v2\/tags?post=1"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}