I've not done a creating an API video yet because it will be hard to do in just a couple of vids...so I'll most likely do a small series when I do it. I've not forgotten!
@@GaryClarkeTech Sounds interesting! I'm busy learning the inner workings of Symfony and in addition to the documentation, videos like yours are a real help!
Hi Gary, great job but can I ask if You have any knowledge about deployment? I'd love to see if im correct what I'm doing with CD (for example with symfony, github actions and some VM).
I have some deployment knowledge but, as far as CD + github actions is concerned, there are other guys on UA-cam who are way more knowledgeable than me. It's not really my area of expertise.
Thanks Alessandro 👍 Hexagonal Architecture is something I'm hearing more and more but I know little about it. When I do decide to learn more about it, I'll defo share what I learn!
I made this one a few months ago: ua-cam.com/video/ITOnpzkzlYM/v-deo.html But a lot of the time in development I just use the Symfony - Docker integration from the docs with PHP on my machine..not in a container. I demo that with Redis in part 2 of this lesson.
Hi Gary, again nice tut. I wondered why you inject the EntityManagerInterface instead of the StockRepository. Is it arbitrairy or do you do this with a special reason?
Cheers Paul...it's something I've just not thought of doing. Injecting EM is just a habit that I do without really thinking about doing it any other way. Might give it a go in the future!
Hey Gary great video! Thank you for your work. About the cache component, how do you deal with unit tests that involves components that use cache? In my case it's a repository with heavy query I'm caching the result but when running test I can't pass them because the cache is somehow hitting but empty. So I don't have any results...
Thanks Anton. It sounds like you could possibly be checking a different cache pool in your test than the one you are using in your code. If I get the chance, I'll make a recording on tests which hit the cache.
@@GaryClarkeTech Thank you very much for your answer. I was wrong the problem is with the fixtures not the cache. I used sqlite like you did in another tutorial and it's not importing all the fixtures and exits without an error, then I switched to mysql and it throws an error even that for dev environment it's working fine.
@@anstapol Cache can be quite fiddly for tests. There can sometimes be things left in there even though you clear the cache at the end of each test. I usually add the tests that hit a cache to a group and exclude them from running unless I specifically require them.
Who would have thought that the concept of caches can be so easy. Thank you this helped me a lot.
You're welcome. Hope you get to use the information.
I was looking for config and container components, but I'm glad I stumped here. Amazing video!
Awesome, thank you!
Thanks for your lessons. Did not find a video about creating a simple api
I've not done a creating an API video yet because it will be hard to do in just a couple of vids...so I'll most likely do a small series when I do it. I've not forgotten!
Thank you very much for this tutorial!
Straight to the point.
You're welcome..thanks for watching!
Great tutorial! Symfony is awesome and we absolutely need more tutorials like this on UA-cam
Thanks Victor. I appreciate your support 👍
Great tutorial. Many thanks Gary.
Great tutorial, I just need to implement some cache system in Symfony, so your tutorial will come in handy :D
Awesome..glad it helped, Paweł. Check out the most recommended way of using it in a Symfony project in the part 2 video.
Great work! I would love to see a tutorial for the messenger component.
Thanks Daniel 👍I've put messenger on the list.
@@GaryClarkeTech May I ask what else is on the list? 😊
@@jasongoossens It's become quite a big list! I've got REST API and more OOP stuff coming up
@@GaryClarkeTech Sounds interesting! I'm busy learning the inner workings of Symfony and in addition to the documentation, videos like yours are a real help!
Hi Gary, great job but can I ask if You have any knowledge about deployment?
I'd love to see if im correct what I'm doing with CD (for example with symfony, github actions and some VM).
I have some deployment knowledge but, as far as CD + github actions is concerned, there are other guys on UA-cam who are way more knowledgeable than me. It's not really my area of expertise.
For enabling memcached or redis adapters
You can watch redis adapter in part 2:
ua-cam.com/video/Wj5h3XOPyPE/v-deo.html
Thank for your fantastic lessons. Can you do videos about implementation of Hexagonal Architecture in Symfony ?
Thanks Alessandro 👍
Hexagonal Architecture is something I'm hearing more and more but I know little about it. When I do decide to learn more about it, I'll defo share what I learn!
@@GaryClarkeTech thank you so much
Hey Gary. Can you please make a video about symfony with docker ? Or are you only using symfony with symfonly cli ?
I made this one a few months ago:
ua-cam.com/video/ITOnpzkzlYM/v-deo.html
But a lot of the time in development I just use the Symfony - Docker integration from the docs with PHP on my machine..not in a container. I demo that with Redis in part 2 of this lesson.
Hi Gary, again nice tut. I wondered why you inject the EntityManagerInterface instead of the StockRepository. Is it arbitrairy or do you do this with a special reason?
Cheers Paul...it's something I've just not thought of doing. Injecting EM is just a habit that I do without really thinking about doing it any other way. Might give it a go in the future!
Hey Gary great video! Thank you for your work.
About the cache component, how do you deal with unit tests that involves components that use cache?
In my case it's a repository with heavy query I'm caching the result but when running test I can't pass them because the cache is somehow hitting but empty. So I don't have any results...
Thanks Anton.
It sounds like you could possibly be checking a different cache pool in your test than the one you are using in your code.
If I get the chance, I'll make a recording on tests which hit the cache.
@@GaryClarkeTech Thank you very much for your answer. I was wrong the problem is with the fixtures not the cache. I used sqlite like you did in another tutorial and it's not importing all the fixtures and exits without an error, then I switched to mysql and it throws an error even that for dev environment it's working fine.
@@anstapol Cache can be quite fiddly for tests. There can sometimes be things left in there even though you clear the cache at the end of each test. I usually add the tests that hit a cache to a group and exclude them from running unless I specifically require them.
Not beginner friendly. Don't even understand anything