News for hackers. Stuff that matters.
Re:NativePHP: A framework for building desktop apps using PHP by Phrodo_00 on Friday July 21, 2023 @09:43PM (#36822339)
PHP itself is more native than that in the sense that you can basically run PHP scripts on top of your OS, just like Python or Ruby
Re:NativePHP: A framework for building desktop apps using PHP by toomanydoubts on Friday July 21, 2023 @10:10PM (#36822483)
How is that not true for JS given node?
Re:NativePHP: A framework for building desktop apps using PHP by least on Friday July 21, 2023 @10:24PM (#36822558)
It's technically true, but JS/HTML is different from Node. JS/HTML is interfacing through the browser's DOM, while Node interfaces with the operating system itself.
Re:NativePHP: A framework for building desktop apps using PHP by Phrodo_00 on Tuesday July 25, 2023 @02:13PM (#36866859)
But you specified JS/HTML, that's through the browser, and it doesn't have APIs for interacting with the OS as a normal language runtime does. JS on Node is about the same as PHP in this regard.