Skip to content
DevMeme
6211 of 7590
Languages Post #6809 · source on Telegram

PHP's Unlikely Pivot to Native App Development

Description

A screenshot of an article from the publication 'Indie Hackers'. The headline reads, 'How a PHP developer turned "impossible" into $100K in 3 months 🚀'. Below the title is a stylized portrait of a man with glasses, Simon Hamp, against a pink and orange gradient background. The article text explains that Simon Hamp created NativePHP, a framework that allows developers to build native desktop and mobile applications using PHP. It notes that he has earned $100,000 in the three months since launching the mobile version. The technical humor stems from the long-standing reputation of PHP as a language strictly for web backends, often criticized for its design. The idea of using it for native UI applications is so contrary to industry norms that it's considered 'impossible,' making this success story both surprising and ironically amusing to experienced developers who have witnessed decades of language wars

Comments

52
Anonymous ★ Top Pick A developer making $100k with a PHP framework for native apps is the tech equivalent of finding out your grandpa's old ham radio can now stream 4K video. You're not sure how, you're deeply suspicious, but you can't argue with the results
  1. Anonymous ★ Top Pick

    A developer making $100k with a PHP framework for native apps is the tech equivalent of finding out your grandpa's old ham radio can now stream 4K video. You're not sure how, you're deeply suspicious, but you can't argue with the results

  2. Anonymous

    Some of us spent a decade arguing whether PHP even counts as a language - turns out it’s a cross-platform revenue framework if you add a Stripe key and a Product Hunt launch

  3. Anonymous

    Turns out the real 'impossible' was convincing developers that PHP could do something other than generate HTML with mysql_real_escape_string() - though I'm sure the $100k helped silence the 'PHP is dead' crowd faster than any benchmark ever could

  4. Anonymous

    Finally, a PHP developer who found a way to make desktop apps crash in a language traditionally reserved for crashing web servers. But seriously, building native apps with PHP is like convincing your CTO that MongoDB is a good fit for financial transactions - theoretically possible, surprisingly successful, and it makes everyone question their assumptions about technology constraints. The real achievement here isn't the $100k; it's getting developers to willingly choose PHP for something other than WordPress plugins

  5. Anonymous

    NativePHP: Finally letting PHP escape the LAMP stack to segfault natively on your phone

  6. Anonymous

    The real trick isn’t PHP on mobile - it’s monetizing the world’s largest “we’re not rewriting this” budget

  7. Anonymous

    Turns out the fastest cross‑platform runtime is revenue: while architects debate a Go rewrite, NativePHP bundles a runtime, ships, and hits $100k before procurement schedules kickoff

  8. @Similacrest 1y

    he deserves 100k if he promises to never touch keyboard again /lh

  9. @selfavor 1y

    how a PHP developer turned "impossible" into useless

  10. Sure Not 1y

    I once compiled a TypeScript code base with V8 engine into native DLL/SO library.

  11. @PurpleTigrr 1y

    Another case of really shit idea

  12. @deadgnom32 1y

    top

  13. @SheepGod 1y

    oy no need to say that over a library you dont like

  14. @patsany_horosh_mne_v_dm_pisat 1y

    kiss?

  15. @patsany_horosh_mne_v_dm_pisat 1y

    got it thx

    1. @patsany_horosh_mne_v_dm_pisat 1y

      wait a second....

  16. @razordude 1y

    https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTQpx0dmaStfDM1sH9toH0g0hheTQ_pru9q2AlhOZ0_BRBLl5ND8u_uaTNglTH_s1muXNhm

  17. @patsany_horosh_mne_v_dm_pisat 1y

    that's actually pretty sick ngl. Just imagine how useful PHP can get

  18. @Agent1378 1y

    Php is ok, there are more then enough shitty compiled languages, what's wrong with getting PHP too. What's more interesting is the question is it just PHP VM bundled with source code or byte code in one executable or is it really natively compiled in tru native binary to run on "bare metal"

  19. @Johnny_bit 1y

    People saying it's bad... My brothers, there's already tons of "native" apps that are just chrome running sanboxed js...

    1. @PurpleTigrr 1y

      Electron desktop apps are also shit lol

      1. @Johnny_bit 1y

        That's my point :)

  20. @spacenuke 1y

    I made the equivalent of Chef out of PHP before Chef existed and managed thousands of Windows workstations with it. It was… okay.

  21. @qwnick 1y

    mobile app for what?

  22. @drznpy 1y

    Desktop apps? PhpGTK greets you from the far 2005

  23. Mario 1y

    i would accept to make javascript the only programming language in the world if it meant deleting php from history. that's how much I hate it

    1. @deadgnom32 1y

      but why? PHP is a good language.

    2. @deadgnom32 1y

      way better than Java

      1. Mario 1y

        not even close

        1. @deadgnom32 1y

          to being the worst and most useless language? sure

          1. Mario 1y

            for being the most used language in the world in the last 30 years

        2. @deadgnom32 1y

          things I can do in PHP with 1 line of code, in Java will require a software architect and a CS degree.

          1. Mario 1y

            skill issue

            1. @deadgnom32 1y

              no I just don't like bdsm. i worked with Java for 6 years

              1. Mario 1y

                use python then

                1. @deadgnom32 1y

                  I use python.

                  1. Deleted Account 1y

                    i use c,cpp the python owner

                    1. @deadgnom32 1y

                      yes, use C / C++ / Rust instead of Java if you need performance. but actually many libraries on python are so well optimized, that it will take a lot of time to get to that speed using raw C++ directly. I looked into some fuzzy search lib on python, and wanted to actually just steal 1 function from it, to avoid dependency. well. it was in C++ where they detected specific SIMD processor features on initialization and injected ASM code to get the maximum perf. ended up keeping this as a dep.

                      1. Deleted Account 1y

                        good talks, noted ✍️

              2. @deadgnom32 1y

                never ever going back to it. I will better cook burgers and sell beer. or clean the streets

              3. @itsTyrion 1y

                Ah, so trauma from shitty enterprise spaghetti Java

                1. @deadgnom32 1y

                  5M lines, half year work of team of 200 engineers to change 1 column name in database

          2. @itsTyrion 1y

            Practical examples?

            1. @deadgnom32 1y

              copy($url, $filename)

              1. @itsTyrion 1y

                Could tell you from the top of my head. This is simpler in PHP because it's made for web tho, no?

                1. @deadgnom32 1y

                  it's just download a file. it's a common backend task

                2. @deadgnom32 1y

                  in Java you need to open a stream, read it step by step, assemble it together, open file stream, close the streams. and so on. but it's such a common task — that I don't understand, why isn't there just a function for that

                  1. @TheFloofyFloof 1y

                    Apache Commons IO

                    1. @deadgnom32 1y

                      the code in PHP will literally be 1 line only with perfect abstraction function — 2 params nothing else

                      1. @TheFloofyFloof 1y

                        Yeah but then you have to use PHP

                        1. @deadgnom32 1y

                          yes. and write 1 line of code

  24. Mario 1y

    although it sucks for big projects

Use J and K for navigation