Can I use PHP for desktop applications?

Can I use PHP for desktop applications?

Introduction. PHP Desktop is an open source project founded by Czarek Tomczak in 2012 to provide a way for developing native desktop GUI applications using web technologies such as PHP, HTML5, JavaScript and SQLite.

What are desktop applications written in?

C#(. net) or C++ is the main programming languages to develope desktop applications. C++ is normally used in personal applications, and most business applications were developed in C++. But C# were commonly used in enterprise applications, it is more suitable for rapid customization development.

What is the difference between Web and desktop application?

Desktop apps are computer programs and don’t need an internet connection in order to be used. A web application, on the other hand, doesn’t require any installation and runs on your web browser. Contrarily to the desktop app, a web application needs an internet connection if you want to use it.

Can a desktop application use PHP by design?

PHP by design was never intended for running long hours/days, as desktop applications usually do. This is not a concern when using PHP Desktop, as it is running an internal web server and serving pages through CGI. So when PHP script execution ends, PHP-CGI process is killed and all memory is always freed.

How does phpdesktop work as an EXE compiler?

In a certain sense phpdesktop acts as a PHP to EXE compiler. It embeds a web browser, a multi-threaded web server and a PHP interpreter. All embedded into a single application, a portable folder that you can easily distribute to end users by packing it to zip archive or by making an installer for your application .

How to turn a website into a desktop application?

The process of turning an existing website into a desktop application is basically a matter of copying it to the “phpdesktop/www/” directory. In a certain sense phpdesktop acts as a PHP to EXE compiler.

Who is the creator of the PHP Desktop Project?

Refactor master branch and update README. PHP Desktop is an open source project founded by Czarek Tomczak in 2012 to provide a way for developing native desktop GUI applications using web technologies such as PHP, HTML5, JavaScript and SQLite. Think of it as Electron for PHP.