Views : 3,612
Genre: Education
Date of upload: Nov 15, 2022 ^^
Rating : 4.898 (4/153 LTDR)
RYD date created : 2024-04-19T04:12:35.475085Z
See in json
Top Comments of this video!! :3
Loved your video, your video was the only one which thoroughly explained how to make a custom DI container. I use Laravel a lot and love it's DI container but it's implementation goes way above my head.
I have a request, can you please make videos to extend the DI container topic to support shared/singlton bindings, instance bindings, aliasing and caching? It would be very interesting and fun to learn. Once again thanks for the amazing content!
|
Thanks Gio, after the previous lesson this was a walk in the park. Looking forward to the next one. 🙂
Just a few things I reacted to, mostly preference again and knowing it's being just demo code for teaching purposes.
In my own version I would probably have refactored checking the URLs for the same host to it's own function or method, just so I don't have to think when I come back to the method after a while, just like using explanatory vars. I already have comparable functions in other code. It's just a preference of course. The methods are small enough so they are still easy enough to understand and when coming back to older code, it seems to always cost some time to remember the structure of it anyways.
Am I right in thinking that when you use an assignment as a condition, it is basically processed as the equivalent of first doing the assignment and then using the resulting variable as a condition? We talked about it in the prev lesson and here you have used that pattern again. Just verifying if I understand it right.
Probably calling the second flash argument messages isn't quite fitting, since it only fits the array of error messages it gets and not the form input values. Just a minor detail though. I'm always aware I forget such details when I get back to code in a year.
But great lesson again Gio. You're a great teacher for me. Even how the frontend looks is quite slik and pro. Appreciate it a lot.
1 |
hola gio hola a todos gracias por el contenido y los comentarios estoy aprendiendo mucho porfa necesito saber desde el punto de vista de un programador como paypal u otras plataformas tienen acceso a las cuentas bancarias de algunos de sus clientes (como enlazan la cuenta personal a sus servicios).gracias estare alerta a las respuestas
|
Hey Gio, I have a very important question. I read the Slim application lifecycle of middleware many times which says that middlewares execute from outside to inside until reaches the Application, then Application returns a response. And that response run through middlewares from inside to outside. Now the question is, we have a SessionStartMiddleware that starts the session, and if the session is already started, it throws an error. So, let's assume that session is started when middlewares run outside in, and when the response is returned and the middlewares run inside out, the SessionStartMiddleware should throw an error, because the session is already started. Can you please explain, why it is not throwing an error in such a case?
|
@alexz75515
11 months ago
Beside awesome tutorials, thank you for 1440 HD. 👍
1 |