13 ноября 2018

How to write Windows desktop application in 1 minute ?

For this task today we can use thousands of programms.


  • NetBeans
  • Visual Studio
  • Delphi

and etc

but all of these hard to understand  and make your first programm.
If you know PHP you can use one beautiful software and fast create applications for Windows.

Why PHP must be best language to create Windows application ?


  1. Beacause PHP very simple languages
  2. PHP has no variable types
  3. PHP has embedded much more fuctions, that in other langs need to including


file_get_contents(); - most wonderful function, that can read files and URLs. No one lang can do it.
file_put_contents(); - Crash! bang! function.. can write to files and send requests to WEB штсдгву POST methods.

PHP have regex. Not so cool like in Perl, but cool too!

Lets see how to make simple application with DevelStudio

open DevelStudio

put button to form
there are FlatButton because flatButton can change background color:


Enter to code editor and write simple line:

code is PHP 5 and any PHP functions allowable

code is

echo "hello world";


DevelStudio allow use other function for popup box ..
you can use
alert("hello world");
pre("hello world");

and can connect OLE object anduse MsgBox, MessageBox..

pre() - is not simple as you think. It show information as var_dump or print_r in the box:


Is it cool ?







Видеочат рулетка