<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Stories from the field on developwith — developer tips</title>
    <link>https://developwith.com/from-the-factory/</link>
    <description>Recent content in Stories from the field on developwith — developer tips</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Sun, 14 Apr 2019 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://developwith.com/from-the-factory/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Coding Philosophy Interview</title>
      <link>https://developwith.com/from-the-factory/coding-philosophy-interview/</link>
      <pubDate>Sun, 14 Apr 2019 00:00:00 +0000</pubDate>
      <guid>https://developwith.com/from-the-factory/coding-philosophy-interview/</guid>
      <description>&lt;p&gt;Ars Technica recently did an interview of the author of &lt;a href=&#34;https://www.amazon.com/gp/product/0735220565/ref=as_li_tl?ie=UTF8&amp;amp;camp=1789&amp;amp;creative=9325&amp;amp;creativeASIN=0735220565&amp;amp;linkCode=as2&amp;amp;tag=farmred-20&amp;amp;linkId=ded19e5a647dfa004b61b63655c6bf7c&#34;&gt;Coders&lt;/a&gt;, article can be found &lt;a href=&#34;https://arstechnica.com/gadgets/2019/04/how-the-new-art-form-of-coding-came-to-shape-our-modern-world/?utm_source=www.developwith.com&#34;&gt;here&lt;/a&gt;. In the interview, one of the more interesting quotes was:&lt;/p&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;People who are writing code are speaking. They&amp;#39;re speaking to a machine, but they&amp;#39;re speaking&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;This provoked a bit of commentary from the readership, mostly software engineers. The main point in the commentary was that we are speaking to machines but also to the next people that take on the code to maintain it. I used to use the expresssion, &amp;ldquo;Coding yourself out of a job&amp;rdquo;. This expression is the code should be so readable without documentation and simple enough that anyone can understand it.&lt;/p&gt;</description>
    </item>
    <item>
      <title>The Dangers of Piggybacking Scripts</title>
      <link>https://developwith.com/from-the-factory/dangers-of-piggybacking-scripts/</link>
      <pubDate>Sun, 14 Apr 2019 00:00:00 +0000</pubDate>
      <guid>https://developwith.com/from-the-factory/dangers-of-piggybacking-scripts/</guid>
      <description>&lt;p&gt;It&amp;rsquo;s tempting to load a third-party script — analytics, chat widgets, ad trackers — into your application and call it a day. But every script you include runs with the same privileges as your own code. That convenience comes with real risks.&lt;/p&gt;&#xA;&lt;h2 id=&#34;supply-chain-attacks&#34;&gt;Supply Chain Attacks&lt;/h2&gt;&#xA;&lt;p&gt;When you include a script from a third-party CDN or domain, you&amp;rsquo;re trusting that:&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;strong&gt;The provider won&amp;rsquo;t go malicious.&lt;/strong&gt; A compromised or hostile script vendor can inject keyloggers, steal cookies, or exfiltrate user data.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;The provider won&amp;rsquo;t be breached.&lt;/strong&gt; If their CDN is compromised, every site loading that script is affected.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;The script won&amp;rsquo;t be removed.&lt;/strong&gt; When a script disappears, your application breaks — or worse, a different script can be served at the same URL.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;The &lt;a href=&#34;https://twitter.com/thezedwards/status/1112563838178607105&#34;&gt;Zach Edwards tweet thread&lt;/a&gt; highlighted how scripts loaded from third parties can collect far more data than their stated purpose, often sending it to additional endpoints without the site owner&amp;rsquo;s knowledge.&lt;/p&gt;</description>
    </item>
    <item>
      <title>What do I name this thing?</title>
      <link>https://developwith.com/from-the-factory/what-do-i-name-this-thing/</link>
      <pubDate>Tue, 09 Apr 2019 00:00:00 +0000</pubDate>
      <guid>https://developwith.com/from-the-factory/what-do-i-name-this-thing/</guid>
      <description>&lt;p&gt;Everyone comes to a point in your development career when you can&amp;rsquo;t figure out what to name something? Say you have some method or function that moves something up a stack. There are so many names it could be &lt;code&gt;increment&lt;/code&gt;, &lt;code&gt;advance&lt;/code&gt;, and &lt;code&gt;move&lt;/code&gt; are some options. The cognitive load of thinking about what to name functions verse solving the business logic a real struggle.&lt;/p&gt;&#xA;&lt;p&gt;I&amp;rsquo;ve see arguments and debates go on for years related to what to name a variable, or what to call a method. Should the class be a Factory, Manager or maybe its an Aggregator. The amount of time spent coming up with the perfect verbage in development is overwhelming sometimes. Some teams are better than others, but overall you&amp;rsquo;ll come across the &lt;code&gt;What do I call this?&lt;/code&gt; debate on a pull request, a slack channel or even in some type of meeting.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Which Branching Model Should You Pick?</title>
      <link>https://developwith.com/from-the-factory/branching-models/</link>
      <pubDate>Tue, 09 Apr 2019 00:00:00 +0000</pubDate>
      <guid>https://developwith.com/from-the-factory/branching-models/</guid>
      <description>&lt;p&gt;Choosing a branching model is one of the first decisions a team makes with Git. There&amp;rsquo;s no single right answer — the best model depends on your team size, release cadence, and deployment process. Here&amp;rsquo;s a practical comparison of the most common strategies.&lt;/p&gt;&#xA;&lt;h2 id=&#34;trunk-based-development&#34;&gt;Trunk-Based Development&lt;/h2&gt;&#xA;&lt;p&gt;Everyone commits to &lt;code&gt;main&lt;/code&gt; (or &lt;code&gt;master&lt;/code&gt;) frequently — at least once a day. Short-lived feature branches may exist, but they&amp;rsquo;re merged within a day or two.&lt;/p&gt;</description>
    </item>
    <item>
      <title>API Gateways Are Plenty</title>
      <link>https://developwith.com/from-the-factory/api-gateways-plenty/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>https://developwith.com/from-the-factory/api-gateways-plenty/</guid>
      <description>&lt;p&gt;When you build microservices, every service has its own API. An API gateway sits in front of them all, providing a single entry point for clients. The good news: there are plenty of options. The challenge: choosing the right one.&lt;/p&gt;&#xA;&lt;h2 id=&#34;what-does-an-api-gateway-do&#34;&gt;What Does an API Gateway Do?&lt;/h2&gt;&#xA;&lt;p&gt;An API gateway handles cross-cutting concerns so individual services don&amp;rsquo;t have to:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Routing&lt;/strong&gt; — maps external URLs to internal services&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Authentication / Authorization&lt;/strong&gt; — validates tokens before forwarding requests&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Rate Limiting&lt;/strong&gt; — prevents abuse by throttling requests per client&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Load Balancing&lt;/strong&gt; — distributes traffic across service instances&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Request Transformation&lt;/strong&gt; — modifies headers, bodies, or protocols&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Circuit Breaking&lt;/strong&gt; — fails fast when a downstream service is down&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Logging / Metrics&lt;/strong&gt; — centralizes observability&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;the-landscape&#34;&gt;The Landscape&lt;/h2&gt;&#xA;&lt;h3 id=&#34;kong&#34;&gt;Kong&lt;/h3&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://konghq.com/kong/&#34;&gt;Kong&lt;/a&gt; is an open-source gateway built on Nginx, with a plugin-based architecture.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Cloud buildpacks and more</title>
      <link>https://developwith.com/from-the-factory/cloud-buldpacks/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>https://developwith.com/from-the-factory/cloud-buldpacks/</guid>
      <description>&lt;p&gt;So, ever since Docker came out there has been lots of people talking about containerization and how to best achieve the overall goals for making applicaitons into containers to run anywhere. The vision of building the apps and making these portable little nuggets of golden apps. What started happening is all these little hacks started going into the Dockerfile to make the app do specific things for the targeted app environment. Application developers found themselves copying and pasting different lines from other Dockerfiles and tweaking them to meet their needs. Its becoming a bit of a mess, but luckily there are a couple initiatives trying to solve the problem.&lt;/p&gt;</description>
    </item>
    <item>
      <title>New iOS build story</title>
      <link>https://developwith.com/from-the-factory/new-ios-build/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>https://developwith.com/from-the-factory/new-ios-build/</guid>
      <description>&lt;h1 id=&#34;new-ios-build-story&#34;&gt;New iOS build story&lt;/h1&gt;&#xA;&lt;p&gt;Great story on how a iphone app got setup into a new user&amp;rsquo;s phone. So simple and terse.&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;7:41 AM - Durk: so how&amp;rsquo;s it going&lt;/li&gt;&#xA;&lt;li&gt;7:41 AM - Jar Jar: it&amp;rsquo;s done&lt;/li&gt;&#xA;&lt;li&gt;7:42 AM - Durk: can you send me a link to the app or whatever for my iphone&lt;/li&gt;&#xA;&lt;li&gt;7:42 AM - Jar Jar: Are you set up in TestFlight?&lt;/li&gt;&#xA;&lt;li&gt;7:42 AM - Durk: not sure probably not&lt;/li&gt;&#xA;&lt;li&gt;7:42 AM - Jar Jar: i&amp;rsquo;ll send you an invite&lt;/li&gt;&#xA;&lt;li&gt;7:43 AM - Durk: ok thanks&lt;/li&gt;&#xA;&lt;li&gt;7:45 AM - Jar Jar: done&lt;/li&gt;&#xA;&lt;li&gt;7:46 AM - Durk: thanks&lt;/li&gt;&#xA;&lt;li&gt;7:49 AM - Jar Jar: lmk when you&amp;rsquo;ve added a device and i&amp;rsquo;ll send u the build&lt;/li&gt;&#xA;&lt;li&gt;7:53 AM - Durk: added device&lt;/li&gt;&#xA;&lt;li&gt;7:53 AM - Jar Jar: ok sent build&lt;/li&gt;&#xA;&lt;li&gt;7:55 AM - Durk: opening now&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;Its that simple. Great story.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
