How To Code Well

How To Code Well

By Peter FisherTechnology
Download on the App Store

How To Code Well episodes

  • 178 - Why you should create static API's

    Change log

    Code Quiz (https://github.com/howToCodeWell/code-quiz)

    • OpenAPI generator is now working on the code quiz monorepo
    • Lots of great contributions to that open source project. Thank you :)
    • howtocodewell.net

      • Pre-production is now fully working after a few issues with infrastructure config.
      • I'm currently working on adding content to existing courses on the pre-production site.
      • Some features will be removed before launch via feature flags.
      • Today we are going to talk about static API's. 

        - What is a static API

        - How do you create a static API

        - What are the befits and disadvantages of a static API

        Building Systems With Static APIs - Corey Butler

        https://medium.com/swlh/building-systems-with-static-apis-631c165d3882

        WTF is a Static API - Seancdavis

        https://www.seancdavis.com/posts/lets-talk-about-static-apis/

        25 min
      • 177 - Is WAMP, MAMP or LAMP enough to be a successfully web developer?

        Change log

        • The first build of the http://howtocodewell.net pre-production Docker image is making its way through the GitLab pipelines towards the Kubernetes clusters
        • The Code Quiz has paused for a week as I'm taking some time off.
        • The Code Quiz API now includes the Open API generator which will be used to generate type script for the API client
        • Lots of great pull requests being added to the Code Quiz open source project http://github.com/howToCodeWell/code-quiz
        • Feedback from Abu Sales on the Best PHP tools of 2018 - Top 5 video

          Great for professionals, However, for amateurs as am I,  MAMP as environment, and WeBuilder (buy) or Notepad++ (free) as Editor are more than enough to fly toward the mountain !

          What is WAMP?

          Windows Apache MySQL PHP

          Install WAMP

          https://www.wampserver.com/en/

          What is MAMP?

          Mac Apache MySQL PHP

          Install MAMP

          https://www.mamp.info/en/downloads/

          What is LAMP?

          Linux Apache MySQL PHP, Python and/or Perl

          How to install a LAMP stack

          https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-ubuntu-18-04



          22 min
        • 176 - You're doing Agile spikes wrong

          Change log

          • Code Quiz API https://github.com/howToCodeWell/code-quiz
          • Thank you to MetinBaris and everyone else who has contributed to the Code Quiz project
          • Added dotenv package
          • Lots of bugs fixed
          • GitHub Actions on API client
          • EsLint added
          • Unit tests added
          • You're doing Agile spikes wrong

            Let's talk about Agile spikes. What are they, why do we need them and why are you doing them wrong.

            Follow on the socials

            Twitter: https://twitter.com/howtocodewell 

            Instagram : https://www.instagram.com/howtocodewell/

            My web development courses

            ➡️ Learn How to build a JavaScript Tip Calculator 

            ➡️ Learn JavaScript arrays

            ➡️ Learn PHP arrays

            ➡️ Learn Python

            ✉️ Get my weekly newsletter

            ⏰ My current live coding schedule (Times are BST)

            Tuesdays 18:00 = Live Podcast YouTube

            Sundays 15:00 - Live coding on Twitch

            21 min
          • 175 - Should beginner programmers learn JavaScript, Python or PHP

            Change log

            • Code Quiz API https://github.com/howToCodeWell/code-quiz
            • Added GitHub Actions to the JavaScript Api-Client
            • Added API Platform package and configured the API endpoints
            • Should beginners learn JavaScript, Python or PHP

              Learn the programming concepts first.

              It doesn’t really matter which programming language you start with as long as you START programming

              Python is a good teaching language as it prevents sloppiness that JavaScript can allow.

              Get the daily code quiz on 

              Twitter: https://twitter.com/howtocodewell 

              Instagram : https://www.instagram.com/howtocodewell/

              My web development courses

              ➡️ Learn How to build a JavaScript Tip Calculator 

              ➡️ Learn JavaScript arrays

              ➡️ Learn PHP arrays

              ➡️ Learn Python

              ✉️ Get my weekly newsletter

              ⏰ My current live coding schedule (Times are BST)

              Tuesdays 18:00 = Live Podcast YouTube

              Sundays 15:00 - Live coding on Twitch

              18 min
            • 174 - Advice for Web Development Team Leaders

              Changelog

              • The Code Quiz GitHub repository now has a basic mock API client that uses a JSON Server. This was installed on the Tuesdays Live stream
              • Work has started on building a Vagrant box that houses MiniKube and the howtocodewell testing environments.
              • Code Quiz GitHub Repository: https://github.com/howToCodeWell/code-quiz

                Building the Mock JSON API: https://youtu.be/OznPvJIjMDc

                JavaScript Code Quiz answers: https://youtu.be/Tyvmq3gyZMY

                Tips for newly appointed Web Development team leaders

                1. How to manage your time when you are a coder and a manager?

                2. Is it important for the lead to be the best coder in the team?

                3. How to handle colleagues who are envious or felt that they should in the leader instead of you?

                4. Do you need to know the whole system form top to bottom?


                My web development courses

                ➡️ Learn How to build a JavaScript Tip Calculator 

                ➡️ Learn JavaScript arrays

                ➡️ Learn PHP arrays

                ➡️ Learn Python

                ✉️ Get my weekly newsletter

                ⏰ My current live coding schedule (Times are BST)

                Tuesdays 18:00 = Live Podcast YouTube

                Sundays 15:00 - Live coding on Twitch

                20 min
              • 173 - What does Pre-Production mean?

                Change log

                • The second Code quiz has a bunch of JavaScript questions. Join in on Twitter (https://twitter.com/howtocodewell) or Instagram (https://instagram.com/howtocodewell) 
                • The first of the code quiz answer video is out (https://youtu.be/Qmz0TvPLgpQ)
                • Fixed the issue with the Kubernetes assets paths. This required a nginx snippet that creates a proxy pass back to Object storage
                • We can now move to Pre - Production
                • My talk 'Code with confidence with PHPCS' from PHP Minds is available YouTube (https://youtu.be/s-94hf_DQ9A)
                • What does Pre-Production mean in Web Development?

                  In Film or TV Pre-Production means work done before full-scale production begins. So what does this mean in the context for Web Development.

                  In Web development Pre-Production is a term used for define anything that happens before deploying to production. 

                  During Pre-Production many environments could be created such as

                  • Development environments
                  • Build environments
                  • Staging environments
                  • Demo environments
                  • Shared environments

                  • My web development courses

                    ➡️ Learn How to build a JavaScript Tip Calculator 

                    ➡️ Learn JavaScript arrays

                    ➡️ Learn PHP arrays

                    ➡️ Learn Python

                    ✉️ Get my weekly newsletter

                    ⏰ My current live coding schedule (Times are BST)

                    Tuesdays 18:00 = Live Podcast YouTube

                    Sundays 15:00 - Live coding on Twitch

                    21 min
                  • 172 - Will Web Development die in 10 years?

                    Will Web Development die in 10 years?

                    Some people think that JavaScript, PHP, Python and other Web Development technologies will die in 10 or even 20 years time.

                    Is HTML finished? Is it time to learn something else?

                    In this episode I explain my thoughts and answer this question.

                    Please let me know if you agree, disagree or if you have others https://howtocodewell.fm/contact

                    Change log

                    • I'm working on an error with Kubernetes and S3 volumes.
                    • Discovering deprecation notices before upgrading to Symfony 5.4. Checkout the video here
                    • I've started publishing code quizzes to Twitter and Instagram
                    • I've started publishing bite size dev tips Twitter and Instagram
                    • My web development courses

                      ➡️ Learn How to build a JavaScript Tip Calculator 

                      ➡️ Learn JavaScript arrays

                      ➡️ Learn PHP arrays

                      ➡️ Learn Python

                      ✉️ Get my weekly newsletter

                      ⏰ My current live coding schedule (Times are BST)

                      Tuesdays 18:00 = Live Podcast YouTube

                      Sundays 15:00 - Live coding on Twitch

                      16 min
                    • 171 - Full time vs contractor web developer. 5 Reasons to be a contractor

                      Changelog

                      • Big news the staging deployment is completed for the new howtocodewell.net platform
                      • This contains

                        • Kubernetes
                        • Symfony
                        • PHP 8
                        • Full time vs contractor web developer. 5 Reasons to be a contractor

                          Lots of exposure to different ways of working

                          • No two clients or projects are the same
                          • Different tech stacks
                          • Different processes and approaches
                          • Lots of opportunities to gain more skills and experience
                          • Flexibility

                            • Work the way you want to work using the tools that you want to use
                            • Drop in and out of projects when you’re needed
                            • You don’t have to work if you don’t want too
                            • Work from anywhere attitude
                            • Have as much or as little holiday as you want
                            • You are in charge of your progression

                              • Know what skills you have and what areas you need to develop
                              • Take training that matters to you rather than to the company
                              • Have meeting that matter to you rather than the company
                              • Money

                                • Whilst money isn’t everything, contractors are often on more money then the normal full time developers
                                • Certain taxable benefits that you can use
                                • Helps fund hardware/software and other business requirements
                                • Being your own boss

                                  • Better work life balance
                                  • Total control over what project you’re working on
                                  • Total control over how much you pay yourself
                                  • Total control over when you’re on holiday
                                  • Total control over what you want to learn
                                  • Total control over who you work for
                                  • Want to get in touch? https://howtocodewell.fm/contact

                                    My web development courses

                                    ➡️ Learn How to build a JavaScript Tip Calculator 

                                    ➡️ Learn JavaScript arrays

                                    ➡️ Learn PHP arrays

                                    ➡️ Learn Python

                                    ✉️ Get my newsletter

                                    ⏰ My current live coding schedule (Times are BST)

                                    Sundays 15:00 - Live coding on Twitch

                                    20 min
                                  • 170 - Full time vs contractor. 5 Reasons to be a permanently employed Web Developer

                                    Change log

                                    • I’ve created 4 JavaScript YouTube short tutorials that will be released over the coming weeks
                                    • New talk coding with confidence using PHPCS. If you’re a PHP user group that wants a speaker then let me know
                                    • Full time vs contractor web developer. 5 Reasons to be a permanently employed

                                      1. Defined Structure
                                      2. Benefits
                                      3. Training
                                      4. Trust and loyalty gets rewarded over time
                                      5. Family vs resource
                                      6. External career progression

                                      7. Want to get in touch? https://howtocodewell.fm/contact

                                        My web development courses

                                        ➡️ Learn How to build a JavaScript Tip Calculator 

                                        ➡️ Learn JavaScript arrays

                                        ➡️ Learn PHP arrays

                                        ➡️ Learn Python

                                        ✉️ Get my newsletter

                                        ⏰ My current live coding schedule (Times are BST)

                                        Sundays 15:00 - Live coding on Twitch

                                        20 min
                                      8. 169 - 5 things every contract Web Developer needs

                                        Changelog

                                        • I am giving a talk to PHP Minds tonight. The talk is called Code with confidence using PHPCS
                                        • I’ve been working on the videoThumbnail component for the React website
                                        • No updates on deployment yet
                                        • News/Articles

                                          PHPCS compatibility checker By Daniel Opitz

                                          https://odan.github.io/2020/12/22/php8-compatibility-check.html

                                          PHP Security Audit

                                          https://github.com/FloeDesignTechnologies/phpcs-security-audit

                                          PHP 8.1.9 is released

                                          https://www.php.net/archive/2022.php#2022-08-04-3

                                          This isa bug fix release

                                          PHP 8.2.0 Beta 2 is available for testing

                                          https://www.php.net/archive/2022.php#2022-08-04-2

                                          Deprecated dynamic properties in PHP 8.2

                                          AllowDynamicProperties attribute can be used to create dynamic properties

                                          https://stitcher.io/blog/deprecated-dynamic-properties-in-php-82

                                          5 things every contract Web Developer needs

                                          1. Choose to go sole trader or LTD. Most larger companies need you to be a Limited company, get insurance, get an accountant, get a website.
                                          2. Record your expenses and income. Set time aside to do this every week if possible.
                                          3. Create a space in your house that is solely for work.
                                          4. Get a work only laptop and refresh it every 2 - 4 years.
                                          5. Secondary hardware. Get a decent printer, mouse, keyboard, web cam etc..
                                          6. If you want to hear more about contracting in Web Development then let me know at https://howtocodewell.fm/contact

                                            21 min

                                          About How To Code Well

                                          From the publisher's feed

                                          Web development discussions and interviews from Peter Fisher. Covering JavaScript, Linux, Docker, PHP, Python, MYSQL, HTML and more