Re: php-gtk #2 (fwd)
| From: | Andrei Zmievski | Date: | Mon, 19 Feb 2001 21:30:23 +0000 |
| Subject: | Re: php-gtk #2 (fwd) | ||
| References: | 1 2 | Groups: | php.gtk |
| Request: | Send a blank email to php-gtk+get-23@lists.php.net to get a copy of this message | ||
On Mon, 19 Feb 2001, Jan Lehnardt wrote:
> do you mean, until there are just a few users, there is no need for a
> documentation? I think the userbase will grow _when_ there are docs
> available.
No, I mean that currently I am not able to personally work on
documentation because coding consumes all the available time I can
dedicate to this project - so when there are a few users who can work on
the docs, it will be good.
> perhaps i should ask for karma to php-gtk to start documentation and
> stuff in a docs/ subdir in php-gtk?
What are your thoughts for documentation? Same DocBook style as PHP?
> Before starting, can you give me a short introduction about your ideas
> (both design/implementation as well as motivation) about php-gtk.
> How the make process in this special case works (e.g. what the
> generator does etc.)?
The idea is to implement as many GTK+ functions as possible - then more
abstracted classes can be built on top of that. Things like libglade,
opengl, and so on will be implemented as well. To save a lot of work,
the source code for the bulk of functions is auto-generated from the
.defs file that I took from another project. The rest of the functions
are hand-coded. 'make' should automatically generate the php_gtk_gen.c
file during compilation.
When GTK+ 2.0 is stable and widely used, some code will need to be
changed to accomodate it, but since we have generator, then changing the
generator will change a lot of functions as well - makes it easier.
As far as motivation, well, I've always been a proponent of using PHP
for more than just web-embedded programming, hence the idea of providing
GTK+ bindings. Hopefully, someone out there agrees with me.
-Andrei
"I still find each day too short for all the thoughts I want to think,
all the walks I want to take, all the books I want to read, and all the
friends I want to see."
-John Burroughs