Marcel Pociot "Native PHP" - Laracon US 2023 Nashville
Вставка
- Опубліковано 2 жов 2024
- In this groundbreaking session, "Unveiling NativePHP," Marcel Pociot introduces developers to Native PHP, a way to build native PHP desktop apps.
Pociot demonstrates how "NativePHP" streamlines development processes, allowing developers to build desktop applications using minimal abstractions and in the PHP language they know. Through practical examples and thought-provoking insights, this talk empowers developers to embrace simplicity, and leverage the true power of PHP in creating efficient and maintainable desktop applications.
Recorded Live at Marathon Music Works on July 19th, 2023.
A new era begins
I just wonder, could you use remote database both for the website and app, it would be bad to re-create whole db without sync. Maybe I missed that part?
@@DeTechDivusYou should rather use an API if you want to communicate with a remote database to avoid leaking your database credentials
@@marcelpociot1918 on a different or same app? Thats confusing me
@@DeTechDivusSo the desktop application should be a "companion app" to your backend app, where you'll have an API running. Then your desktop application can communicate with that backend.
In thise case you would need two different codebases. One for the server-side app running the API, one for the desktop application.
@marcelpociot1918 yea, i thought somehow you could use one codebase for both, where you could exclude some senstitive things
I am amazed how many MVPs there are in the Laravel community! It is insane - Taylor, Nuno, all of the Laravel core team members, Marcel, the guys from Spatie, Caleb, Aaron, David Hemp, .. and many more. Literally mind blowing 🎉
The guy from Spatie lol
The guy from a Spatie. Ex of when your work is more famous than you.
@@surajjadhav7732 i wanted to say the guys from Spatie, because they all deserve a shoutout, Freek of course is one of them
@@CarMoves Na he said MVP.
Mobile support please 🎉
If this feature is added for mobile, it will be great. Laravel to android or ios app.
shut up
That is promising for the php future. Well done! Cant wait for the Windows support!
Ok ok so lets also add mobile support so I dont have to learn mobile dev
Waiting for Windows support to rewrite one of my opensource project(PHPConsole).
Welldone Nativephp team.
Electron has had 3 major revisions while this video was uploading 😂
a working proof of concept?! omfg this is absolutely incredible!! fantastic job guys, you guys are the real hackers of the next gen!!
Mobile too?!
Mindblowing community
Artisan serve is single threaded. Won't any long activity block the whole app?
just like in php app, you need to use jobs
amazing! waiting for android and ios
Nice! cool! i am excited to use this soon!
Amazing! I wonder when do these Laravel communities sleep.
If it has database support, how do you secure your env file?
The project seems good to connect via api rather than telling devs to use its env file, that's a misconception and towards insecure implementation.
he said it uses sqlite so its just for the local env
@ you mean it intercept the laravel configuration if it finds out that you are connecting from outside services, such as db/queue/cache and etc?
Enlighten me.
@@dc22199x This is just what I understood from the video, I don't know more. But if I understood right then whole desktop app should be closed environment, so anything you need should stays inside app. And since you are creating a local (desktop) app, you can still use the things you find/create in your computer so I think there is no need to secure .env file because you can still find that database file (as it's sqlite) in your computer. But again, maybe I'm wrong and I'm just talk through my hat
@@dc22199x The database is meant to be local only. You're not supposed to connect directly to an external database as that would require you to ship the database credentials and open it to connections from the internet.
speaking of obfuscating: is Blowfish still in the market? :)
Wow this is so cool, well done
Yooo
This looks promising. Thanks Marcel.
This is great 👍
Only mac make me sad
I'm working on the Windows PR that was submitted right now 👍
@@marcelpociot1918 even thos you said apple store wont allow you thing for mobiles, would that work on android and would you anyway publish it since it could be installable outside of stores?
@@marcelpociot1918 Wow, that is why I love Laravel. Thank you for this awesome product
Simplicity, love it
I like the font, can anyone please tell me the font name @marcel
me too
Sligoil font
amazzinggggg
I was hyped... Until he show it runs with electron, hopefully we can find a demo with Tauri, cause electron is crap...
why?
@@TallStack-su8sq overbloated to start with….
@@nm6x oh yes, I just read what tauri uses webkit and electron chromium.. :D