Curious Programming
Curious Programming
  • Видео 13
  • Просмотров 38 159
The Power of Web Workers in 3 min 💪
Tired of making slow websites? Let’s talk about the power of web workers and how it can make websites faster.
Curious Programming: www.curious-programming.com/
Demo: web-workers.netlify.app/
Repo: github.com/JGH153/js-multithreading
Web Workers: developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API/Using_web_workers
Просмотров: 722

Видео

Why USA is a Terrible Place to Work for Developers
Просмотров 3113 года назад
America is a terrible place to work as a software developer. Join me while I explore the 7 reasons why Norway is a significantly better place to both works and have a good life. Almost everything is better in Norway, including; Vacation/PTO, healthcare crime, prison, education, unemployment, down-to-earth culture, work-life balance, and so much more. It’s more or less just the better salary in ...
Frontend DevOps - The Ultimate Guide
Просмотров 4,4 тыс.3 года назад
What is DevOps, and what does it mean for the Frontend? You will learn about the problems we had before DevOps, how Dev-Ops changed everything, and the future and challenges of DevOps. This includes Continuous Integration, Continuous Delivery, Infrastructure as Code, Monitoring and Logging, Communication, Collaboration, Documentation, Microservices, Autonomous teams, Accountability, trunk based...
Building a Web Components Framework with Webpack, in Just a Few Hundred Lines of Code
Просмотров 5 тыс.3 года назад
You will learn all about Web Components, Webpack, Babel, Routing (History API), component creation, data flow and services. Everyone is fighting over which frontend framework is the best, but few have realised that you can just use web components instead. Creating truly universal, and high performance elements for your web applications that can be used alone, or in any framework. Using these el...
Google’s DESPERATE Battle for Survival with AMP
Просмотров 2013 года назад
How big is Google actually? Is google a monopoly? What is AMP, and how does it play into all of this? We will explore Google's market dominance, and why they operate in the way that they do. It might be a monopoly, but it’s highly unstable. This is a sort of part two to the Apple and Google monopoly, watch the first one here: ruclips.net/video/-wqdTxkRkeI/видео.html
Apple’s systematic war against the web
Просмотров 5273 года назад
This video is the result of three months of research into Apple, and its systematic war against websites. I still like a lot of what Apple is doing despite the issues in this video, especially their fight to protect user privacy and offer great user experiences. This is a new type of video on this channel, let me know what you think about it.
VS Code Like a Pro - 7 Next Level Tips and Tricks
Просмотров 11 тыс.3 года назад
Visual studio code has become the most popular code editor out there, especially for front end development. It's really light weight and highly customizable with a ton of hidden features. You probably already know the basics, but in this video I will show some more advanced features that you might not know about. 00:00 - Intro 00:10 - 1 Emmet 00:28 - 2 Commands 00:46 - 3 Navigation 01:08 - 4 Mu...
Angular production ready setup - With Github Actions, Material and Cypress
Просмотров 3,6 тыс.3 года назад
How to set up a new Angular project with Material, Cypress, Normalize and Github. This will set you off with a great folder structure inspired by the official style guide. Perfect for both new and experienced developers. You will also set up a Github repo that includes PR branch protection with Github Actions. Link to the complete repo: github.com/JGH153/angular-complete-setup
Why Angular is the best framework for a design system
Просмотров 2 тыс.4 года назад
Design systems are critical for any company that wants to enable rapid development and innovation while maintaining a consistent user experience, and design. Angular is the best framework for developing a design system due to the wide range of features provided by the framework, including the ability to compile to custom elements. This is in addition to the power of Angular schematics that has ...
Web Components: Everything you need to know
Просмотров 6 тыс.4 года назад
Web components are the new way to create reusable components for the web. This approach is entirely framework independent and gives you components that can be used in any framework. This video will teach you everything you need to know about web components! Examples in video: github.com/JGH153/web-components-prez/tree/master/demo
The Advanced Broadcast Channel API, with practical examples - Part 2
Просмотров 1,4 тыс.4 года назад
This simple, yet powerful API allows for direct communications between browser tabs. It opens the door for multi tab applications with an array of tabs across several screens talking and updating in real time. In this video you will learn the more advanced use cases of the API, with practical examples and a helper service for efficient communication. The project on github: github.com/JGH153/bro...
The Broadcast Channel API: Sending messages directly between browser tabs - Part 1
Просмотров 2,6 тыс.4 года назад
This simple, yet powerful API allows for direct communications between browser tabs. It opens the door for multi tab applications with an array of tabs across several screens talking and updating in real time. In this video you will learn the basics of the API, how to use it, and what to keep in mind.
RxJS for new players
Просмотров 2374 года назад
Everything you need to know to get started with RxJS, the best library for event driven programing Official documentation: rxjs.dev/

