High Definition Standard Definition Theater
Video id : cNm9J72_iAk
ImmersiveAmbientModecolor: #d5efcd (color 1)
Video Format : 22 (720p) openh264 ( https://github.com/cisco/openh264) mp4a.40.2 | 44100Hz
Audio Format: Opus - Normalized audio
PokeTubeEncryptID: 40883c33f6a28dbe41beadf7459dd7ddd8cac0a8ffc2d21ae1e24e577a8807df8252c54bd1d57811ffe472c7f8eb6cad
Proxy : eu-proxy.poketube.fun - refresh the page to change the proxy location
Date : 1715495978177 - unknown on Apple WebKit
Mystery text : Y05tOUo3Ml9pQWsgaSAgbG92ICB1IGV1LXByb3h5LnBva2V0dWJlLmZ1bg==
143 : true
Sessions & Referrer URL Refactor - Build Expense Tracker App With PHP 8
Jump to Connections
3,612 Views • Nov 15, 2022 • Click to toggle off description
In this video we continue the sessions refactor & this time tackle the part where we flash messages to the session. We also refactor the way we retrieve the referrer URL.

SOME OF THE WAYS YOU CAN SUPPORT THE CHANNEL
👍 Smash the like button
🤝 Subscribe to the channel & turn the notifications on
💬 Post comments, any feedback is greatly appreciated
⭐ Become a Patreon: www.patreon.com/programwithgio
THANK YOU!

🛠️ TOOLS & SERVICES I USE
Digital Ocean Hosting - Get 100$ credit - m.do.co/c/38b935ad74e5
Domains on Namecheap - namecheap.pxf.io/rnRjdQ
Envato Elements - 1.envato.market/c/2937311/298927/4662

LESSON P.8
Starting Source Code - github.com/ggelashvili/expennies/tree/P8_Start
Ending Source Code - github.com/ggelashvili/expennies/tree/P8_End
Course Outline - github.com/ggelashvili/learnphptherightway-outline
Course Playlist -    • Learn PHP The Right Way - Full PHP Tu...  

** Affiliate Disclaimer: Some of the above links may be affiliate links, which may generate me a sales commission at no additional cost to
Metadata And Engagement

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
Tags
Connections
Nyo connections found on the description ;_; report a issue lol

YouTube Comments - 28 Comments

Top Comments of this video!! :3

@alexz75515

11 months ago

Beside awesome tutorials, thank you for 1440 HD. 👍

1 |

@Zubbee

1 year ago

Great! Like clockwork. Thanks alot Gio

1 |

@AndreTSah

1 year ago

OMG you're amazing.. Many thanks to you man...

|

@Armando-px8hi

5 months ago

Thank you master.A lot :)

|

@azzazkhansiddiqui

1 year ago

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!

|

@hansschuijff

1 year ago

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 |

@negrepm.castro6152

1 year ago

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

|

@mdsirazul9231

1 year ago

Will you do a series on Laravel after this series

|

@sefyankehail7801

1 year ago

Hello Gio, I didn't get the part about referer host and request referer host and the difference between them, in fact I'm not quite sure what these words mean lol, can you give hints where to look for this topic ? thank you again.

|

@bijayaprasadkuikel5162

1 year ago

Yeah, i want to see validation being extracted to its own file.

1 |

@bakosyy

5 months ago

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?

|

Go To Top