Great video Gary, your workflow is so smooth, looking forward for the next part of this tutorial, thanks for sharing.
@GaryClarkeTech4 жыл бұрын
Thanks Adel..I appreciate it! Part 2 will be Thursday 24th.
@ramo0120324 жыл бұрын
Like always, great content, one of the best chanel out there with symfony content, looking forward for the next part.
@GaryClarkeTech4 жыл бұрын
Thanks Ramo..kind words! Part 2 on Thurday 24th.
@parijke4 жыл бұрын
Loved it Gary, never knew the in memory SQlite trick
@GaryClarkeTech4 жыл бұрын
Thanks Paul...I promise it will life easier!
@parijke3 жыл бұрын
@@GaryClarkeTech It seems that using an SQlite (in-memory) db for test is executing SQL differently? I spend 4 hours finding why my validation tests failed, but they worked in dev (MariaDB) It appears that select * from booking where `from_date` > '2021-02-14 00:00:000000' in MariaDB skips the records with 2021-02-14 as it sees them as equal value. But with SQLite it selects 2021-02-14 as it evaluates '2021-02-14 00:00:000000' as being bigger? Ever noticed this? In the entity I defined the fields using date type.
@GaryClarkeTech3 жыл бұрын
@@parijke I vaguely recall a similar issue when I was connecting to an Oracle DB and I used the date type. I ended up changing it to datetime and that resolved the issue.
@ChristoforVrungel3 жыл бұрын
Gary, thanks a lot for this video. I'm newbie in Symfony and video very helpful for me.
@GaryClarkeTech3 жыл бұрын
Glad you enjoyed...it's part of a series and part 6 will be uploaded on Thursday
@puffkitty0073 жыл бұрын
Thanks for this video Gary! I have a question. I get an error when i use setUp in StockTest.php: Method 'App\Tests\StockTest::setUp()' is not compatible with method 'Symfony\Bundle\FrameworkBundle\Test\KernelTestCase::setUp()' Do you know what causes this problem? Maybe it is because i use symfony 4? If so how can i fix this for symfony 4 because i need to use it for my usecase UPDATE: And also when i change the name of setUp to something like setUpTest and run the test like at 12:25 i get an error message: Error: Call to a member function persist() on null I also get another error: Expected type 'Symfony\Component\HttpKernel\KernelInterface'. Found 'Symfony\Bundle\FrameworkBundle\Test\KernelInterface'.
@adante4074 жыл бұрын
How much PHP should you know before diving into a framework like Symfony or Laravel? And which one would be easier to start with?
@tandemwarhead4 жыл бұрын
Theres no "how much" it's always "as good as you can". You can learn symfony & php basics along the way, but if you know patters, pitfalls of the language, tooling and other advanced techiques - you will be much more effective. Everything comes from experience, so dont hesitate to get yours
@GaryClarkeTech4 жыл бұрын
Great queation John. You can start diving in with a few months object oriented PHP experience...BUT...you should continue to learn good object oriented programming practice even when you start using frameworks. A lot of people don't and you can spot them a mile off cos their code is a total mess...no principles or craft applied. As for frameworks...I think Laravel is probably the easiest to start with but there's not as much difference in it as there used to be. Laravel uses a lot of Symfony components under the hood.
@absolutedoruiyaaa4736 Жыл бұрын
Does this tutorial just not work for Symfony 6? been racking my brain on this and it's constantly doing things differently than you are showing...
@GaryClarkeTech Жыл бұрын
I can't guarantee that my S5 tutorials will work for S6 but you should be able to adapt them with a bit of help from the docs