Комментарии

  • @asaintdonkey
    @asaintdonkey 2 месяца назад

    thank you so much!!!

  • @demon_hunter9547
    @demon_hunter9547 2 месяца назад

    Using Web Workers, but the main thread still lags and makes the browser UI unusable, is there a solution to this?

  • @jonathan.ijzerman
    @jonathan.ijzerman 9 месяцев назад

    Good points 👍🏻

  • @elsicongru7400
    @elsicongru7400 9 месяцев назад

    This was AMAZING, thanks a ton for creating such a wonderful guide! I know its been a while, but please consider creating the follow-up video, or at least something with 2 way data binding and a render loop :)

  • @kapkanfps3694
    @kapkanfps3694 Год назад

    what are some alternatives to this? for example send data request to update page on different clients on the same network?

  • @tombranson9341
    @tombranson9341 Год назад

    I know this video is 3 years old by now, but I recently discovered the beauty of Web Components. I also have just come from a workplace where I did a lot of legacy Frontend patch work with a confused code, multiple layers that overrode each other, bad file arrangement from the CSS to the HTML and JS, and during this work I came to the conclusion that there must be a better, more consistent and reusable way to do things. I didn't know that developers for the past 5 - 10 years have been trying to sort out this problem, but I realized as I called it to componentize the work. After some digging into the information, I discovered the Web Components. Hopefully someone will find this comment helpful. You mentioned that there are only 2 ways to code style and content to the web component. There are more ways, and I took a while to realize that they all do the same thing, but I can't comment on performance, I think that I read from a web component developer's blog, who also works at Google on the helping with the standard, that Template was the most performant since only one template is initialized and reused by the DOM whereas the others would lead to rebuilding everything from scratch again. But if building from templates is the right thing to do, it's not recommended to put the template in the pages of the html files, while they are not rendered and ignored, it does lead to bloat AND we can't always know when and what to query to get the template. So, it is suggested to use the createElement("template") and use the innerHTML property to populate the code, and can conceivably do the same for the stylesheet. This code can be put in the same folder directory as the component and called like webcomponent_template.js, then just export and import into the webcomponent file. Then we can just clone the node with template.content.cloneNode(true) in the constructor or connectedCallback. However, keep in mind that if the shadow DOM is only established in the connectedCallback, the attributeChangedCallback is fired before the connected, so any attributes will not have been set up and get undefined, neither will any nodes have been set up so all functionalities will have to wait until the custom component is rendered and completed.

  • @arimos3136
    @arimos3136 Год назад

    Thanks for this video a lot!

  • @arimos3136
    @arimos3136 Год назад

    Web Workers + WebAssembly + Web Components seems like a future of web dev.

  • @2coding
    @2coding Год назад

    Can it work even on different browsers

    • @curiousprogramming
      @curiousprogramming Год назад

      It works in all modern browsers, but you can't send messages between different browsers. For that you need WebRTC

  • @steffendyhr-nielsen425
    @steffendyhr-nielsen425 Год назад

    Extremely helpful video, but source code is hopelessly outdated, being a web project and 2 years old.

  • @ogbiedeblessed7184
    @ogbiedeblessed7184 Год назад

    Wow so Great

  • @badreddineboukheit9791
    @badreddineboukheit9791 Год назад

    can you suggest a resource for me, I mastered js fundamentals including dom and stuff, but now I'm coding a messenger app (with PHP in the back), and I find doing ajax, and using divs and HTML + DOM practically impossible (I'm thinking something like components would be necessary), so do you think I need to take another course in js (intermediate js or sth), or is it time for me to pick a framework and dive into it? (your insight is crucial at this moment for me)

    • @curiousprogramming
      @curiousprogramming Год назад

      Sound like a good time to learn a frontend framework. However, it quickly becomes hard with just pure JavaScript and divs. I recommend Vue 3 as it is easier to learn. A tutorial named: Vue - The Complete Guide. React works too, and has more jobs, but it is a bit harder to learn.

  • @johnadepelumi93
    @johnadepelumi93 Год назад

    This saved my life in 2022

  • @arabigo
    @arabigo Год назад

    It's a good video and has correct information, but what you said supplies to backend too (with the only exception of the front-end testing tool) A more precise title will be the "Introduction to DevOps". I was really interested on dive deep on what's different for front-end

  • @siyaram2855
    @siyaram2855 Год назад

    Don't care about the views Your channel is a diamond. Not everyone has an eye to recognize a diamond

  • @olaeldy84
    @olaeldy84 Год назад

    I love this! An advanced technical topic presented in a way that is easy to grok - and with enough details to understand where to go to learn more. We want more ☺

  • @jasonwiesner2768
    @jasonwiesner2768 2 года назад

    Awesome video, thanks! In regards to testing though, doesn’t react testing library advocate for testing as a user would use your app and not using implementation details such as a function that could possibly, although not likely on a click handler, change at some point?

  • @darrennienaber6488
    @darrennienaber6488 2 года назад

    Really cool, when will we get the actions to deploy to firebase?

  • @pavankumarn.r.9152
    @pavankumarn.r.9152 2 года назад

    I have added debug in onMessage method in tab1 and send multiple messages from other tab but onMessage of tab1 called only once. Does broadcast channel discards other message?

  • @duketranslucent3rd
    @duketranslucent3rd 2 года назад

    Really helpful video, thanks. Which particular Git workflow do you recommend?

  • @HabeebAbiola
    @HabeebAbiola 2 года назад

    Gain some new tips handling VS Code with this tutorial, thank you.

  • @sujithgnth
    @sujithgnth 2 года назад

    Wow, this is amazing

  • @Jessyco
    @Jessyco 2 года назад

    Hi there, I'm looking at trying to get the angular library compiled at a different version then the project implementing it. Since it's compatible with different frameworks this should be possible right? Could you show us how to go about compiling an angular project as web-components? simply running ng build command seems to simply compile it normally for modular system which includes a peerDependency checker forcing us to match angular versions.

  • @purnachander8076
    @purnachander8076 2 года назад

    Can you please explain how can I import the framework to a project?

  • @nightmare_js
    @nightmare_js 2 года назад

    This is great! Looking forward to see the next features of the framework!

  • @injectsploit
    @injectsploit 2 года назад

    very helpful keep going.

  • @siyaram2855
    @siyaram2855 2 года назад

    Please make more video. Don't care about tge views. You are doing a great job.

  • @joshblf
    @joshblf 2 года назад

    Amazing talk! There are so many great tips here that I might have to watch this more than once to catch them all.

  • @avishekdattaray2065
    @avishekdattaray2065 2 года назад

    How come this channel has only 340 subs? ☹ cleared so many things which I was lacking ❤

  • @2002budokan
    @2002budokan 2 года назад

    Does raw-loader minify html and css? If not how can we minify them before putting them into the shadow DOM?

  • @2002budokan
    @2002budokan 2 года назад

    This content is much more impressive than many hours long courses. Thank you, you've been subscribed.

  • @alexon2010
    @alexon2010 2 года назад

    Hi, I've seen a lot of video about web component, I've been developing for some time with React, but I've been discouraged from using these tools, it turns out that abstraction with framework, we stopped learning more about the link, and also many times to use simple things we have to take a walk. You really can use Web Component .....

  • @dadob
    @dadob 3 года назад

    Great video. Rely present my choice for moving to Norway and not USA.

  • @dalanik
    @dalanik 3 года назад

    Good video... but wait when all of that starts changing when you get more and more (muslim) migrants...

    • @BarnabasDavoti
      @BarnabasDavoti 3 года назад

      Do you watch the Hungarian government's propaganda?

    • @dalanik
      @dalanik 3 года назад

      @@BarnabasDavoti Should i watch neo Marxist propaganda?

  • @arsalanshaikh3763
    @arsalanshaikh3763 3 года назад

    One feedback very nice video editing, top quality the visuals sounds all were very good. 👍

  • @arsalanshaikh3763
    @arsalanshaikh3763 3 года назад

    Wow very happy to hear this May Norway prosper very happy for its beautiful people . Good wishes from India 👍.

  • @ektaron
    @ektaron 3 года назад

    Tak! Did not know about the ⌘enter trick to create a new line from any cursor position!

  • @lovachittumuri
    @lovachittumuri 3 года назад

    Nice .. Keep upload this kind of videos

  • @NatTanYZ
    @NatTanYZ 3 года назад

    Great video, thank you!

  • @yellowbonbon1
    @yellowbonbon1 3 года назад

    A little bit hard to follow

  • @nickeax
    @nickeax 3 года назад

    Thank you very much, this video was a great help!

  • @chharsha231
    @chharsha231 3 года назад

    Didn't even skip a bit in this video. Why don't you make a full video on deploying small JS app through devops process.

    • @curiousprogramming
      @curiousprogramming 3 года назад

      Thanks, will add it to my todo list

    • @QuyetNguyen-ie1jc
      @QuyetNguyen-ie1jc 3 года назад

      @@curiousprogramming can't wait for that. haha. Thanks for sharing this.

    • @Abhishek-fw7oo
      @Abhishek-fw7oo 2 года назад

      @@curiousprogramming please do please

  • @chharsha231
    @chharsha231 3 года назад

    Such a Beautiful video you made man. Changed my perspective on frameworks. Please post more videos.

  • @mtanveer503
    @mtanveer503 3 года назад

    superb...................thanks a lot...

  • @elouwerse
    @elouwerse 3 года назад

    Thanks! Learned at lot today 🙂

  • @VivekTR
    @VivekTR 3 года назад

    Brilliant! But next time please slow down as I had to rewind quite a lot of times to check some of the tips as they went too fast.

  • @DanielRaeder
    @DanielRaeder 3 года назад

    I have been considering learning React, but have had this nagging voice in my head whispering, "Learn web components instead... frameworks come and go... web components are a browser standard..." This video helped seal the deal for me.

  • @sourishdutta9600
    @sourishdutta9600 3 года назад

    Create more videos like this. Awesome 👌 Thanks 😊

  • @LadislavSzolik
    @LadislavSzolik 3 года назад

    Very good content! Specially your explanation style -> very clear, focused and information rich. Looking forward to more!

  • @allanhouston22
    @allanhouston22 3 года назад

    "Micro services" adds some complexity is an understatement. Why would you say that the micro services is the best choice? And why does it matter for the front-end, especially if the performance is good?

    • @curiousprogramming
      @curiousprogramming 3 года назад

      Microservices usually becomes the best choice for larger applications with a complex backend. The frontend usually doesn't care how the backend is set up, but this choice could severely impact the frontend as an overloaded monolith will make the frontend really slow, and frustrating. Microservices is a price we pay for large scale applications