Re: PHP-GTK Standalone Kit
| From: | Elizabeth Smith | Date: | Thu, 02 Aug 2007 00:47:19 +0000 |
| Subject: | Re: PHP-GTK Standalone Kit | ||
| References: | 1 2 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-8015@lists.php.net to get a copy of this message | ||
bob majdak jr wrote:
So every single program is going to install its own PHP, and GTK? 11MB for every PHP-GTK application, when the code itself weights probably 3KB. Granted there are advantages to self contained systems (like updates not breaking a program) but there are just as many disadvantages (like updating every single program one by one, and 11MB download per 'script'). I know hard drives are measured in gigabytes and sometimes terrabytes... but meh. Australians will cry about their use of bandwidth, and dialup users will cry about spending an hour, all for a simple app.I have to second this "I have a bad feeling about this" - first of all how many windows installers for php-gtk2 do we need? Secondly - it's bad enough that php-gtk2 has to use it's own version of the gtk libraries to avoid conflicts with versioning (theoretically you really should only have one gtk install, like Pidgin puts one in %program filse%\common\gtk - but this breaks things on so many levels on windows) - but to have five or six different php-gtk installs is just overkill Remember a full php-gtk install is NOT SMALL. If you're that nuts over distributing a single binary, maybe you need to rewrite your php-gtk app in C and compile it. It would be far better to do an installer the way Pidgin or other software does, where needed requirements are detected, and then optionally downloaded and installed, all from your application install. (This is how Pidgin handles Aspell and Gtk - very cool trick)
Just to reiterate, a standard Gtk library install is over 13 MB on windows - that's without extensions, and without PHP or php extensions...I've just realized a small "environment" to create standalone self-installing php apps. You'll be able to create an installer for your application, and, once installed, your app won't need any extra file/programs (e.g. gnope).
For more information, see http://www.dreadsoft.org/php-gtk/readme.html please let me know if you notice some problems. Marco