Open Transaction Receipt Files - Build Expense Tracker App With PHP 8
HTML-код
- Опубликовано: 12 июн 2024
- In this video we implement the ability to open the receipt files & fix a couple of bugs. There is also an interesting & fun exercise for you to work on at the end of this video.
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: / 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/298...
LESSON P.21
Starting Source Code - github.com/ggelashvili/expenn...
Ending Source Code - github.com/ggelashvili/expenn...
Course Outline - github.com/ggelashvili/learnp...
Course Playlist - • Learn PHP The Right Wa...
TABLE OF CONTENTS
00:00 - Intro
00:11 - Fixing a Bug
02:30 - UI Changes Overview
04:18 - Read File
12:21 - Exercise
** Affiliate Disclaimer: Some of the above links may be affiliate links, which may generate me a sales commission at no additional cost to you.
Superb video bro
Thank you
Thanks Gio. I may have questions when I go through the lesson.
Sure thing
Love your work, thanks for the content.
I am curious.. here you are displaying the files via a seperate request.
But what if they were image files that you wanted to render in your current view (using ) How would you achieve this? You cant simply add the image path to src, since its outside webroot
There are multiple ways you can deal with images. One is put images in public directory, other is have bundler like Webpack move images to public directory during build. The best way is to use remote file storage & use cdn for images, that way you don't load them from your directories but load them from the cdn wherever it's hosted
Ah-hha, you found it. :)
heh 🙌
We're waiting for some Advanced lecture for PHP and course on laravel
and thanks for courses that you do in the channel
Section 3 and this project is already advanced PHP, not sure what else do you mean by advanced PHP. Laravel course is next 🙂
Gio, I have a problem. Suddenly EntityManager is not being recognized.
The editor doesn't recognize it as an existing class, even though I have 'use Doctrine\ORM\EntityManager' imported.
It says "Undefined type 'Doctrine\ORM\EntityManager'.intelephense(1009)" anywhere it's used.
As far as I can tell, the app is working as normal, though. Everything is loading fine. I can sign up new users, login, logout, create/update/delete categories and transactions, and upload receipts to the transactions. Yet the editor keeps giving me that error as if Entity Manager didn't exist.
Any idea of what it might be? Google/stackoverflow gives me unrelated stuff.
Are you using phpstorm? Clear cache and restart, and let it reindex
@@ProgramWithGio I'm on VSC, but I cleared the cache and now it's back to normal. Much love, bro.
@@DetoCerqueira awesome 👍
pro which editor you use
It's PhpStorm. Maybe with a customized theme.
It's PhpStorm, using the "Simple UI" within the PhpStorm settings