Logo
    Search

    real-time communication

    Explore "real-time communication" with insightful episodes like "Hasty Treat - Webhooks", "Potluck - Fonts × Frameworks × Teas × Coding Subscriptions × Client Work × More!" and "Webcam and audio access with WebRTC and getUserMedia() - 002" from podcasts like ""Syntax - Tasty Web Development Treats", "Syntax - Tasty Web Development Treats" and "Syntax - Tasty Web Development Treats"" and more!

    Episodes (3)

    Hasty Treat - Webhooks

    Hasty Treat - Webhooks

    In this Hasty Treat, Scott and Wes talk about webhooks — one of those concepts that seems a lot scarier than it actually is.

    Linode - Sponsor

    Whether you’re working on a personal project or managing enterprise infrastructure, you deserve simple, affordable, and accessible cloud computing solutions that allow you to take your project to the next level. Simplify your cloud infrastructure with Linode’s Linux virtual machines and develop, deploy, and scale your modern applications faster and easier. Get started on Linode today with a $100 in free credit for listeners of Syntax. You can find all the details at linode.com/syntax. Linode has 11 global data centers and provides 24/7/365 human support with no tiers or hand-offs regardless of your plan size. In addition to shared and dedicated compute instances, you can use your $100 in credit on S3-compatible object storage, Managed Kubernetes, and more. Visit linode.com/syntax and click on the “Create Free Account” button to get started.

    LogRocket - Sponsor

    LogRocket lets you replay what users do on your site, helping you reproduce bugs and fix issues faster. It’s an exception tracker, a session re-player and a performance monitor. Get 14 days free at logrocket.com/syntax.

    Show Notes

    03:42 - What are webhooks?

    • User-defined HTTP callbacks
    • When something happens, ping this URL with this data
    • Examples:
      • When something sells, ping this URL
      • When someone reverses a charge, lock their account
      • Trigger a build of the website when the content changes
      • Then someone buys a shirt, generate a shipping label and save it to the DB

    07:57 - Sending End

    • Can be a great way to hook two services together

    09:13 - Receiving End

    • Often you will be the one that accepts the webhook ping
    • In this case, you set up an endpoint

    11:00 - Payloads

    • Almost all will send a JSON body that you parse out
    • The method send is variable

    11:51 - Auth

    • On the receiving end of a webhook, you often get a token which you can then ping the service with. It will tell you if that request was legit or not.
    • On the sending end, you can often set up headers with auth - same with the method
    • Can be a replacement for a serverless function

    13:18 - Testing webhooks

    Tweet us your tasty treats!

    Potluck - Fonts × Frameworks × Teas × Coding Subscriptions × Client Work × More!

    Potluck - Fonts × Frameworks × Teas × Coding Subscriptions × Client Work × More!

    It’s another potluck! In this episode, Scott and Wes answer your questions about fonts, frameworks vs custom, drinking tea, learning to code, client work, and more!

    Kyle Prinsloo Freelancing - Sponsor

    Kyle Prinsloo teaches you everything you need to know about freelancing, including how to quit your job, earn a side-income and start taking control of your life. Check it out at studywebdevelopment.com/freelancing. Use the coupon “SYNTAX” and get 25%.

    LogRocket - Sponsor

    LogRocket lets you replay what users do on your site, helping you reproduce bugs and fix issues faster. It’s an exception tracker, a session re-player and a performance monitor. Get 14 days free at logrocket.com/syntax.

    Show Notes

    2:01 - Q: When you run audits like lighthouse on a website, do you run the audit on each page? Or have you found an app or hack to run the audit over the entire site / multiple pages?

    5:30 - Q: What makes a font “good”? I stumbled upon haleyfiege.fun/fonts, where she says her first font was not “good,” but it looks perfectly usable to me. When you are picking fonts for web apps, how do you judge them? Is it entirely subjective?

    9:14 - Q: As a solo founder, speed is essential. What’s faster, building your own components, using a theme, or using a framework?

    12:05 - Q: I’ve never been a tea drinker, but lately I’ve been wanting to start drinking a hot tea in the afternoon (instead of coffee). I know Scott is the Tea Guru, so what would your suggestions be for starting out?

    15:30 - Q: Is it worth bundling JavaScript for websites that aren’t using a framework (i.e. WordPress / CMS websites)? The company I work for uses a large enterprise CMS and our JavaScript is just a minified mash of several different JS files, most of which are several hundred lines of spaghetti code. It would be nice to break up all these files in some sort of modular way, plus have the added benefit of using Babel so we can write modern JS. However, the output of the bundled JS file seems massive. Won’t that hurt performance and page load?

    21:17 - Q: I know both of you put out a ton of content, both together and individually. I’m just curious to hear if you listen to any other podcasts out there in the land, or any other types of content that you consume to hone your skillz to pay the billz. Thanks!

    25:14 - Q: What are your thoughts on Blazor? Is it a good move to be an early adopter of a framework like this, or should you focus on the ones that are already in a fully released state like React, Vue etc.?

    28:51 - Q: I would like to ask Scott how you make subscriptions in a website? Also, how you give users a lifetime locked yearly subscription?

    39:53 - Q: I feel like other developers’ code is always shorter, better structured, and easier to read than mine. Any tips (or resources) on writing clean, ‘good’ javascript code (or any other functional programming language)?

    44:02 - Q: Both of you have CMS backgrounds, Scott with Drupal and Wes with WordPress. When you moved to freelancing, did you build for clients using a CMS? Or did you create custom admin interfaces for clients to manage their own site? You’ve mentioned some headless WordPress in the past, but was that the norm?

    47:02 - Q: Hey Scott + Wes, you’re obviously very successful with your course creation careers, but do you miss client work? If people for some reason ever stopped buying your courses, would you go back to client work?

    Links

    ××× SIIIIICK ××× PIIIICKS ×××

    Shameless Plugs

    Tweet us your tasty treats!

    Webcam and audio access with WebRTC and getUserMedia() - 002

    Webcam and audio access with WebRTC and getUserMedia() - 002

    Show Notes

    Sick Picks

    Shameless Plugs

    JavaScript30

    A Free 30 Day Vanilla JS Coding Challenge Course. Build 30 things in 30 days with 30 tutorials. No Frameworks No Compilers No Libraries No Boilerplate. Join 101,746 others.

    Level Up Tutorials

    Over 860 free video tutorials for beginners, intermediate and expert web professionals. Level Up your skills with clear, high production, free video tutorials.

    Twitter