{"id":2453,"date":"2015-05-15T21:23:39","date_gmt":"2015-05-15T21:23:39","guid":{"rendered":"http:\/\/www.sitekickr.com\/blog\/?p=2453"},"modified":"2015-05-15T21:23:39","modified_gmt":"2015-05-15T21:23:39","slug":"web-developer-tips-2015","status":"publish","type":"post","link":"https:\/\/www.sitekickr.com\/blog\/web-developer-tips-2015\/","title":{"rendered":"Web Developer Tips May 2015"},"content":{"rendered":"<p>Here&#8217;s what I took away from the first half of May 2015.<\/p>\n<ol>\n<li>I discovered a new online tool, <a href=\"https:\/\/www.transformy.io\/#\/\">transformy.io<\/a>. My initial excitement was subdued a little bit when I actually used it, though it&#8217;s still an excellent tool if your data manipulation requirements aren&#8217;t too advanced.\n<p>I completely understand the simplicity thing, but I think a couple of options regarding how your data is formatted could have gone a long way to allow more advanced data manipulation.<\/li>\n<li>I learned that Amazon S3 has somewhat stricter naming conventions for objects than your operating system might allow.\n<p>If you&#8217;re pushing user-created files off to S3 for storage, you&#8217;ll want to verify that it doesn&#8217;t have any symbols that S3 doesn&#8217;t allow and remove them.<\/li>\n<li>I fell in love with a CSS compressor. Yup, that can happen if you find the right one!\n<p>Let me introduce you to CSSCompressor.com, where it&#8217;s not assumed that everyone wants the smallest possible file. Instead, you&#8217;re given options on how readable the CSS should be.<\/p>\n<p>This is great if you&#8217;re simply looking to kinda minify, but kinda make it maintainable too.<\/li>\n<li>You gotta\u00a0add \u00a0the following to your CSS reset style, if it&#8217;s not already there:\n<pre>main { display: block; }<\/pre>\n<p>&#8220;Why?&#8221;, \u00a0you ask. Because IE doesn&#8217;t render the main element as a block element by default.<\/li>\n<li>PHP has a nice little mysqli_multi_query() function, which is great for reducing round trips to your database. Better yet, it lets you grab the response of each query individually.\n<p>I haven&#8217;t met it&#8217;s equal in another language yet, though I don&#8217;t really stay up with other languages.<\/li>\n<li>I messed around with trying to solve the <a href=\"http:\/\/www.sitekickr.com\/blog\/solving-close-browser-tab-event-issue\/\">Close browser \/ tab event issue<\/a>. The issue being that the events are shared with a page reload, so it&#8217;s difficult to reliably determine if the browser was actually closed.<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Here&#8217;s what I took away from the first half of May 2015. I discovered a new online tool, transformy.io. My initial excitement was subdued a&hellip;<\/p>\n","protected":false},"author":1,"featured_media":2456,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"amp_status":""},"categories":[262],"tags":[],"_links":{"self":[{"href":"https:\/\/www.sitekickr.com\/blog\/wp-json\/wp\/v2\/posts\/2453"}],"collection":[{"href":"https:\/\/www.sitekickr.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sitekickr.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sitekickr.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sitekickr.com\/blog\/wp-json\/wp\/v2\/comments?post=2453"}],"version-history":[{"count":1,"href":"https:\/\/www.sitekickr.com\/blog\/wp-json\/wp\/v2\/posts\/2453\/revisions"}],"predecessor-version":[{"id":2454,"href":"https:\/\/www.sitekickr.com\/blog\/wp-json\/wp\/v2\/posts\/2453\/revisions\/2454"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.sitekickr.com\/blog\/wp-json\/wp\/v2\/media\/2456"}],"wp:attachment":[{"href":"https:\/\/www.sitekickr.com\/blog\/wp-json\/wp\/v2\/media?parent=2453"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sitekickr.com\/blog\/wp-json\/wp\/v2\/categories?post=2453"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sitekickr.com\/blog\/wp-json\/wp\/v2\/tags?post=2453"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}