{"id":300,"date":"2015-09-28T15:30:01","date_gmt":"2015-09-28T19:30:01","guid":{"rendered":"https:\/\/fieldscience.cs.earlham.edu\/?p=300"},"modified":"2015-10-05T14:28:29","modified_gmt":"2015-10-05T18:28:29","slug":"web-development-done-python-style","status":"publish","type":"post","link":"https:\/\/fieldscience.cs.earlham.edu\/index.php\/2015\/09\/web-development-done-python-style\/","title":{"rendered":"Web Development done Python-style"},"content":{"rendered":"<p>Over the past couple weeks I&#8217;ve been looking into lightweight frameworks for doing web development. I&#8217;ve been experimenting with Flask, which is amazingly simple.<\/p>\n<p>I did some python\/bash scripting to manipulate data left over from Iceland, and cleaned it up so it would all fit into one database schema. This should be updated later to comply with some kind of standard we all decide on.<\/p>\n<p>I&#8217;m beginning to like the idea of developing our data interfacing software under an api-based model of programming. I think it is beneficial to decouple the database from the front end. I&#8217;m considering developing a restful api that returns data in a JSON format that can be interpreted and displayed on screen by some kind of JavaScript-based web app. This may also give us the flexibility to later integrate data into Android or desktop apps as well.<\/p>\n<p>One of the big tasks yet to do is to figure out how to send the data between the client application and the database server. Does anyone have any ideas as to how to do that?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Over the past couple weeks I&#8217;ve been looking into lightweight frameworks for doing web development. I&#8217;ve been experimenting with Flask, which is amazingly simple. I did some python\/bash scripting to manipulate data left over from Iceland, and cleaned it up &hellip; <a href=\"https:\/\/fieldscience.cs.earlham.edu\/index.php\/2015\/09\/web-development-done-python-style\/\">Read More<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"kt_blocks_editor_width":"","footnotes":""},"categories":[8,11],"tags":[],"class_list":["post-300","post","type-post","status-publish","format-standard","hentry","category-eamon","category-progress-reports"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Web Development done Python-style - fieldscience @ earlham<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/fieldscience.cs.earlham.edu\/index.php\/2015\/09\/web-development-done-python-style\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Web Development done Python-style - fieldscience @ earlham\" \/>\n<meta property=\"og:description\" content=\"Over the past couple weeks I&#8217;ve been looking into lightweight frameworks for doing web development. I&#8217;ve been experimenting with Flask, which is amazingly simple. I did some python\/bash scripting to manipulate data left over from Iceland, and cleaned it up &hellip; Read More\" \/>\n<meta property=\"og:url\" content=\"https:\/\/fieldscience.cs.earlham.edu\/index.php\/2015\/09\/web-development-done-python-style\/\" \/>\n<meta property=\"og:site_name\" content=\"fieldscience @ earlham\" \/>\n<meta property=\"article:published_time\" content=\"2015-09-28T19:30:01+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2015-10-05T18:28:29+00:00\" \/>\n<meta name=\"author\" content=\"Charlie Peck\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Charlie Peck\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/fieldscience.cs.earlham.edu\\\/index.php\\\/2015\\\/09\\\/web-development-done-python-style\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/fieldscience.cs.earlham.edu\\\/index.php\\\/2015\\\/09\\\/web-development-done-python-style\\\/\"},\"author\":{\"name\":\"Charlie Peck\",\"@id\":\"https:\\\/\\\/fieldscience.cs.earlham.edu\\\/#\\\/schema\\\/person\\\/35638761578ae6dca2bfb2f54ef2f2e5\"},\"headline\":\"Web Development done Python-style\",\"datePublished\":\"2015-09-28T19:30:01+00:00\",\"dateModified\":\"2015-10-05T18:28:29+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/fieldscience.cs.earlham.edu\\\/index.php\\\/2015\\\/09\\\/web-development-done-python-style\\\/\"},\"wordCount\":187,\"commentCount\":0,\"articleSection\":[\"Eamon\",\"Progress Reports\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/fieldscience.cs.earlham.edu\\\/index.php\\\/2015\\\/09\\\/web-development-done-python-style\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/fieldscience.cs.earlham.edu\\\/index.php\\\/2015\\\/09\\\/web-development-done-python-style\\\/\",\"url\":\"https:\\\/\\\/fieldscience.cs.earlham.edu\\\/index.php\\\/2015\\\/09\\\/web-development-done-python-style\\\/\",\"name\":\"Web Development done Python-style - fieldscience @ earlham\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/fieldscience.cs.earlham.edu\\\/#website\"},\"datePublished\":\"2015-09-28T19:30:01+00:00\",\"dateModified\":\"2015-10-05T18:28:29+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/fieldscience.cs.earlham.edu\\\/#\\\/schema\\\/person\\\/35638761578ae6dca2bfb2f54ef2f2e5\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/fieldscience.cs.earlham.edu\\\/index.php\\\/2015\\\/09\\\/web-development-done-python-style\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/fieldscience.cs.earlham.edu\\\/index.php\\\/2015\\\/09\\\/web-development-done-python-style\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/fieldscience.cs.earlham.edu\\\/index.php\\\/2015\\\/09\\\/web-development-done-python-style\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/fieldscience.cs.earlham.edu\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Web Development done Python-style\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/fieldscience.cs.earlham.edu\\\/#website\",\"url\":\"https:\\\/\\\/fieldscience.cs.earlham.edu\\\/\",\"name\":\"fieldscience @ earlham\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/fieldscience.cs.earlham.edu\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/fieldscience.cs.earlham.edu\\\/#\\\/schema\\\/person\\\/35638761578ae6dca2bfb2f54ef2f2e5\",\"name\":\"Charlie Peck\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/fieldscience.cs.earlham.edu\\\/wp-content\\\/uploads\\\/cfp-solo-2019-small-150x150.jpg\",\"url\":\"https:\\\/\\\/fieldscience.cs.earlham.edu\\\/wp-content\\\/uploads\\\/cfp-solo-2019-small-150x150.jpg\",\"contentUrl\":\"https:\\\/\\\/fieldscience.cs.earlham.edu\\\/wp-content\\\/uploads\\\/cfp-solo-2019-small-150x150.jpg\",\"caption\":\"Charlie Peck\"},\"description\":\"I teach computer science at Earlham College in Richmond, Indiana. I have been working with groups of students and faculty in Iceland since 2013 on glaciology, archaeology, biology, and sustainability projects with local scientists and students.\",\"sameAs\":[\"https:\\\/\\\/cluster.earlham.edu\\\/~charliep\"],\"url\":\"https:\\\/\\\/fieldscience.cs.earlham.edu\\\/index.php\\\/author\\\/charliepeck\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Web Development done Python-style - fieldscience @ earlham","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/fieldscience.cs.earlham.edu\/index.php\/2015\/09\/web-development-done-python-style\/","og_locale":"en_US","og_type":"article","og_title":"Web Development done Python-style - fieldscience @ earlham","og_description":"Over the past couple weeks I&#8217;ve been looking into lightweight frameworks for doing web development. I&#8217;ve been experimenting with Flask, which is amazingly simple. I did some python\/bash scripting to manipulate data left over from Iceland, and cleaned it up &hellip; Read More","og_url":"https:\/\/fieldscience.cs.earlham.edu\/index.php\/2015\/09\/web-development-done-python-style\/","og_site_name":"fieldscience @ earlham","article_published_time":"2015-09-28T19:30:01+00:00","article_modified_time":"2015-10-05T18:28:29+00:00","author":"Charlie Peck","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Charlie Peck","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/fieldscience.cs.earlham.edu\/index.php\/2015\/09\/web-development-done-python-style\/#article","isPartOf":{"@id":"https:\/\/fieldscience.cs.earlham.edu\/index.php\/2015\/09\/web-development-done-python-style\/"},"author":{"name":"Charlie Peck","@id":"https:\/\/fieldscience.cs.earlham.edu\/#\/schema\/person\/35638761578ae6dca2bfb2f54ef2f2e5"},"headline":"Web Development done Python-style","datePublished":"2015-09-28T19:30:01+00:00","dateModified":"2015-10-05T18:28:29+00:00","mainEntityOfPage":{"@id":"https:\/\/fieldscience.cs.earlham.edu\/index.php\/2015\/09\/web-development-done-python-style\/"},"wordCount":187,"commentCount":0,"articleSection":["Eamon","Progress Reports"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/fieldscience.cs.earlham.edu\/index.php\/2015\/09\/web-development-done-python-style\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/fieldscience.cs.earlham.edu\/index.php\/2015\/09\/web-development-done-python-style\/","url":"https:\/\/fieldscience.cs.earlham.edu\/index.php\/2015\/09\/web-development-done-python-style\/","name":"Web Development done Python-style - fieldscience @ earlham","isPartOf":{"@id":"https:\/\/fieldscience.cs.earlham.edu\/#website"},"datePublished":"2015-09-28T19:30:01+00:00","dateModified":"2015-10-05T18:28:29+00:00","author":{"@id":"https:\/\/fieldscience.cs.earlham.edu\/#\/schema\/person\/35638761578ae6dca2bfb2f54ef2f2e5"},"breadcrumb":{"@id":"https:\/\/fieldscience.cs.earlham.edu\/index.php\/2015\/09\/web-development-done-python-style\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/fieldscience.cs.earlham.edu\/index.php\/2015\/09\/web-development-done-python-style\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/fieldscience.cs.earlham.edu\/index.php\/2015\/09\/web-development-done-python-style\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/fieldscience.cs.earlham.edu\/"},{"@type":"ListItem","position":2,"name":"Web Development done Python-style"}]},{"@type":"WebSite","@id":"https:\/\/fieldscience.cs.earlham.edu\/#website","url":"https:\/\/fieldscience.cs.earlham.edu\/","name":"fieldscience @ earlham","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/fieldscience.cs.earlham.edu\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/fieldscience.cs.earlham.edu\/#\/schema\/person\/35638761578ae6dca2bfb2f54ef2f2e5","name":"Charlie Peck","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/fieldscience.cs.earlham.edu\/wp-content\/uploads\/cfp-solo-2019-small-150x150.jpg","url":"https:\/\/fieldscience.cs.earlham.edu\/wp-content\/uploads\/cfp-solo-2019-small-150x150.jpg","contentUrl":"https:\/\/fieldscience.cs.earlham.edu\/wp-content\/uploads\/cfp-solo-2019-small-150x150.jpg","caption":"Charlie Peck"},"description":"I teach computer science at Earlham College in Richmond, Indiana. I have been working with groups of students and faculty in Iceland since 2013 on glaciology, archaeology, biology, and sustainability projects with local scientists and students.","sameAs":["https:\/\/cluster.earlham.edu\/~charliep"],"url":"https:\/\/fieldscience.cs.earlham.edu\/index.php\/author\/charliepeck\/"}]}},"_links":{"self":[{"href":"https:\/\/fieldscience.cs.earlham.edu\/index.php\/wp-json\/wp\/v2\/posts\/300","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fieldscience.cs.earlham.edu\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fieldscience.cs.earlham.edu\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fieldscience.cs.earlham.edu\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/fieldscience.cs.earlham.edu\/index.php\/wp-json\/wp\/v2\/comments?post=300"}],"version-history":[{"count":1,"href":"https:\/\/fieldscience.cs.earlham.edu\/index.php\/wp-json\/wp\/v2\/posts\/300\/revisions"}],"predecessor-version":[{"id":302,"href":"https:\/\/fieldscience.cs.earlham.edu\/index.php\/wp-json\/wp\/v2\/posts\/300\/revisions\/302"}],"wp:attachment":[{"href":"https:\/\/fieldscience.cs.earlham.edu\/index.php\/wp-json\/wp\/v2\/media?parent=300"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fieldscience.cs.earlham.edu\/index.php\/wp-json\/wp\/v2\/categories?post=300"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fieldscience.cs.earlham.edu\/index.php\/wp-json\/wp\/v2\/tags?post=300"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}