Coding Blocks

Coding Blocks

By Allen Underwood, Michael Outlaw, Joe ZackBusinessTechnologyEducationHow ToCareers
Download on the App Store

Coding Blocks episodes

  • The Twelve-Factor App: Backing Services, Building and Releasing, Stateless Processes

     

    Surveys – Wow we forget about them and ramble...sorry guys!

     

    Mark Tinsley – PHP Composer – thanks for the tip!
    https://getcomposer.org/

     

    Joe made a game in Javascript (using dozens of libraries):

    Box Pusher! (game name of the year)
    https://github.com/THEjoezack/BoxPusher

     

    Allen's cry for writing black-boxed, encapsulated code...
    Episode on Encapsulation: http://www.codingblocks.net/episode23

    Episode on SOLID Design: http://www.codingblocks.net/episode7

     

    Probably want to listen to the first three parts of the 12 Factor App if you missed it:

    http://www.codingblocks.net/episode32


    IV. Backing Services

    • Any resource consumed over the network: databases, mail servers, cloud services, etc.

    • Anything external to your app (but could be local to your environment)

    • Should not have to change any code to redeploy – should be config changes if anything

    • Clearly Tech – Importance Rating: High

       

      We've mentioned Splunk, and if you're not familiar, it's an enterprise piece of software that will aggregate logs from multiple sources (servers, computers, etc):
      http://www.splunk.com/en_us/products/splunk-enterprise.html

       

      Bug in Visual Studio that cost one person $6,500 in a few hours:

      https://www.humankode.com/security/how-a-bug-in-visual-studio-2015-exposed-my-source-code-on-github-and-cost-me-6500-in-a-few-hours

       

      V. Build, Release, Run

      • Build stage – transform which converts the code repo into an executable bundle

      • Release stage – combines the build with the required config and deposits it somewhere

      • Run – runs the app in the execution environment (development, staging, production, other)

      • Rolling back may be more complicated when you start talking about database schemas / data changes

      • Clearly Tech – Importance Rating: Conceptual???

         

        Version numbers? What do you prefer? Version numbers with major and minor revisions? Or do you prefer timestamps?

         

         

        VI. Processes

        • Stateless and Share Nothing

          • No local session

          • Make sure saving files go to an available repository

          • Clearly Tech – Importance Rating: High (Joe wants higher than high)

             

            Resources We Like

            • http://www.12factor.net

            • http://www.clearlytech.com/2014/01/04/12-factor-apps-plain-english/

            • http://devcenter.heroku.com/articles/architecting-apps

               

              Tips

               

              Allen: Find problematic queries that are killing your SQL Server...replace 123 with the spid from sp_who2.

               

              sp_who2 'active'

              DBCC INPUTBUFFER(123)

               

              If you want to be mean....replace 123 with the spid from sp_who2

              KILL 123

               

              Additionally, if there's high CPU and low I/O, it's likely either a missing or a fragmented index.

               

              Joe: Tortoise Git

              https://tortoisegit.org/

               

              Mike: Tip of the week is the Pseudocode podcast
              http://pseudocode.fm/

               

              And...don't be lazy. We can't seem to get off our tails and get a business card made!

               

               

              1 hr 23 min
            • The Twelve-Factor App: Codebase, Dependencies, and Config
              Dipping our toes into the DevOps waters with the Twelve-Factor App. How important is depedency management, and how fired would you be if you accidentally leaked your company’s source code? News We have a new logo! Allen was right… Soundcloud Thanks for the reviews! GunBlade77 What is the Twelve-Factor App? A methodology for writing applications […]
              1 hr 14 min
            • Javascript Promises and Beyond
              In this episode we dive into Javascript Promises.  If you’re used to the olden way of doing an async call with a callback, you’ll definitely want to give this episode a listen as you could improve your mental sanity 10 fold by learning how to use promises in your application! Survey – What is Your Favorite Language? […]
              1 hr 19 min
            • Javascript Promises and Beyond
              In this episode we dive into Javascript Promises.  If you’re used to the olden way of doing an async call with a callback, you’ll definitely want to give this episode a listen as you could improve your mental sanity 10 fold by learning how to use promises in your application!
              1 hr 19 min
            • Hierarchical Data cont’d – Path Enumeration and Closure Tables
              It's that time again.
              This week we answer a question, Allen registers for school, Joe reads some numbers, Michael breaks out the survey results, and Joe cringes at the thought of bidets. It's time for episode 29! And we thought, what better to talk about than to continue our discussion on hierarchical data solutions.
              1 hr 10 min
            • Hierarchical Data cont'd - Path Enumeration and Closure Tables

              This week we answer a question, Allen registers for school, Joe reads some numbers, Michael breaks out the survey results, and Joe cringes at the thought of bidets. It's time for episode 29! And we thought, what better to talk about than to continue our discussion on hierarchical data solutions.

              1 hr 10 min

            About Coding Blocks

            From the publisher's feed

            Become the best software developer you can be

            More shows like Coding Blocks

            The Daily by The New York Times

            The Daily

            111,708 Listeners