RE: [PHP-GTK] Letter to Community
| From: | Steph | Date: | Wed, 28 Jul 2004 15:57:20 +0000 |
| Subject: | RE: [PHP-GTK] Letter to Community | ||
| References: | 1 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-4870@lists.php.net to get a copy of this message | ||
> On Wed, 28 Jul 2004, Ciprian Popovici wrote:
> > The question is: would PHP-GTK like to cater mainly to GTK
> programmers coming
> > from any other programming language, or to PHP (aka Web)
> programmers who want
> > to use GTK? Is PHP-GTK more about GTK (being bound to yet
> another language)
> > or about PHP (using a new interface after the Web and CLI)?
> >
> > For the first part I'd say let's stick to the API. For the
> second I'd say
> > let's have our own interface implemented the way it makes most
> sense -- the
> > way it would be if people could afford to rewrite GTK from
> scratch and not
> > care about backwards compatibility -sort of way.
>
> That is exactly the dilemma I'm facing. One approach could be to
> implement a faithful representation of Gtk+ API and then layer our own
> API on top of it, via PEAR classes or otherwise. This could improve
> convenience, at the cost of some performance impact.
I'm not sure I'm following you. Are you suggesting that we have PHP-GTK 2
(pure GTK+ API) + a bunch of optional PEAR(-style) wrappers to make certain
complex widgets easier to deal with? Or are you suggesting that we have
PHP-GTK 2 with non-optional wrappers included?
>
> - Andrei