![Mohamed Said](/img/default-banner.jpg)
- Видео 23
- Просмотров 254 988
Mohamed Said
Добавлен 6 июн 2013
PHP, GoLang and infrastructure tutorials!
Serving Content to Users: Static Generation, Server Side Rendering, Client Side Rendering, and SPAs.
Content Delivery Networks:
www.cloudflare.com/
www.fastly.com/
www.keycdn.com/
aws.amazon.com/cloudfront/
NextJS:
nextjs.org/
NuxtJS:
nuxtjs.org/
Remix:
remix.run/
InertiaJS:
inertiajs.com/
www.cloudflare.com/
www.fastly.com/
www.keycdn.com/
aws.amazon.com/cloudfront/
NextJS:
nextjs.org/
NuxtJS:
nuxtjs.org/
Remix:
remix.run/
InertiaJS:
inertiajs.com/
Просмотров: 3 908
Видео
Real-Time Messaging in Laravel - Beyond the Basics
Просмотров 10 тыс.3 года назад
Real-Time Messaging in Laravel - Beyond the Basics
Session Management in Laravel - Beyond the Basics
Просмотров 26 тыс.3 года назад
Session Management in Laravel - Beyond the Basics
Database Connections in Laravel - Beyond the Basics
Просмотров 13 тыс.3 года назад
Database Connections in Laravel - Beyond the Basics
Laravel Octane with Swoole - Beyond the Basics
Просмотров 31 тыс.3 года назад
A deeper look into Laravel Octane with Swoole.
Detecting Model Changes After Persistence - Laravel
Просмотров 2,9 тыс.3 года назад
A look into detecting changes of model attributes after the model is persisted to the database.
Balancing job processing across different users/tenants
Просмотров 4,4 тыс.4 года назад
In this video we look into different ways to ensure job processing is distributed evenly across tenants.
The Backend For Frontend Pattern
Просмотров 20 тыс.4 года назад
In this video we explore the Backend For Frontend pattern, and see how we can apply it in our laravel applications.
Multitenancy in Laravel: Updating configuration at runtime
Просмотров 6 тыс.4 года назад
In this video we discuss how to change your Laravel application's configuration at runtime.
Multitenancy in Laravel: Configuring sessions
Просмотров 10 тыс.4 года назад
In this video, I'm going to show you how to prevent leaking session data between tenants in a multi-tenant laravel application.
Multitenancy in Laravel: Migrations, Testing, and switching tenants
Просмотров 55 тыс.4 года назад
In this video, we discuss how we can achieve multitenancy in Laravel using the database-per-tenant approach. We cover: - Managing multiple DB connections - Migrating & seeding tenants & admin databases - Running tests against tenant & admin databases - Connecting to the correct tenant on requests/jobs Here's a link to the example application: github.com/themsaid/multitenancy-example Some packag...
What is HTTPs? Why do we need it?
Просмотров 1,3 тыс.4 года назад
In this video I wanted to explain what HTTPS and why it's important to serve your web applications on HTTPS. In the process we talk about encryption, Certificate Signing Requests, and SSL/TLS certificates.
Opinion: Don't use mass assignment protection in your Laravel models
Просмотров 8 тыс.4 года назад
I was never a fan of the mass assignment protection on the model level. In this video I explain why I don't think it's a good idea to restrict assignment on the model level and what to do instead.
Hashing, Encryption, and Digital Signatures
Просмотров 4,9 тыс.4 года назад
Hashing, Encryption, and Digital Signatures
Authentication via sessions, tokens, and JSON web tokens - What to choose?
Просмотров 6 тыс.4 года назад
Authentication via sessions, tokens, and JSON web tokens - What to choose?
Laravel Sanctum - Hitting all the rough edges
Просмотров 12 тыс.4 года назад
Laravel Sanctum - Hitting all the rough edges
Awesome bro, i will try this, thanks for the info.
What about transactions within Laravel Octane? How using single connection affects transactions? And what about MySQL nested transactions emulation with savepoints in that case? Will it lead to any problems?
Thanks for this.
why it doesn't download the swoole when installing?
Thanks a lot
Hi, Great tutorial. I've used Tenancy with Multi Tenant & single DB. I need a functionality to ghost login my admin as a tenant user. Could you help me out with that please, if possible.
Hi, Great tutorial. I've used Tenancy with Multi Tenant & single DB. I need a functionality to ghost login my admin as a tenant user. Could you help me out with that please, if possible.
Great video! I'm running a similar logic on my projects, and did some improvements following your video. But recently I had to migrate my server from nginx to swoole so that I can use a websocket on my project, to my surprise swoole doesn't respect the tenat configuration, it only loads the first configuration set. Have you ran into this problem or something similar? I've tried to reset the configuration class on the swoole configuration, change the bootstrap to reset the configuration for every request, purge the connections before editing it, clearly i'm misunderstanding some key feature of swoole. If you could give some light, I'd be very glad! Thank you anyway
Exactly what I wanted to know, thanks.
Help me i had doubt , i login using auth: attempt but the auth user is not working in dashboard controller so it is keep on redirecting to the login page. even auth is not working in different function of login controller .
Hello Sir! Thank you so much! It's too easy to convert an existing app with this. But how can we manage it in a single domain? I don't want to add domains like you explain.
Can i store user_type like morph relationship? In session database driver
Many thanks 😊👍
I am using multiple connections, is this PDO still working in that situation? Will they have multiple objects also? My concern is that the application should not have to authenticate every time it does a query if the PDO in multiple connections application
مبتتكلمش عربي لي ؟🙄
which one is faster app->singletone or app->bind?
Amazing video 🙌🏻🙌🏻🙌🏻. Thank you so much !!! Really clear and useful. There is so much to learn from here. All the different functions and config structures. Very well explained and demoed 🙏🏻🙏🏻🙏🏻
Very clear explanation. Thank You.
Can I use swools on windows ?
مفيش عربي ياعم محمد ؟
you saved my life! thanks a lot for this tutorial
Hey @themsaid, will choosing a connection pooling package help in eliminating too many connection issue? recently I am facing this issue and not sure what to do?
Would you recommend using Client Grant Credentials OAth flow if am intending to use the BFF to serve a NextJS app and a mobile App? That's to say the BFF can use the API Key (Generated by the actual backend using Client Grant Credentials) to make calls to the backend API. Note that NextJS and Mobile apps are for public usage like e-commerce. Also the actual backend can be serving another backoffice frontend app using user based tokens.
Great video. Can we run it on localhost server? If can then how to run it?
Awesome
Amazing video! I have one question regarding the adding to a static array. If only the container instance is cached and cloned, how come code that isn’t in the scope of the framework is affected by the stateful behavior?
You have to restart the server
Do More videos Please
would be there any advantages if we have read and write connections available but pointing on the same host?
Thanks a lot
Excellent tips, Thank you Mohamed.
how to change the default seesion cookie name in laravel??
Amazing, I was so confused شكرا محمد بارك الله فيك
In php-fpm, we can configure child processes count created. What about swoole-laravel? Does 1 instance process all requests? If my end point just dispatches a job (in mysql), is this should be in the same coroutine, or should it be dispatched?
Thanks, very much! I always wanted to use swoole, but I was afraid of the statefulness of the app.
Good explanation! Good Job! We Can Learn more and more!
Dude we need more content from you! These videos are great and cover things no one else covers.
Awesome
The best video about Laravel Sanctum I've seen.
ahmag masire poshe ro toye laravel bezar dige
Hello Sir Thanks for your video i have replayed the video many times i succeed to install laravel octane but when it comes to check a route to make a redirection i'm lost
Thank you
thank you a lot for your explanations we appreciate your help
can i ask where are you from?
رهيب
Thanks Mohamed, pls help me in something.... when i use a post request in jquery.... and my session expire... my aplication dont redirect to login... i dont know how manage this case... i want when i call a post request and my session was expire... redirect to login.... but is just in post because in a get request its ok.... Sorry for my english and thanks if u can help me please!
Greate youtuber , he forgot about yt?
sactum is working on local host , but on production after successfull login it its not able to get user ,I get the user unauthenticated
this doesn't seem to work in Laravel 8.83.22, my session doesn't get saved into the tenant's ID subfolder, SessionManager seems to always use the original folder
Validation is the best i personally use mass assignment but always been validating my fields via form request or the validator. I personally use form request as my company enforces solid principles I enjoy having a separate file for validation. Handling is admin abilities in my opinion should fall under authorization and authentication
Each customer requires different customisation to the application, we can ofcourse provide shared db and compute, but , how do i have different application versions for different customers.? Eg : one customer wants normal calculator, one customer wants, scientific calculator, one more customer wants a music player while performing calculations, and one more customer wants voice based calculator