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.

КОМЕНТАРІ • 51

  • @aarondfrancis
    @aarondfrancis Рік тому +40

    A new era begins

    • @DeTechDivus
      @DeTechDivus Рік тому

      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?

    • @marcelpociot1918
      @marcelpociot1918 Рік тому +1

      @@DeTechDivusYou should rather use an API if you want to communicate with a remote database to avoid leaking your database credentials

    • @DeTechDivus
      @DeTechDivus Рік тому

      @@marcelpociot1918 on a different or same app? Thats confusing me

    • @marcelpociot1918
      @marcelpociot1918 Рік тому +1

      @@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.

    • @DeTechDivus
      @DeTechDivus Рік тому

      @marcelpociot1918 yea, i thought somehow you could use one codebase for both, where you could exclude some senstitive things

  • @sixkiller9240
    @sixkiller9240 Рік тому +24

    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 🎉

    • @onlynudes1398
      @onlynudes1398 Рік тому +1

      The guy from Spatie lol

    • @surajjadhav7732
      @surajjadhav7732 Рік тому

      The guy from a Spatie. Ex of when your work is more famous than you.

    • @sixkiller9240
      @sixkiller9240 Рік тому

      @@surajjadhav7732 i wanted to say the guys from Spatie, because they all deserve a shoutout, Freek of course is one of them

    • @kaibe5241
      @kaibe5241 Рік тому

      @@CarMoves Na he said MVP.

  • @prezire
    @prezire Рік тому +2

    Mobile support please 🎉

  • @alifarahmand8650
    @alifarahmand8650 Рік тому +15

    If this feature is added for mobile, it will be great. Laravel to android or ios app.

  • @Appelkoekie
    @Appelkoekie Рік тому +5

    That is promising for the php future. Well done! Cant wait for the Windows support!

  • @MrThito
    @MrThito Рік тому +6

    Ok ok so lets also add mobile support so I dont have to learn mobile dev

  • @JosiahYahaya
    @JosiahYahaya Рік тому +5

    Waiting for Windows support to rewrite one of my opensource project(PHPConsole).
    Welldone Nativephp team.

  • @LostInAutism
    @LostInAutism Рік тому +3

    Electron has had 3 major revisions while this video was uploading 😂

  • @nerdysister
    @nerdysister Рік тому +4

    a working proof of concept?! omfg this is absolutely incredible!! fantastic job guys, you guys are the real hackers of the next gen!!

  • @kaibe5241
    @kaibe5241 Рік тому +3

    Mobile too?!

  • @Cashandrick
    @Cashandrick Рік тому +2

    Mindblowing community

  • @dyhcdjvddhh421
    @dyhcdjvddhh421 Рік тому +1

    Artisan serve is single threaded. Won't any long activity block the whole app?

    •  Рік тому

      just like in php app, you need to use jobs

  • @TallStack-su8sq
    @TallStack-su8sq 3 місяці тому

    amazing! waiting for android and ios

  • @mackynyxz
    @mackynyxz Рік тому +1

    Nice! cool! i am excited to use this soon!

  • @Somcoders
    @Somcoders Рік тому

    Amazing! I wonder when do these Laravel communities sleep.

  • @dc22199x
    @dc22199x Рік тому +1

    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

    • @dc22199x
      @dc22199x Рік тому

      @ 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

    • @danrcastro
      @danrcastro Рік тому

      @@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.

  • @mityukov
    @mityukov Рік тому

    speaking of obfuscating: is Blowfish still in the market? :)

  • @DanielWichers
    @DanielWichers Рік тому +1

    Wow this is so cool, well done

  • @ripon59
    @ripon59 Рік тому +1

    Yooo

  • @bulent2435
    @bulent2435 Рік тому

    This looks promising. Thanks Marcel.

  • @snnajieze
    @snnajieze Рік тому

    This is great 👍

  • @MrThito
    @MrThito Рік тому +1

    Only mac make me sad

    • @marcelpociot1918
      @marcelpociot1918 Рік тому +9

      I'm working on the Windows PR that was submitted right now 👍

    • @DeTechDivus
      @DeTechDivus Рік тому

      @@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?

    • @MrThito
      @MrThito Рік тому +1

      @@marcelpociot1918 Wow, that is why I love Laravel. Thank you for this awesome product

  • @rogue.ganker
    @rogue.ganker Рік тому

    Simplicity, love it

  • @RahulMondal-td5rb
    @RahulMondal-td5rb Рік тому +2

    I like the font, can anyone please tell me the font name @marcel

  • @jokokentir666
    @jokokentir666 Рік тому

    amazzinggggg

  • @nm6x
    @nm6x Рік тому

    I was hyped... Until he show it runs with electron, hopefully we can find a demo with Tauri, cause electron is crap...

    • @TallStack-su8sq
      @TallStack-su8sq 3 місяці тому

      why?

    • @nm6x
      @nm6x 3 місяці тому

      @@TallStack-su8sq overbloated to start with….

    • @TallStack-su8sq
      @TallStack-su8sq 3 місяці тому

      @@nm6x oh yes, I just read what tauri uses webkit and electron chromium.. :D