Re: Moving from php4/pear to pear

From: Date: Tue, 31 Jul 2001 00:07:29 +0000
Subject: Re: Moving from php4/pear to pear
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-1174@lists.php.net to get a copy of this message
Martin Jansen wrote: > > On Mon, 30 Jul 2001 16:59:35 +0200, Tomas V.V.Cox wrote: > > >I've also wrote a Gtk Pear Installer with the php-gtk extension (great > >extension Andrei) and glade. If some one want's to rewrite the code I'll > >send it to him (sorry was my first attemp to develop a desktop app and > >don't know if was well made, but works with only 30 lines of code :) > > Why don't you post it to the list? (I would be very interested to see > it.) > I've uploaded it in: http://vulcanonet.com/soft/experiments/cox_php_glade.tgz As I said its not more than a test. Perhaps it's interesting to comment that without any knowledge about what hell was signals, containers, connectors, etc, one can in 2 hours surfing throw internet, build something that works. It's a pitty not to have some more (at least one :-) examples about php-gtk and libglade, because it's very very easy to build "complex" interfaces in minutes and put your main effors in the code. FYI Glade is a graphical tool within you can construct the appereance of your aplication (you know buttons, texts, etc). The cool stuff is that Glade generates an xml file with the definition of the created interface. All the programs with libglade support (for ex: php-gtk) could read this xml file, build the interface and auto connect all the signals, so you only need to code the functions to handle those signals (this is one of the reason why my app only have 30 lines and not 150). Sure others could explain this much better than me :) Tomas V.V.Cox

« previous php.pear.dev (#1174) next »