Przemysław Hernik
Przemysław Hernik
  • Видео 34
  • Просмотров 185 713
The 5 Rules of Effective Component-Driven Development
Looking for a developer who truly cares about your business? My team and I provide expert consultations, top-notch coding, and comprehensive audits to elevate your success. Let's talk about your project here: coditive.com/contact/
---
Who else loves Lego? This timeless toy has captivated us for generations and continues to grow in popularity. Personally, I often have to restrain myself from buying a new set to save money! So, what’s my solution? Integrating the concept of Lego into my work.
In this article, I'll explore a crucial aspect of the development process that I've applied across numerous projects: component-based development. I’ll demonstrate how this approach can enhance system fle...
Просмотров: 1 601

Видео

The Power of MVC Pattern Explained Simply
Просмотров 1,7 тыс.4 месяца назад
Looking for a developer who truly cares about your business? My team and I provide expert consultations, top-notch coding, and comprehensive audits to elevate your success. Let's talk about your project here: coditive.com/contact/ Get to know MVC, the simplest architectural pattern that has helped me manage demanding projects for years. Discover what it is, how you can benefit, and when it's wo...
ESLint: Setting Up from Start to Finish
Просмотров 3,3 тыс.5 месяцев назад
Looking for a developer who truly cares about your business? My team and I provide expert consultations, top-notch coding, and comprehensive audits to elevate your success. Let's talk about your project here: coditive.com/contact/ ESLint is a powerful tool designed to keep your JavaScript code clean, error-free, and consistent. Its value of ESLint lies in its ability to enhance code quality, re...
How to Create Page Templates with Laravel Blade in WordPress?
Просмотров 1,6 тыс.5 месяцев назад
Looking for a developer who truly cares about your business? My team and I provide expert consultations, top-notch coding, and comprehensive audits to elevate your success. Let's talk about your project here: coditive.com/contact/ Integrating Laravel Blade was one of the first steps made here while building a custom WordPress theme. If you haven't had a chance to check out the full material abo...
Stylelint: CSS Linter You Must Know As A Frontend
Просмотров 1,3 тыс.6 месяцев назад
Looking for a developer who truly cares about your business? My team and I provide expert consultations, top-notch coding, and comprehensive audits to elevate your success. Let's talk about your project here: coditive.com/contact/ Let me show you Stylelint, a tool for anyone working with CSS or SCSS, making sure the code doesn't go off the rails. It identifies errors, and rule violations, sugge...
WalkingPad: The Best Product I've Ever Had As a Developer
Просмотров 1,3 тыс.6 месяцев назад
If you're like me, balancing coding sessions and staying active can sometimes feel like trying to mix oil and water. Not easy, right? That’s why about a year ago I bought the best product ever as a developer so far - a WalkingPad - under desk treadmills for the home office. Trust me, it’s been a total game-changer for my health. - Twitter: przemekhernik - Website: tentyp.dev/blog/ra...
Prettier: The World's Most Stubborn Code Formatter
Просмотров 2,2 тыс.7 месяцев назад
Looking for a developer who truly cares about your business? My team and I provide expert consultations, top-notch coding, and comprehensive audits to elevate your success. Let's talk about your project here: coditive.com/contact/ Hi Guys! In this guide, I'll walk you through Prettier - a tool for ensuring a unified coding style across your frontend assets in WordPress projects. I'll explore it...
Why I don't use WordPress Coding Standards?
Просмотров 2,1 тыс.7 месяцев назад
Looking for a developer who truly cares about your business? My team and I provide expert consultations, top-notch coding, and comprehensive audits to elevate your success. Let's talk about your project here: coditive.com/contact/ If you work with WordPress you must have heard about the official rules that must be followed while contributing to the core. It's great that they exist because they ...
PHP Code Sniffer: Build Standards Tailored to Your Needs
Просмотров 2,3 тыс.7 месяцев назад
Looking for a developer who truly cares about your business? My team and I provide expert consultations, top-notch coding, and comprehensive audits to elevate your success. Let's talk about your project here: coditive.com/contact/ Learn how to integrate PHP Code Sniffer into your PHP development workflow and create coding standards tailored to your needs. Discover how it works, from its core fu...
EditorConfig: The Best Step Towards Consistent Coding Style
Просмотров 4,3 тыс.8 месяцев назад
EditorConfig: The Best Step Towards Consistent Coding Style
Meet Linters and Say Goodbye to Chaotic Coding Style
Просмотров 5 тыс.8 месяцев назад
Meet Linters and Say Goodbye to Chaotic Coding Style
How to Use Frontend Assets in the Backend Code with Vite & WordPress?
Просмотров 13 тыс.10 месяцев назад
How to Use Frontend Assets in the Backend Code with Vite & WordPress?
How to Integrate Vite with WordPress? Step-by-Step Guide
Просмотров 34 тыс.Год назад
How to Integrate Vite with WordPress? Step-by-Step Guide
3 simple steps to make WP_Query faster 🚀
Просмотров 15 тыс.Год назад
3 simple steps to make WP_Query faster 🚀
How to Avoid SQL Query Complexity in Your WordPress Projects?
Просмотров 27 тыс.Год назад
How to Avoid SQL Query Complexity in Your WordPress Projects?
How to use Laravel Blade in WordPress?
Просмотров 19 тыс.Год назад
How to use Laravel Blade in WordPress?
DocHooks - Sugar syntax for hooking system in WordPress
Просмотров 8 тыс.Год назад
DocHooks - Sugar syntax for hooking system in WordPress
How I simplified object-oriented approach with Singleton?
Просмотров 9 тыс.Год назад
How I simplified object-oriented approach with Singleton?
WordPress Architecture Fundamentals: OOP vs Procedural Approach - Which wins?
Просмотров 8 тыс.Год назад
WordPress Architecture Fundamentals: OOP vs Procedural Approach - Which wins?
Composer for Beginners: Save time and focus on what matters
Просмотров 2,5 тыс.Год назад
Composer for Beginners: Save time and focus on what matters
Improve the accuracy of estimates in FIVE steps!
Просмотров 3,7 тыс.Год назад
Improve the accuracy of estimates in FIVE steps!
How to build solid WordPress applications? Course Introduction
Просмотров 2,9 тыс.Год назад
How to build solid WordPress applications? Course Introduction
How lazyness can improve your workflow? Automating processes in WordPress | #devtalk
Просмотров 2,1 тыс.Год назад
How lazyness can improve your workflow? Automating processes in WordPress | #devtalk
WordPress Plugins: Do you need them at all?
Просмотров 739Год назад
WordPress Plugins: Do you need them at all?
How to use Homebrew to improve your development workflow? | #devtalk
Просмотров 406Год назад
How to use Homebrew to improve your development workflow? | #devtalk
Potęga prostoty, czyli MAMP jako środowisko lokalne dla WordPress | #typowagadka
Просмотров 2 тыс.Год назад
Potęga prostoty, czyli MAMP jako środowisko lokalne dla WordPress | #typowagadka

