Re: [PHP-GTK] PHP-GTK Standalone Kit

[email protected] (Elizabeth Smith)
Newsgroups php.gtk.general
Message-ID <[email protected]>
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)

>> 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).

Just to reiterate, a standard Gtk library install is over 13 MB on 
windows - that's without extensions, and without PHP or php extensions...

>> For more information, see
>>
>> http://www.dreadsoft.org/php-gtk/readme.html
>>
>> please let me know if you notice some problems.
>>
>> Marco
>>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.