- Видео 165
- Просмотров 116 798
Tanya WebDev
Украина
Добавлен 5 ноя 2021
Hey! I am very glad to see you on my channel! :)
My name is Tanya and I am a software engineer. My channel is about Web Development, mostly about back-end and Symfony6.
Don't forget to subscribe not to miss new videos!
My name is Tanya and I am a software engineer. My channel is about Web Development, mostly about back-end and Symfony6.
Don't forget to subscribe not to miss new videos!
Understanding Refresh tokens in JWT Authentication | How they work and improve security
In this video, I break down the concept of refresh tokens in authentication systems. Learn how access tokens and refresh tokens work together to keep users logged in without repeatedly entering their credentials. I'll explain how refresh tokens are issued, how they refresh expired access tokens, and the security mechanisms such as token rotation and revocation that ensure your system remains secure. If you're implementing JWT authentication and want to improve your API security, this video is for you!
💡 You can support the channel on Patreon: www.patreon.com/tatyana_WebDev
⭐️ Tutorial Contents ⭐️
◆ (00:00) Let's start
◆ (00:27) What is Refresh token?
◆ (00:48) How Refresh token system works?
◇...
💡 You can support the channel on Patreon: www.patreon.com/tatyana_WebDev
⭐️ Tutorial Contents ⭐️
◆ (00:00) Let's start
◆ (00:27) What is Refresh token?
◆ (00:48) How Refresh token system works?
◇...
Просмотров: 29
Видео
How to implement Refresh token | Symfony 7 JWT Authentication tutorial
Просмотров 10821 день назад
In this video, we'll walk through how to set up refresh tokens for your Symfony 7 project using JWT Authentication. Learn how to generate access tokens and refresh tokens, configure them in your application, and secure your API with JWT. We cover the installation of necessary packages, configuration steps, route setup, and token expiration. Additionally, I’ll demonstrate how to update tokens us...
JWT Authentication in Symfony 7 API Platform | Step-by-Step Guide
Просмотров 19321 день назад
In this tutorial, learn how to integrate JWT authentication into your API built with API Platform and Symfony. Watch as we guide you through setting up secure authentication using the LexikJWTAuthenticationBundle, configuring your app to handle login requests, and implementing token-based access. You'll also see how to test the JWT authentication directly through Swagger UI and ensure proper ac...
Dependency Injection (DI) in Symfony: understanding the Service container and managing services
Просмотров 185Месяц назад
In this video, we dive into the concept of Dependency Injection in Symfony. We'll explore how the service container works, how to register and use services, and discuss the main methods of handling dependencies. We'll cover autowiring and autoconfiguration, as well as cases where manual service registration is necessary. This video will be useful for both beginners and experienced Symfony devel...
Symfony 6 Email microservice - creating custom Argument Resolver
Просмотров 2728 месяцев назад
Symfony 6 Email microservice - creating custom Argument Resolver
Symfony 6 Email microservice - Templated Email | Mail Catcher
Просмотров 1949 месяцев назад
Symfony 6 Email microservice - Templated Email | Mail Catcher
Symfony 6 Microservice - Pub-Sub/ Command patterns | Queues (Messenger & RabbitMQ) | Data validation
Просмотров 497Год назад
Symfony 6 Microservice - Pub-Sub/ Command patterns | Queues (Messenger & RabbitMQ) | Data validation
Symfony 6 Microservice in DDD style - Sending Emails via Mailer Bundle (Gmail & Amazon SES)
Просмотров 885Год назад
Symfony 6 Microservice in DDD style - Sending Emails via Mailer Bundle (Gmail & Amazon SES)
Symfony 6 - Localization of Forms and Validation
Просмотров 462Год назад
Symfony 6 - Localization of Forms and Validation
Symfony 6 - Translation tutorial / Translation bundle
Просмотров 2,1 тыс.Год назад
Symfony 6 - Translation tutorial / Translation bundle
TOP 9 terminal commands for Debugging Symfony 6 App
Просмотров 743Год назад
TOP 9 terminal commands for Debugging Symfony 6 App
Symfony 6 & Custom Bundle - tutorial how to create (best practices)
Просмотров 6 тыс.Год назад
Symfony 6 & Custom Bundle - tutorial how to create (best practices)
JWT FAQ - What is this? How does it work? What does it consist of?
Просмотров 85Год назад
JWT FAQ - What is this? How does it work? What does it consist of?
Symfony 6 & JWT Authentication tutorial for beginners
Просмотров 3 тыс.Год назад
Symfony 6 & JWT Authentication tutorial for beginners
Symfony 6 & PHPUnit - Application tests tutorial (Part 1)
Просмотров 1,7 тыс.Год назад
Symfony 6 & PHPUnit - Application tests tutorial (Part 1)
PHPUnit - Stubs vs Mocks (difference and examples how to use)
Просмотров 687Год назад
PHPUnit - Stubs vs Mocks (difference and examples how to use)
How I pass LinkedIn's PHP Assessment Test in 2023? Top 5% result
Просмотров 466Год назад
How I pass LinkedIn's PHP Assessment Test in 2023? Top 5% result
Symfony 6 & PHPUnit - Unit & Integration tests tutorial
Просмотров 3,1 тыс.Год назад
Symfony 6 & PHPUnit - Unit & Integration tests tutorial
Symfony 6 - How to manage JS in Symfony app using Webpack?
Просмотров 484Год назад
Symfony 6 - How to manage JS in Symfony app using Webpack?
Symfony 6 - How to install and integrate Bootstrap CSS & JS using Webpack Encore?
Просмотров 3,9 тыс.Год назад
Symfony 6 - How to install and integrate Bootstrap CSS & JS using Webpack Encore?
Symfony 6 - How to manage CSS in Symfony app using Webpack?
Просмотров 452Год назад
Symfony 6 - How to manage CSS in Symfony app using Webpack?
Symfony 6 - How to install Webpack Encore?
Просмотров 679Год назад
Symfony 6 - How to install Webpack Encore?
Symfony 6 - What is Webpack & Webpack Encore?
Просмотров 1,2 тыс.Год назад
Symfony 6 - What is Webpack & Webpack Encore?
Symfony 6 - Webpack Encore (managing CSS and JS)
Просмотров 687Год назад
Symfony 6 - Webpack Encore (managing CSS and JS)
How to install Node.js & NPM in Linux Ubuntu 22.04 LTS
Просмотров 432Год назад
How to install Node.js & NPM in Linux Ubuntu 22.04 LTS
Symfony 6 - Security bundle: registration, pass hashing, login, logout, access control
Просмотров 2,2 тыс.Год назад
Symfony 6 - Security bundle: registration, pass hashing, login, logout, access control
Symfony 6 - Twig template namespaces or how to store Twig templates in a non-default folder
Просмотров 2832 года назад
Symfony 6 - Twig template namespaces or how to store Twig templates in a non-default folder
Symfony 6 - Template inheritance and layouts
Просмотров 3092 года назад
Symfony 6 - Template inheritance and layouts
Symfony 6 - How to embed in a Twig template the result of executing some Controller?
Просмотров 4252 года назад
Symfony 6 - How to embed in a Twig template the result of executing some Controller?
I find subtitles inadequate and confusing.
Thanks for the comprehensive video!
Дякую, другий і третій приклад дуже корисні :)
Спасибо!! 🎉🎉🎉
Where is auth controller on video? I have error message Unable to find the controller for path "/api/login/login_check". The route is wrongly configured.
This route does not require a controller because it is automatically handled by LexikJWTAuthenticationBundle. You have some issue with settings.
@@tanyawebdev thank you, Tatiyana ;)
Nice
Well Explained.
Hi from Colombia...
Very good explain
Please make video on access token including refresh token ( API Platform ), and also video on "reset password" in Symfony application
Happy to see back, as always great content, thanks for sharing
Amazing content💯
The most useful video I found to connect PostgreSQL service. We must be aware that the url for env DATABASE_URL is not localhost but the name of the service. Thank you for this video and for your help.
Isolation which level of prevention
Great video, I love your explanation. I am creating plugins for Sylius e-commerce.
BUenos dias pedirle donde puedo ver la serializacion hacia un json ya que en el ejemplo se deja pendiente porque solo se ve array vacioa gracias
The material you present is thoroughly explained with plenty of good examples, but that music is such a TERRIBLE annoyance.
No repo?
Thank you for the lesson, how do we delete the message after 5 seconds ?
Great tutorial
My bootstrap modal window doesn't pop up. I follow all yours steps, I'm using symfony 7, any suggestions?
Maybe ther's something else on your project. Starting on a blank project with PHP8.3 & Symfony 7.1, and another older upgraded from7.1 to 7.2 it has ben working for me. I had to remove symfony/asset-mapper (so I can't use {{ asset('...') }} on templates ) but It's working for me...
Thank you very much 🙏
thumbs up for the music specifically
buenas noches trabajo con datatables en symfony
microphone is very bad
There is a consideration when using ICU file format. This changes the file name, as well as the format of variables
Awesome video!
i'd have this probleme when i run: docker-compose up -d Error starting userland proxy: listen tcp4 0.0.0.0:80: bind: address already in use. i found the solution by running:: docker run -d -p 8080:80 docker/getting-started
I have a challenge: Why is it that my apache server wants everything served in the html directory? I want it to be the same as the public directory as Symfony has. Why is it going to html when i also use a conf file for apache? Is set the documentroot at var/www/html/public to try. You use also very nice music in your video! Very calming 🙂
спасибо, но мне кажется эффективнее было на русском сделать) тем более в русском сегменте и конкурентов бы не было)
тоесть автоматически айди не задаются? не понимаю зачем тогда все эти аннотации связей.
This video helped me a lot Thanks Tanya
Hi Tania, did you plan to publish the second part of this test tutorial? It's very well done and clear, you explain things very well! I'm beginning knowing tests and I'm willing to know how to test a controller action (typically a route as in your tutorial) that uses some services or call some controller methods... Thank you!
Great work! We'd love to see more. If you're able, could you create videos about microservice architecture in Symfony? These videos could cover securing RESTful communication between services, Data Transfer Objects (DTOs), and other key considerations.
I see you are using bootstrap as well. For me the error messages won't be shown. Maybe it is because I am using the forms in Modals, but I thinkt it should work hmm. You don't use Ajax to display the error messages do you? In the dev tool bar it shows that it works. When i check the controller error, the validator exactly shows my message. So everything works, except that the message won't be displayed in the form
Validation errors in a Bootstrap modal window won't automatically appear the same way as on a regular page. This is due to the specific structure and styles of modal windows. Why? ✓ A Bootstrap modal window is a separate DOM element that overlays the main page content. ✓ Validation errors generated by Symfony are usually displayed next to the corresponding form fields on the page. ✓ Within the modal window, these elements might be hidden by other elements or styles.
@@tanyawebdev Thx for the info. I researched alot about this topic today and it looks like bypassing with ajax seems to be the only way, if you use modals. That's sad, I really like how easy it is for standard forms.
А в чём отличия между ValueResolver и ArgumentResolver?
In Symfony, "argument resolver" and "value resolver" are typically used in different contexts. "Argument resolver" is applied in the context of handling controller arguments during the execution of a request, while "value resolver" might be used to resolve values in other scenarios, such as dependency injection. Thus, although both can perform a similar value resolution function, they are usually applied in different situations within Symfony.
@@tanyawebdev Спасибо! Хотелось бы посмотреть видео с Argument resolver.
@@solvex8304 This video is about Argument resolvers. There might be some confusion because I named the resolvers with the "ValueResolver" prefix. However, in Symfony, the term "value resolver" is commonly used for built-in argument resolvers. It follows a standard convention in Symfony, highlighting their main purpose - resolving values in the context of handling controller arguments.
@@tanyawebdev Я имел ввиду, что иногда в методах контроллеров вижу что-то типа #[ValueResolver(TaskArgumentValueResolver::class)] Task $task или #[ValueResolver(UserIdArgumentValueResolver::class)] UserId $userId. Что это такое, для чего нужно?
@@solvex8304 Sorry for late reply! :) In the examples you provided annotations are used to explicitly define the resolvers that should be applied to specific method arguments in a Controller. What does it mean? Symfony has many built-in resolvers that can handle different types of arguments (e.g., Request, User, DateTime). The ValueResolver annotation allows you to override the default mechanism and specify exactly which resolver should be used for a particular argument. Why is it useful? ✓ Increased flexibility. You can create custom resolvers to handle non-standard arguments or implement complex value retrieval logic. ✓ Improved readability. Explicitly specifying resolvers makes the code more understandable and transparent. ✓ Decoupling of logic. Resolvers separate the value retrieval logic from the controller logic, making the code more modular and testable.
Отвратительно смонтировано, особенно касательно этих вставок а-ля рок. Уровень громкости голоса один, а музыки гораздо выше. Зачем так делать, зачем вообще нужны эти вставки, это только отвлекает. И так в каждом ролике, что то немного сказать невнятное на ломанном инглише и потом бахнуть музычку в уши. И все быстро, быстро.
Thanks for your feedback. I'll keep this in mind.
The music is too loud and made me stop watching this video.
Thanks for your feedback. I'll keep this in mind.
this is useless
Have you been unable to figure out how to install Webpack Encore in Symfony? Why do you think the video is useless?
@@tanyawebdevYou´ve made a whole Video for 1 single command ;D, so yes, this video is useless.
@@pashatyulnev8603 😅 Actually here the full video: ruclips.net/video/FGCeHEWEUII/видео.htmlsi=Sg3YT5t69sRwwT0i Then I divided that video into parts to make it easier to find the answer to a specific question and made a playlist of small videos: ruclips.net/p/PL-T7sjNqXMumJH8XPpY57rNr-5jV5S__Q&si=Y4pvzFJvTPJNvcNi So for the sake of one command, I didn’t make a video. :) But thanks anyway for your feedback!
Почему не используешь миграции? это максимально странно использовать schema:update --force
Thank you for your question. There is nothing strange about it. It is simply a quick way to update the database structure. Of course, this does not negate the fact that migrations are a more reliable way to manage the database schema, especially in a multi-user environment.
@@tanyawebdev миграции это грубо говоря гит история для базы данных и в современной разработке без использования миграций разработчики могут вносить изменения в базу данных непосредственно , без учета версий или контроля. И никто не поймет кто в каком моменте грохнул базу!!! Такой подход как у тебя просто недопустим!
@@erkash88 While the main focus of my educational video was on Domain-Driven Design (DDD) and email functionality, I opted for schema:update:force to illustrate quick schema updates. However, in practical scenarios, Doctrine migrations are recommended for a more controlled and maintainable approach to database schema updates. If we are talking about projects in real life, where development is carried out by a team, then you are absolutely right. But in the context of this particular topic, I don't think it's that important. If you or someone who read this branch interested in migrations, please then watch my video about it: ruclips.net/video/oBw3Qi5ry6A/видео.html But in any case thanks for your feedback!
well done but your voice is not that clear :) thanks anyway
Thanks for your feedback! I'll try to improve in the next video. :)
Hi Tanya, your channel is pure Gold for newbie Symfony devs like myself. Thank You!
Hello! Thank you very much for the lessons! Can you please tell me, for validate input API request you also use Form?
No, I use Symfony Validator component. Here the example: ruclips.net/video/20zcr5XgC6g/видео.html
очень хорошая идея рассказывать про модули симфы))) Мне просто лень читать весь этот текст, который там написан на странице описания :D
С английским беда у барышни...
Thanks for the comment, I had a good laugh! Well, the main thing is that my English is better than my russian. 🤣🤣🤣
Please do more of this
thanks for this video you saved my homework cheers
You are welcome! :)
The contents are very useful.Thanks
how to generate subdomain with generate url function
The standard generateUrl() method in Symfony does not support generating URLs with subdomains. To do this, first you must define a route with a hostname pattern that contains the subdomain. You can specify the hostname pattern in the config/routes.yaml configuration file or directly in the route definition. If you specify the hostname pattern in the configuration file, it will be applied to all routes with the same name. If you specify the hostname pattern directly in the route definition, it will only be applied to that specific route.
thank you for your work! greetings from Kyiv!
Thanks! You are welcome from Kyiv. 😀
@@tanyawebdev ДОброго дня , я знав , що Ви з України, бачив в коментах під відео, не знав, що також з Києва ) Ще раз дякую за Вашу роботу! Був радий знайти Ваш канал (звісно підписався ). Буду чекати Ваших нових відео по Сімфоні. Всього тільки найкращого! З великою повагою.
This video helped me thank you but not work. update row 41: $response=$this->render("text.xml.twig")->getContent();