Тёмный
Tapan Sharma
Tapan Sharma
Tapan Sharma
Подписаться
Комментарии
@HuuTinLam-ue1pl
@HuuTinLam-ue1pl 2 дня назад
reply hơn 100 lần :D
@jaripelto-piri2993
@jaripelto-piri2993 7 дней назад
Why not paginate(10)->withQueryString()?
@3ms772
@3ms772 11 дней назад
your approach to extracting the string url manually is bad, it has many potential issues
@TapanSharma.
@TapanSharma. 10 дней назад
What do you think would be a good approach in your opinion? I'll make a video about it
@3ms772
@3ms772 10 дней назад
@@TapanSharma. I am surprised you didn't say "it's just an educational video there's no need take it seriously" which would've been a good answer also, but anyway. the problem with your approach is that it modifys the whole url which means that if there's any value after the page parameter it will also be prased, and if there's any other parameter before the page parameter it will also cause an error, so i came up with these solutions that will only modify the required paramter: ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// ```php function getValueAfterStringUntilNaN(text, separator) { const index = text.indexOf(separator); if (index !== -1) { let value = ""; for (let i = index + separator.length; i < text.length; i++) { if (!isNaN(text[i])) { value += text[i]; } else { break; } } return value; } else { return null; } } const pageNumberUpdated = (link) => { const currentPage = getValueAfterStringUntilNaN(link.url, "page="); router.visit(link.url.split(currentPage)[0] + currentPage); } ``` ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// however, it's very unreadable so i thought there must be better approach, and then i found out that javascript has built-in functions to deal with url's, so i came up with this which is way more readable and potentially better: //////////////////////////////////////////////////////////////////////////////////////// ```php const nextPage = (link) => { const url = new URL(link.url); const params = url.searchParams; url.searchParams.set('page', params.get('page')); router.visit(url.href); } ``` /////////////////////////////////////////////////////////////////////////////////////
@smedinav65
@smedinav65 19 дней назад
Great tutorial!
@TapanSharma.
@TapanSharma. 14 дней назад
Thank you!
@wayne_xyz
@wayne_xyz 19 дней назад
THANK YOU SO MUCH
@TapanSharma.
@TapanSharma. 14 дней назад
You're welcome!
@SachinSoni-n5h
@SachinSoni-n5h 19 дней назад
Where to get reverb api credentails ?
@TapanSharma.
@TapanSharma. 14 дней назад
they will be automatically generated when you run the install:broadcasting command
@rjtkatoch007
@rjtkatoch007 22 дня назад
I am getting this error when migrating SQLSTATE[HY000]: General error: 1005 Can't create table `student`.`students` (errno: 150 "Foreign key constraint is incorrectly formed") (Connection: mysql, SQL: alter table `students` add constraint `students_section_id_foreign` foreign key (`section_id`) references `sections` (`id`))
@TapanSharma.
@TapanSharma. 20 дней назад
on which migration file is this happening? nobody else faced this issue, so there's probably something wrong on your end
@ajmal7247
@ajmal7247 23 дня назад
i got the error from console when i am using reverb in filament POST imb.test/broadcasting/auth 403 (Forbidden) me @ echo.js?v=3.2.110.0:1 imb.test is my APP_URL
@KamrulSarwar
@KamrulSarwar 24 дня назад
Thanks.
@TapanSharma.
@TapanSharma. 24 дня назад
You can check out the Full Livewire Course here: www.udemy.com/course/learn-livewire-from-scratch/?couponCode=AB4014A6DDE300BA40EE&referralCode=D622459D8549D03B7B8D
@LahiruThennakoon-x3d
@LahiruThennakoon-x3d 25 дней назад
How you import class or any other quickly ??? I show that you are import that very quickly.
@TapanSharma.
@TapanSharma. 20 дней назад
I'm using this extension to import the classes: marketplace.visualstudio.com/items?itemName=MehediDracula.php-namespace-resolver
@AboAlaz-g9z
@AboAlaz-g9z 25 дней назад
Where can I find the cod you used?
@TapanSharma.
@TapanSharma. 20 дней назад
gist.github.com/tapan288/49ec01f7561640a22a4d82c946e923c9
@TapanSharma.
@TapanSharma. 26 дней назад
This tutorial is a part of my new Course where we'll build multiple practical projects with the Laravel, Inertia.js and Vue 3 stack, and to get an idea about the projects that we'll build along the way, you can check out the course landing page here: www.udemy.com/course/laravel-with-inertia-and-vue/?couponCode=6EEE73BE73A2B230F934&referralCode=7C65E5BADEAB1FB9BD49
@yaogedeon8955
@yaogedeon8955 29 дней назад
what's IDE are you using here ?
@TapanSharma.
@TapanSharma. 29 дней назад
Its VS Code but I've customized it based on my needs
@yaogedeon8955
@yaogedeon8955 25 дней назад
@@TapanSharma. Okay
@simonbailey4975
@simonbailey4975 Месяц назад
Can you give me more information on the side bar that appears on the left at approx 3:10?
@TapanSharma.
@TapanSharma. Месяц назад
3:10? I think you're talking about the browser's sidebar, its a browser called "Arc"
@Soulis98
@Soulis98 Месяц назад
Is Inertia bad If I care about SEO?
@TapanSharma.
@TapanSharma. Месяц назад
not really, my blog is based in Inertia and Svelte, and I never faced issues regarding SEO, you just need to run a job on your server and that will enable SSR, you can check the documentation to learn more about it
@Soulis98
@Soulis98 29 дней назад
@@TapanSharma. Ty man. I'll finish to watch this tutorial first But I'm already almoost sold to buy your courses on Udemy.
@dannyjosuepenahernamdez8808
@dannyjosuepenahernamdez8808 Месяц назад
good!!
@PankajPandey-m1e
@PankajPandey-m1e Месяц назад
This is by far the best video on vue inertia laravel on the planet earth. thanks sir
@PankajPandey-m1e
@PankajPandey-m1e Месяц назад
This is by far the best vue inertia laravel video on the planet earth. i got so much insights from this video. Thanks Sir.
@daniels7250
@daniels7250 Месяц назад
Looks amazing!
@TapanSharma.
@TapanSharma. Месяц назад
Link to the Course: www.udemy.com/course/realtime-chat-app-with-laravel-vue-and-pinia/?couponCode=9B7205A2E70A046B2F99&referralCode=4E6113425279B837A950
@DodzkieVlog
@DodzkieVlog Месяц назад
where is the template code of you just copied?
@TapanSharma.
@TapanSharma. Месяц назад
You can grab them from here: gist.github.com/tapan288/49ec01f7561640a22a4d82c946e923c9
@ubica6
@ubica6 Месяц назад
how get neon effect ?
@HakanErdal-w3p
@HakanErdal-w3p Месяц назад
Thank you very much 👏👏👏
@kirayagami9229
@kirayagami9229 Месяц назад
Kudos sir.. Looking forward to your next video tutorial.
@burnt3436
@burnt3436 Месяц назад
whats the name of the program that you used to draw the ERD?
@TapanSharma.
@TapanSharma. Месяц назад
dbdiagram.io
@chanu1993
@chanu1993 Месяц назад
I would suggest be more organised & clear in showing the code & content.
@vivekmehta5608
@vivekmehta5608 Месяц назад
Can you also add dynamic sorting, checkbox and export functionality to this table please?
@mounirammi
@mounirammi Месяц назад
Thank you for the video it's been very helpful. But got a question : how to deal with temporary files. my app users deals with importing a lot, so I figure out why not using a temp folder, and actually livewire and Laravel has one implemented with filament 3 ->storeFiles(false) makes the file in a temp-livewire folder inside the storage folder, but when dd the $file it doesn't show the file path, instead it's showing the temp object instead and casting this error : "C:\xampp\htdocs\Project-test\public\storage/C:\Users\mounir\AppData\Local\Temp\phpDD52.tmp" // app\Filament\Resources\OperationResource.php:490
@mohmdhamad6298
@mohmdhamad6298 Месяц назад
Great tutorial, Please can you tell me how to style my vscode cursor like yours ?
@compton8301
@compton8301 Месяц назад
Thanks. How will the performance be affected if we had a million students?
@TapanSharma.
@TapanSharma. Месяц назад
That depends on how you'll display the data, if you paginate the data, it wont matter how many records we have in the database, but its important to eager load the data while querying it from the database.
@claytonmmbehi
@claytonmmbehi Месяц назад
wow! Thank you very much. Have enjoyed every bit of the tutorial.
@claytonmmbehi
@claytonmmbehi Месяц назад
wow! Thank you very much. Have enjoyed every bit of the tutorial.
@pujanbhuva6747
@pujanbhuva6747 Месяц назад
Can we add also scanning the QR code feature in filamentphp?
@thelostvorg7805
@thelostvorg7805 Месяц назад
thanks a lot ! this was exactly what I needed.
@RahulMondal-td5rb
@RahulMondal-td5rb 2 месяца назад
Tapan sir can you please make a video about your vs code (theme, font, cursor background animation color, extention, etc)
@nehaverma9590
@nehaverma9590 2 месяца назад
Great 👍👍
@TapanSharma.
@TapanSharma. 2 месяца назад
Link to the Course: www.udemy.com/course/referral-system-with-laravel/?referralCode=9CEEA8CB572C697991BC
@junzeldelatorre9168
@junzeldelatorre9168 2 месяца назад
I followed your instruction sir. But im getting this error all the time SQLSTATE[HY000]: General error: 1364 Field 'name' doesn't have a default value. Both my equipment table and excel doesnt have a name column it may be because im trying to find the id of the FK using it's name on same query as what u did sir. can you help me
@majidshafik5088
@majidshafik5088 2 месяца назад
thank you
@OlivesDigital
@OlivesDigital 2 месяца назад
Please where’s the full course.
@TapanSharma.
@TapanSharma. 2 месяца назад
Its a paid course hosted on the Udemy Platform, if you're interested, you can check it out from this Link: www.udemy.com/course/referral-system-with-laravel/?referralCode=9CEEA8CB572C697991BC
@inishantthakur
@inishantthakur 2 месяца назад
How can we export data having images?
@ShagunStellen
@ShagunStellen 2 месяца назад
Hi Instead of bulk action could we use this export action in headerActions() In filament when I try to do this with headerActions() i do not getting any record
@hamzandev9482
@hamzandev9482 2 месяца назад
Hi bro, what extension that you install for that glowing cursor effect?
@daniels7250
@daniels7250 2 месяца назад
Pls make a project with laravel reverb. Thanks for the value!
@septianardiwijaya3927
@septianardiwijaya3927 2 месяца назад
hai bro i added render hook and this to to my view blade but is not fired up anything window.addEventListener('DOMContentLoaded', function () { window.Echo.private('App.Models.User.2') .listen('database-notifications.sent', (event) => { console.log('yojojojosss'); const messageSound = new Audio('{{ asset('sounds.mp3') }}'); messageSound.play(); }); }); i just want to play notif sound while databasenotif event fired thx bro
@mnmrealm
@mnmrealm 2 месяца назад
Not working for me