Комментарии

  • @AlbertoPDLT
    @AlbertoPDLT 19 дней назад

    why did you choose yarn over npm? Great vid btw, although i second the comment saying that the swoosh sounds are a little distracting at times

  • @wingtracer
    @wingtracer Месяц назад

    Awesome, and complex. Thanks for sharing. Btw - love your floating TOC on your site. Wanna share it?

  • @with-my-dad
    @with-my-dad 4 месяца назад

    Hi mate! The code is missing in git for both videos. How can I get it?

    • @pragmatedev
      @pragmatedev 4 месяца назад

      Hello there! 🙌 What do you mean as missing? I've checked the links and the PR with changes is still available. Here are the links: - PR: github.com/przemekhernik/footmate.pro/pull/9/files - Theme: github.com/przemekhernik/footmate.pro/tree/develop/wp-content/themes/footmate Be aware of checking the `develop` branch. We're still developing the base so everything is pushed only to develop for now :D

  • @pragmatedev
    @pragmatedev 4 месяца назад

    Are you interested in more useful information on this topic❓Check out additional sources below👇 1⃣ bit.ly/45RuyKX | My dear friend Charaf, a great developer from the Bricks Builder team shares his thoughts about the Component-Driven approach. It's must-have ⚠

  • @lunaticochats
    @lunaticochats 5 месяцев назад

    Tu proyecto no sirve

    • @pragmatedev
      @pragmatedev 4 месяца назад

      I’m sorry to hear this 🫡 What project do you refer to? Do you mean about the WordPress starter that we build in other videos? Did you get a chance to check out other authors that I’ve sent you some time ago which can be a be a better fit?

  • @pragmatedev
    @pragmatedev 5 месяцев назад

    Finally! It took some time, but I've finished an episode on the MVC - a pattern that has assisted me in the development process for years. Check it out and share your thoughts! Here are a few improvements you’ll notice: - New Visual Elements: I've enhanced the visual layer to make it more engaging. You’ll see more of me, but hopefully, it won’t be a distraction 👨🏻‍💻 - Live Coding: I’ve included live coding for the first time. Apologies for the high speed in the first part - I realized I didn’t have as much to say for this simple case 😂 I'll work on improving this in future episodes. Remember that you can check out more details on my blog 👉 I'll be glad if you find time to leave feedback in simple form: tentyp.dev/blog/architecture/model-view-controller/#feedback

  • @nerfmole8726
    @nerfmole8726 5 месяцев назад

    how can i download and use airbnb style using the new flat config, i somehow can't import it bcs you cant use estends...

    • @pragmatedev
      @pragmatedev 4 месяца назад

      Hi! It looks that airbnb coding style is not yet compatible with the new Flat Config. You can check the GitHub issue tracking the standards support here: github.com/eslint/eslint/issues/18093 to see that it still waits for changes in the airbnb standards (github.com/airbnb/javascript/issues/2804). So it's similar case as with JS Standard that I had. In this case, you should use the previous ESLint version (8) if you want to use the airbnb coding style and wait for the future updates :)

  • @elian5
    @elian5 5 месяцев назад

    Excelente video. Necesitaba esas aclaraciones sobre EsLint

    • @pragmatedev
      @pragmatedev 5 месяцев назад

      Thanks mate! I'm glad that it was helpful for you 🙌

  • @getJackt
    @getJackt 5 месяцев назад

    Great video!

    • @pragmatedev
      @pragmatedev 5 месяцев назад

      Thank you so much! 😍

  • @pragmatedev
    @pragmatedev 5 месяцев назад

    ⚠Changelog: [22.05.2024] Creating Page Templates: ruclips.net/video/7QlSrHknUNg/видео.html

    • @pragmatedev
      @pragmatedev 5 месяцев назад

      I was wondering what form will be fine to provide updates on the relevant topics and I believe that the changelog form will be fine for now. Let me know what you think! 👋

  • @lunaticochats
    @lunaticochats 5 месяцев назад

    And the code where I can download it

    • @pragmatedev
      @pragmatedev 5 месяцев назад

      All the code examples are available on my blog. I always post a link to the relevant article in the video descriptions so you can check it there. For this particular material, the writing form with examples is available here: tentyp.dev/blog/wordpress/blade/page-templates/ Each material has also a link to GitHub with the changes in the top section, so you can use it to check and download the whole codebase. Here are the changes for this material: github.com/przemekhernik/footmate.pro/pull/25/files Here is the whole codebase: github.com/przemekhernik/footmate.pro/tree/develop

  • @lamandragora
    @lamandragora 5 месяцев назад

    Enter the Github code please

  • @lamandragora
    @lamandragora 5 месяцев назад

    When you're going to do the live coding videos, please.

    • @pragmatedev
      @pragmatedev 5 месяцев назад

      I don't have exact plans for this yet. I'll try it out when I'll finish up materials providing ideologies and I'll be making components using them, but I can't confirm any date. I'll let you know when I'll start something like this 🫡 What exactly would you expect from this type of live coding video?

    • @lunaticochats
      @lunaticochats 5 месяцев назад

      @@pragmatedev Understand them better

    • @lunaticochats
      @lunaticochats 5 месяцев назад

      @@pragmatedev You need to implement Alpine js

  • @micasuh
    @micasuh 6 месяцев назад

    This is a great update, and one more incomplete piece here is allowing comments. If you add `{!! comments_template('/views/partials/comments.blade.php') !!}` to a content partial to render in any template file, the comments blade file doesn't get recognized as blade but rather just plain PHP. I'm trying to resolve how to respect blade includes throughout the partials and files. Additionally, extending the Walker_Comment class for custom form UI

    • @pragmatedev
      @pragmatedev 5 месяцев назад

      Thank you! And you're right! I remember that the comments must have additional support too. Do you need this ASAP or can it wait for implementation? I'll create an issue on GitHub! 😀

    • @micasuh
      @micasuh 5 месяцев назад

      @@pragmatedev I'm just some random internet user with a feature request, so you take your time and enjoy the process :)

    • @pragmatedev
      @pragmatedev 5 месяцев назад

      Oh, you’re much more than this! You’re as much important as the content so for sure I’ll handle this topic 👋

  • @ricardomartin5535
    @ricardomartin5535 6 месяцев назад

    Hi there! Your tutorial is fantastic, but I'm still grappling with understanding how custom templates work. I've added {{-- Template Name: Contact -- }} to blade file, but it seems like something's missing. Any ideas?

    • @pragmatedev
      @pragmatedev 6 месяцев назад

      Hi Ricardo, thank you for your kind words! 🙏 And you're right, this implementation didn't handle the custom templates correctly. I've prepared a path that fixes this for you: github.com/przemekhernik/footmate.pro/pull/25 You just need to move a few files, and modify a little bit template relocation function. I've described all the details in the GitHub description so if you want to understand this better, just check out this PR. If you don't want to understand this, just implement similar changes in your codebase and it should work fine 😀 This PR is not merged yet, since I want to create an article describing this process to help the community understand this issue too. Big thanks to you for your contribution, we really appreciate that ❤ Please let me know if it works for you!

    • @ricardomartin5535
      @ricardomartin5535 6 месяцев назад

      @@pragmatedev Thank you for the quick response, I made the indicated changes and now it works perfectly. Just one detail, I also had to move the index.php file to the 'resources' folder to activate the theme.

    • @pragmatedev
      @pragmatedev 6 месяцев назад

      @@ricardomartin5535 You're totally right. We need to move all the required WordPress template files to make it work properly 🫡 I've created a draft material describing and explaining this topic with thanks for your contribution ❤ I'll be really grateful if you'll find time to check it out and let me know what you think. We highly appreciate such a contribution to the community 😍 tentyp.test/blog/wordpress/blade/page-templates/ 👈 THE DRAFT

  • @annaolczyk2356
    @annaolczyk2356 6 месяцев назад

    Big belly! 🫃

  • @kanapkazpasztetem
    @kanapkazpasztetem 6 месяцев назад

    big belly

    • @pragmatedev
      @pragmatedev 6 месяцев назад

      🔥🔥🔥 You won a boss handshake!

  • @mvaneijgen
    @mvaneijgen 7 месяцев назад

    I’ve developed a theme (boilerplate) over the past 5 years and currently use Gulp + Webpack to bundle everything. My Gulp file does a few things (Bundle minify all JS and CSS, live reload, generate .pot file, generate all possible favicons, RSYNC to publish the site, and a few other bits and bops). Currently I’m lost at updating the packages, so that they all can use the latest Node version, which is completely broken at the moment, some need v16 and others v20+ Now I was thinking of moving to Vite.js and came across your tutorial in an overview it seems simple, but while implementing it I come across hurdle after hurdle. I use Local By Flywheel to host my sites which gets me .local and my Gulp file serves that domain as localhost:3000 and your setup seems to do something different. I’ve also never had the need for Composer and this is currently where I’m stuck, if I install it in my project I get **`Fatal error**: Uncaught InvalidArgumentException: View [] in FileViewFinder.php`. If I remove bootstrap.php from my functions.php my site works again. Are you maybe available for hire? I would love to bounce some ideas of you and am happy to pay for your time!

  • @michal_codes
    @michal_codes 7 месяцев назад

    I use WP coding rules, with a few exceptions. It just makes sense to me to use them in WP related projects. The same I stick to Laravel coding standars in Laravel project.

    • @pragmatedev
      @pragmatedev 7 месяцев назад

      Yep, it makes sense! 🤟Do you like WP rules or not really, but use them because it's recommended? 😀

    • @michal_codes
      @michal_codes 7 месяцев назад

      @@pragmatedevI'm ok with most of them, I don't like tabs 😱, class- prefix and "yoda" conditions

    • @pragmatedev
      @pragmatedev 7 месяцев назад

      Tabs are the worst, indeed 🤣

  • @pragmatedev
    @pragmatedev 7 месяцев назад

    Hi Guys! For the ones interested in exact changes in our project, check out the PR with the change here: github.com/przemekhernik/footmate.pro/pull/18/files 👋

  • @pragmatedev
    @pragmatedev 8 месяцев назад

    I've spent +30 hours understanding how to unlock the full potential of the PHP Code Sniffer and it was worth 🔥Some people would say that's a waste of time, but I'm sure it was worth it. I've put everything I wish to have years back into this simple material to give you it all in one place. Check it out 👋

  • @serhiib16
    @serhiib16 8 месяцев назад

    Like! Co to za motyw vscode?

    • @pragmatedev
      @pragmatedev 8 месяцев назад

      Dzięki! Motyw to wyedytowany One Dark Pro dostępny w tym miejscu: marketplace.visualstudio.com/items?itemName=zhuangtongfa.Material-theme 🫡

  • @adamsDevArt
    @adamsDevArt 8 месяцев назад

    amazing content! please more more more

    • @pragmatedev
      @pragmatedev 8 месяцев назад

      Ooooh, thank you mate! You made my day ❤️

    • @adamsDevArt
      @adamsDevArt 8 месяцев назад

      @@pragmatedev I keep thinking there's some kind of bug on RUclips's comments, your channel is so underrated, you have really high quality and useful content, if i can help somehow let me know !

    • @pragmatedev
      @pragmatedev 8 месяцев назад

      You're really kind Mate 🙌 It looks that I haven't managed to understand the engagement algorithm here yet so that's why it looks this way 😅 You're already helping me watching my videos and that's a lot! Maybe you have any tips how to engage with people to not make feel the cringe or something like that. I'm still learning so all the feedback is highly appreciated 🤝 Have a great day @adamsDevArt!

  • @Anhjje
    @Anhjje 8 месяцев назад

    Really excited for this series. Each linter deserves it's own video, I've only done a bit of codesniffer but I don't fully understand how it works yet. Looking forward to learn more about other linters!

    • @pragmatedev
      @pragmatedev 8 месяцев назад

      Glad to hear this @Anhjje! PHP Code Sniffer was the main reason for me too create this series, because even when I used this for a long time I didn’t had a chance to figure out how does it really work 😅 I hope I’ll be able to provide you the answers you’re searching for 🙏

  • @vanhoatvdat
    @vanhoatvdat 8 месяцев назад

    very helpful

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

    Hi Mates! Recently, I released the second part of the Vite&WP Integration tutorial. it includes even more useful knowledge, so check it out after finishing this material! You won't regret this 😏 Link below 👇 ruclips.net/video/cx_OzVHAW6k/видео.html

    • @vladi4507
      @vladi4507 8 месяцев назад

      Hello, thank you very much for the video. Is it possible to add tailwind to this assembly and set up automatic theme.json generation? Maybe you are planning to record a separate video?

    • @pragmatedev
      @pragmatedev 7 месяцев назад

      @@vladi4507 Hi! For sure, adding Tailwind should be really easy. I didn't plan to create a video about this shortly, but I'll do this and get back to you! Thanks for your question :D Regarding the theme.json - writing additional tasks in Vite is easy, but I'll have to think about the general idea. What you would like to put into the generated theme.json?

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

      Can you please do one for vite, vue and wordpress intergration

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

    Lost at around 15minute mark. I've read your blog but I'm completely confused on what are those FM// namespace files, can't progress

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

      I understand your confusion, and I'll think about how to improve this in the next materials 🤔 Generally, the videos I post are mostly related to each other. And the part that you lost was already discussed in the previous ones: - Introduction to OOP approach I use: bit.ly/4842u6H (video) bit.ly/480yloD (blog) - How do I structure the application? bit.ly/49hfgj5 (video) bit.ly/4bhxR0l (blog) I structure the WordPress Application materials in a playlist bit.ly/4bi7Gqp and the new ones might include knowledge already mentioned in others, but you're right that it was not so obvious in this individual material, so here's the place I need to improve. Thank you @Anhjje for pointing this out! Really appreciated 🫡

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

      @@pragmatedev Thank you ! I'll go through these videos and courses before asking for more help. Your videos are being recommended anywhere I type "vite tutorial" lol. Keep up the good work!

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

      @@Anhjje If you have no time, you can also ask me before! I'll try to help even in such case 🤝 Thank you for your good words 🫡

  • @eucalyptech
    @eucalyptech 11 месяцев назад

    Great insights, thank you Hernik 😀

  • @fkangalov
    @fkangalov 11 месяцев назад

    I can't seem to manage to make it work when running "yarn dev" so that it works with HMR. I have a plugin instead of a theme like in your case but I don't understand where and what to enqueue when running in dev mode. "yarn build" just enqueues the files from the manifest and that's it I understand that part but I don't know how to make "yarn dev" work. Any additional info would be much appreciated. Great content by the way.

    • @pragmatedev
      @pragmatedev 11 месяцев назад

      Hi @fkangalov! Thanks for your question 👋 The plugin setup that you refer to shouldn’t be a problem. There are a few things that must be considered to make dev command integrated with WordPress: 1. We need to load all JS assets as modules. 2. We need to load Vite client. 3. We need to load assets from Vite dev server rather than than directory. Those things are described in the article below (check out „all the necessary operations” link) BUT I’m happy to help you more here! - Is there a possibility to check the repository with source code you try to integrate? It will be much easier to help you. - What Vite version do you use? The article is created with Vite 4.5, and the latest one is 5. There are a few differences but I’ll discuss them soon in the new material. But I’m open to help you now. tentyp.dev/blog/wordpress/vite/#how-to-integrate-vite-hmr-in-wordpress

    • @fkangalov
      @fkangalov 11 месяцев назад

      @@pragmatedev I will look into the post thanks for the detailed reply! I managed to make it work by importing the scss and js files in main.js and enqueing just one script that is the vite one that only runs when you type "yarn dev" I forgot the name.

    • @fkangalov
      @fkangalov 11 месяцев назад

      P.S. the script I am refering to is the script that loads in "dev" mode for prod mode I load from thr manifest as shown in the video

  • @adamsDevArt
    @adamsDevArt 11 месяцев назад

    Amazing content and very useful and it’s really inspiring to see your elegant code 😮

    • @pragmatedev
      @pragmatedev 11 месяцев назад

      Thanks again Mate! Sometimes I struggle with thinking that it’s unnecessary too elegant, but you help me proving myself that it’s worth 👏

  • @adamsDevArt
    @adamsDevArt 11 месяцев назад

    Hey tenypdev Just discovered your channel and I'm really impressed! Your commitment to 100% custom code is awesome. Love your work and your unique approach. Keep it up, looking forward to more great content! and this course! Cheers

    • @pragmatedev
      @pragmatedev 11 месяцев назад

      Hello @adamsDevArt! I’m so happy to read such kind of words 🤩 Thank you for them, they gave me a lot of motivation! I hope you’ll like the new materials I’m trying to finish too🤞

  • @92Michal1
    @92Michal1 11 месяцев назад

    Cześć, zastosowałem Twój kod do pluginu wp, ale nie działa mi wstrzykiwanie zmian, w terminalu wykrywa zmiany i jak sprawdzam kod źródłowy skryptu to też widać ze zmienił się kod skryptu, ale na stronie nie ma zmian, dopiero po odświeżeniu aplikuje zmiany. Możesz podpowiedzieć w czym jest problem lub masz jakiś przykład?

    • @pragmatedev
      @pragmatedev 11 месяцев назад

      Cześć! Niestety bez wglądu w kod źródłowy ciężko będzie mi coś doradzić 😩 Czy repozytorium pluginu, o którym mówisz jest dostępne publicznie? Jeśli nie to skontaktujesz się ze mną przez email? Chętnie pomogę jeśli będę mógł spojrzeć w kod 🫡 Mail dostępny jest pod tym linkiem: tentyp.dev/privacy-policy/#your-rights

    • @92Michal1
      @92Michal1 11 месяцев назад

      @@pragmatedev mój błąd podpinałem się pod zły hook. Jeszcze jedna rzecz, czy rozwiązałeś może problem z ładowaniem zdjęć w kodzie html w plikach php-owych, tak by vite wykrywał, że te zasoby są używane i dodawał do dista, próbowałem kiedyś to rozwiązać, ale mi się nie udało "<img src="{{ FM_URI }}/src/images/404.jpg" width="400" height="500" alt="Image" class="logo"/>"

  • @the7odmelmoney
    @the7odmelmoney 11 месяцев назад

    Very helpful thanks

  • @sbw94
    @sbw94 11 месяцев назад

    Do we have a good alternative for Windows users?

    • @pragmatedev
      @pragmatedev 11 месяцев назад

      Unfortunately, I don't have any confirmed recommendations. But following this (stackoverflow.com/a/44886436) message there are some possibilities to run Homebrew on Windows using Windows Subsystem for Linux (WSL) 2 (learn.microsoft.com/en-us/windows/wsl/about) 🧐 Official docs also mention this: docs.brew.sh/Homebrew-on-Linux Have you tried this?

    • @sbw94
      @sbw94 11 месяцев назад

      @@pragmatedev Well that means doing everything on the subsystem Linux then, I'll take a look thanks!

    • @pragmatedev
      @pragmatedev 11 месяцев назад

      @@sbw94 Let me know the results! I'm really curious how it can be handled on Windows. If you'll have problems I'll try to reach my colleagues who work on Windows asking how they handle it :D

  • @sbw94
    @sbw94 11 месяцев назад

    I'm rewatching all of your videos and like I told you I really your teaching approach, thanks once again! Quick question: do you have a video / tutorial on how to set up the debug stuff in a WordPress installation? I'm using localwp on a Windows 11, but I do think it should be quite similar on Visual Studio Code? I would like really like to have a beginner guide on how to debug properly like you did in your video, thanks Przemek 😊

    • @pragmatedev
      @pragmatedev 11 месяцев назад

      That's a excellent question 🔥I don't have such video yet, but I'll be creating this in the near future. Debugging is one of the most important parts of the development process, so for sure, I'll handle this before I start making more direct WordPress implementations. I'll let you know when done, sure? 🫡

    • @sbw94
      @sbw94 11 месяцев назад

      @@pragmatedev Thanks man, really appreciate! Looking forward to it, hopefully in the beginning of 2024 to start the new year really great :D

  • @foofourtyone
    @foofourtyone 11 месяцев назад

    It is almost impossible to follow and therefore understand the concept whilst getting disturbed all the time by swoosh-, pan-, switching-animations and all that unnecessary noice. Those kind of videos are not about your editing skills and fancy effects, they're about the valuable content. And if you distract by all that animation, nobody understands what you trying to teach.

    • @pragmatedev
      @pragmatedev 11 месяцев назад

      Thanks @foofourtyone for a great feedback! I must admit that I've been thinking about this while editing, but I've decided to try it out 😅 So in general you would remove all those sound effects, animations, and keep such kind of videos "flat"? Or just limit them somehow?

    • @monaraj6532
      @monaraj6532 11 месяцев назад

      ​@@pragmatedevp

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

    Hi Guys! Please check out an important aspect that I've forgot to mention in the video: Since Vite works with ES modules, the scripts should be loaded with `type="module"` attribute even in the production mode. The change has been already reflected in the material docs: tentyp.dev/blog/wordpress/vite/#how-to-enqueue-assets-generated-by-vite Big thanks to @jantack7186 for noticing this 🙏 You can also check they nice thoughts in the comments above.

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

    Petarda odcinek, poleciał sub :) czekam na więcej filmików apropos Wp, vite czy nawet sage / bedrocka 😀

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

      Cieszę się, że Ci się podobało! Postaram się Cię nie zawieźć w kolejnych nagraniach 🔥

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

    The video and the text on the website look very helpful. At the end of the text you ask to rate 1. the technical and 2. the visual quality. I am missing a third category here: linguistic eloquence. You have done a good job in all three areas. Compliments and Thanks!

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

      Ooooh, thanks @jantack7186 for kind words! They mean a lot to me, especially if I'm learning how to make such type of content 🙏 I'm highly appreciated for your help 🙌

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

    Hi Guys! I think that the results are really great, but I'm wondering what you think too. Just check out the latest video that I've made and let me know what do you think about this topic! 🫡 🎉

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

      Hi, I just started working with bundlers and Vite, but I have some doubts if it is really that easy to integrate Vite into wordpress. Have you used the approach you show here in a production system? I am not an expert, this is just a question, not a criticism. I also wonder if the type="module" attribute doesn't need to be added to all script tags and not just in HMR mode? Does your approach work if you have multiple entry points with common dependencies? As I understand it, in this case Vite creates an additional chunk with the shared dependencies and loads it as js-module. This has the advantage that these shared dependencies are only loaded once. Disadvantages, however, are that there is no simple 1:1 relationship between input and output files and that older browsers that don't recognize modules can't handle it (but there are plugins to support older browsers) Again, I'm no expert, this is just a question, not a criticism. So far I've been using a library on Gihub called vite-for-wordpress, which is much more complex. I must say that I tried but failed to really understand the source code of this library.

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

      Woah, that’s amazing feedback Mate 🤩 You’re writing that you’re not an expert, but it’s visible that you have a great overall knowledge. I appreciate feedback even more 😈 Let me answer this today. I’ll get back you you today evening 👋

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

      ​@@jantack7186 At first, I'm sending BIG THANKS to you for pointing out the issue with `type="module"`. You're right here! Since Vite supports native ES Modules by default, we need to load scripts as a modules even in production mode. I totally forgot about this when finishing this material. I've updated the blog post with those informations and mentioned your help in the PR that fixed this 🙏 - github.com/przemekhernik/footmate.pro/pull/10 - tentyp.dev/blog/wordpress/vite/

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

      ​@@jantack7186 When it comes to the second question with multiple entry points and common dependencies, you're totally right. Vite will just create additional chunk and import it as a module. It won't work by default in the browsers older than ~2017, but we can handle this with polyfills with some effort. But in general I must admit that I would not consider it as a huge problem 🤔 We always define what versions must be supported in the projects we made, and they are mostly not not as old. In case of need to support browsers older than 2017, I would just switch the bundling tool to Laravel Mix, or just work out with polyfills. I use such way of handling assets on my blog, and I have a trust to it :D Laravel in the latest version also uses such way of handling assets. So I would consider this as a problem, only in a really specific projects. But in most cases I would go with it 🫡 I've also pushed some changes to footmate repository to let you check and test how does it work with multiple entrypoints and common dependency. I've also tried implementing babel transpiler, and in fact it worked 😅 - github.com/przemekhernik/footmate.pro/pull/11/files - tentyp.dev/blog/js/how-to-transpile-modern-js-to-es5-in-vite/ - caniuse.com/es6-module

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

      @@pragmatedevThank you for your kind reply and the corrections.

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

    Great video!! We miss a lot from the WordPress space development in depth videos like yours Just subcribed and turned the notifications on!

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

      Thank you @sbw94 👐 I'm really happy that I can help you, and I'm glad that you think that it's needed. It gives me a lot of boost 🔥 Have a great day 😀

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

      @@pragmatedev I'm going through every video you did about WordPress and web development and it's amazing, we need more like these! A cool use case for a WordPress website and you thinking about it loud and explaining your thoughts process and how you develop it would be a masterclass!

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

      @@sbw94 You made my day, thanks mate for sharing your thoughts 🤩 Such comments make me feel that it’s worth to try more and more 🤝

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

      Hi @sbw94! How are you doing? 👋 Thanks again for the nice words! I’m almost finished the new material that should be posted on this channel next week. I hope you’ll enjoy it too 🫡😈

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

      Hey @@pragmatedev , it's nice hearing from you! Doing awesome, hope you as well! That's fantastic, can't wait to watch it next week 😁

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

    😎👍

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

      Hey Bruno! Nice to see you here 👋

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

    Broh zoom it this is too hard to see

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

      Thanks for the feedback, I really appreciate that 🤝 Point noted, and I’ll try to improve this in the next videos. Meantime I have a text version available if it would help here: tentyp.dev/blog/wordpress/introducing-laravel-blade/

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

      😊

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

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

      Hi @rahatkamal299! Did you have a chance to check the new videos? I've changed a little bit the way how I present the code. Is it better? Thank you for your thoughts 🙌

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

    How to build setting/options page using oop

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

      there are so many ways to do that

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

      Building the settings page using OOP does not differ from the default procedural way 😄 We still use native WordPress functions to handle the data, but what's crucial IMO, with OOP we prioritize separating responsibilities much more than in the default way which solves common WordPress problems - spaghetti code. So for example data management (loading, preparing etc) happens in the controllers, which just pass the data and configuration to the settings view. Classical layered architecture. I plan to create a video about this in the next few weeks so once I'll do this, I'll ping you here 👋

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

    When is the next video dropping ?

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

      Hi! Im going to release next video 5.05-7.05. The idea is to drop one video per week, but I’m still learning the best workflow to achieve this, and for now I post one video per two weeks. But Im working hard to give you the new content as fast as possible 👋