David Walsh Tutorials

  • By
    Script & Style Show: Episode 5: Q&A

    On this week's episode:  Todd's back from vacation while David's knee-deep in a Firefox Debugger breakpoint UI update.  We eventually move on to viewer questions that range form JavaScript knowledge, the Array.flatten controversy, front-end testing (TDD vs. BDD), and mastering work-life balance.  Enjoy! As always, please get...

  • By
    Incapsula Web Application Firewall

    When I speak with people who have interviewed for front-end jobs at cryptocurrency exchanges, they always tell me how surprised they are that a majority of the interview questions are security-centric.  Basic front-end security practices are fair game for all front-end developer interviews but anything...

  • By
    Set a Default Push Remote with git

    During my early days of git usage, my config allowed me to simply type git push instead of git push {origin} {branch_name} which I need to now.  Up until recently I needed to type out the long version...(I know)...which was incredibly annoying because I like using detailed branch...

  • By
    Exchange Rates and Currency Conversion with fixer.io

    My most stressful tasks as a coder have always revolved around money.  Whether you're coding a site for a client, your own business, or your employer, you want to be damn sure that any handling of currency is accurate, secure, and localized.  We always want...

  • By
    Script & Style Show: Episode 4: Tooling

    On this week's episode:  David starts the show by revealing he has a headache and an hour of discussing JavaScript tooling will not make it better.  The show covers the history of JavaScript tooling (from nothing to JavaScript loaders, minifiers, webpack, and more), the pitfalls of...

  • By
    React Video Player

    Streaming entertainment is a massive interest of mine as both a consumer and web developer.  My love for streaming entertainment dates back to the early days of RealPlayer and the misery of a million codecs.  Fast forward to today and I'm working a lot with ReactJS...

  • By
    Script & Style Show: Episode 3: Working Remotely

    On this week's episode: Todd and I talk about working remotely, transitioning to being a remotee, keeping on task, and avoiding (or embracing) the hermit lifestyle!Next Episode: Q&A!Todd and I would like to host a Q/A session where we answer your questions! Please tweet...

  • By
    Force a React Component to Re-Render

    The beauty of React components is that they automagically render and update based on a change in state or props; simply update the state from any place and suddenly your UI element updates -- awesome!  There may be a case, however, where you simply want to...

  • By
    Phone Number Validation with numverify

    When we think about form validation, phone numbers aren't the most pressing bit of information to validate, but if the phone number is absolutely critical to your business or application, you'll want to do all you can to precisely ensure the number is correct.  And...

  • By
    How to Delete a git Remote Branch

    Keeping a tidy repository is important; not just a tidy codebase, but a tidy repository in as far as not having spare branches rotting around.  Generally the main repository doesn't keep multiple branches but sometimes you need to push to a main repository simply to get Travis...