Semi-Compiled PHP-GTK?
| From: | Doug Burkhalter | Date: | Sat, 19 Mar 2005 22:44:54 +0000 |
| Subject: | Semi-Compiled PHP-GTK? | ||
| Groups: | php.gtk.general | ||
| Request: | Send a blank email to php-gtk-general+get-5676@lists.php.net to get a copy of this message | ||
I was wondering what sort of an interest there would be in a
semi-compiled PHP-GTK Windows-based program launcher.
Basically, it would almost be like a SFX Zip or 7z archive; you would
pack all the files you needed into this one application (the PHP-GTK
binaries would be included by default, of course). Whenever the user
ran it, they can either choose to run it once or install it into the
computer. Run once would copy all the files to a temp directory and
run them, possibly removing them when it was done. Install would run
like a standard install routine, putting the files in Program files
and shortcuts on the startmenu, desktop, &/| quicktask bar.
The main executable could monitor the whole process, and any files
that were created by the program could be saved back into the
executable or as separate files in the initial run directory. That
way, settings could be saved between installs.
The goal is to create easily-distributed programs in PHP-GTK. The user
could run a PHP-GTK based program without worrying about all the
command lines and files and all that advanced stuff, and the developer
could enjoy using his or her favorite language.
If I made it, I would probably build it in Visual Basic 6. There isn't
a compatibility issue, at least until Longhorn comes out, like there
would be with VB.NET. And I don't know enough of C++ right now to do
most of this.
So, a few questions:
1. Do you think this would be useful?
2. For the one-time run, should the files be removed after they're
done running? Or should we leave it up to the user's computer to clear
out the temp files?
3. Do you have any other suggestions for this program?
Just wanting some input from the community. It's nice to see what
people need before you try to build it.
Doug Burkhalter