Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I create an windows exe application using PHP program and using Database also? [duplicate]

Tags:

php

I am a college level student. From my school life I was very interested to website creating, and thats why I came to learn PHP language, now I'm able to create a PHP app in website, but I want to create an offline windows app using this language and Database.

But as I am student of college, CSE or Computer Engineering is not my textual study, thats why I cant learn Java or C/C++ anything other else.

So you profassional programmers, can you help me out?

like image 554
DG_ Avatar asked Mar 23 '14 18:03

DG_


2 Answers

Yes, you can.

Here some ways for this:

  • Command Line PHP — is for developing shell applications with PHP;
  • PHP Desktop — is open source project for developing native desktop GUI applications using web technologies (PHP, HTML5, JavaScript & SQLite);
  • WinBinder — is a open source extension that allows PHP programmers to easily build native Windows applications;
  • Phalanger — is implementation of PHP, rewritten in C#. You can get access to C# libs;
  • ExeOutput — this makes it possible to create applications in native format for Windows with PHP, JavaScript and HTML;
  • PHP GTK — is an extension for the PHP programming language that implements language bindings for GTK+. But it is not supported from 2010;

Of course, maybe there are other ways, but I recommend you for creating Windows apps use something like C++, Python, Java, C#, etc. It's save your time and nerve.

like image 57
Roman Sevastyanov Avatar answered Oct 19 '22 23:10

Roman Sevastyanov


I would recommend you to learn c# or Java rather than using some PHP to Win projects. But answer is yes, You can look at this very good stackoverflow post which will probably answer your question or at least will give you a good starting point.

like image 34
Jaroslav Kubacek Avatar answered Oct 20 '22 00:10

Jaroslav Kubacek