php-gtk2 docs
| From: | Christian Weiske | Date: | Wed, 16 Mar 2005 22:28:16 +0000 |
| Subject: | php-gtk2 docs | ||
| Groups: | php.gtk.doc | ||
| Request: | Send a blank email to php-gtk-doc+get-1324@lists.php.net to get a copy of this message | ||
Hi
Today I made some thoughts about the php-gtk2 documentation, and here is
a list of them:
- the compiled manual should use directories. I hate it that some
programs (konqueror or opera) have to load 1800+ files in the view just
that I can select the index.html
- we need an object hierarchy. This is easy as the current stylesheet
contains a function I wrote a year ago which exaclty does this
- more tutorials. The basic hello world is ok, but many people want at
least this ones:
- widget packing (multiple in one window)
- opening other windows from within the original ones (modal/non
modal, what to do with multiple gtk::main loops, passing parameters
between windows)
- object oriented programming. Current sample scripts are all
spaghetti code with absolutely no objects. This is a practice which
isn't suitable for middle and large or even nearly every project.
- explain what gtk, gdk, pango, glade and so is and how they are
connected
- all the files in utf-8. The good old iso-8859-1 is nice, but not
suitable for many languages. This would also mean that the utf-8
conversion before compiling isn't necessary any more. I had a
conversation with Steph about this for the php-gtk1 manual many months
before, and she meant that mixing is bad - as current editors don't
automatically recognize the encoding. So if everything is in utf-8, it's
really easy to switch between translations and the original files.
- All classes should have a mini-howto section which explains the most
frequently needed solutions with examples
- I would recommend the following structure, which is near to the curent
one:
====================
-Introduction
-Tutorials
-Installation
-Gtk, Pango & Co
-Hello World
-Packing
-Building apps with glade
-Object oriented scripts
-Localization with gettext
-Reference
-Gtk
-Object Hierarchy
-GtkA
-Constructor
-FunctionA
-FunctionB
-PropertyA
-PropertyB
-SignalA
-SignalB
-MiniHowTo
-GtkB
-GtkC
-Gdk
-Pango
-Glade
-Atk???
-FAQ
====================
Regards/MfG,
Christian Weiske
--
XMMS is playing now:
Groove Coverage - You
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc