Skip to content

Embedding other scripting languages

cztomczak edited this page Feb 6, 2016 · 3 revisions

Table of Contents generated with DocToc

Preface

It is possible to embed other scripting languages like Perl, Python or Ruby (any CGI capable) using PHP Desktop infrastructure. You can develop native desktop applications in these languages the same way you do it with PHP.

These examples do not necessarily come with the latest version of PHP Desktop. But you can upgrade it to the latest version by downloading the latest PHP Desktop binaries and by overwriting the executable file. For example rename "phpdesktop-chrome.exe" to "ruby-desktop-chrome.exe" and overwrite the old one. You also need to overwrite all the other binary files (*.dll *.pak and possibly others).

Binaries for Perl, Python & Ruby are minimal, so that the example zip file is small. If you would like to run complex scripts with various module dependencies, then you should update the "perl/" directory (or "python/", or "ruby/") with the full binaries.

Perl Desktop

With Internet Explorer engine: perl-desktop-msie-1.12.zip (1.2 MB). With Chrome embedded: perl-desktop-chrome-31.4.zip (27 MB)

Python Desktop

With Internet Explorer engine: python-desktop-msie-1.12.zip (1.3 MB) With Chrome embedded: python-desktop-chrome-31.4.zip (27 MB)

Ruby Desktop

With Internet Explorer engine: ruby-desktop-msie-1.12.zip (5.2 MB) With Chrome embedded: ruby-desktop-chrome-31.4.zip (31 MB)

Alternative download site

https://www.dropbox.com/sh/3ihzy40v62em613/AABntIwi4d2E636MGRtBlO18a?dl=0