Re: PHP-GTK 2 Docs on php.gkt.net
| From: | Scott Mattocks | Date: | Tue, 24 Jan 2006 15:51:49 +0000 |
| Subject: | Re: PHP-GTK 2 Docs on php.gkt.net | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.gtk.doc |
| Request: | Send a blank email to php-gtk-doc+get-1789@lists.php.net to get a copy of this message | ||
Anant Narayanan wrote:
I have a few ideas. We should try and emulate the PHP manual as much as possible. For example gtk.php.net/gtkwindow should go directly to the description of that class. Also IMO, if there is an exact match, we can redirect the user that page directly (again aka PHP manual)Unfortunately it isn't that easy. If the user searches for "window" it will exactly match the $gtkWidget->window, but in 99.999% of the cases, the user is looking for GtkWindow. The other .001% of the time they are looking for GdkWindow. Trying to return the best results for the user isn't really that easy.
Search results can be categorised into classes, methods, signals and properties that match, and displayed accordingly.The problem here is that we don't want to overwhelm the user with information. A search for "text" will return plenty of each group. Do we want to just dump out everything or do we want to show a page that has some of the more likely results with a link to full results? Right before I lost my mind attacking this last time, Andrei suggested creating a flow chart that shows how the search will work. Of course having lost my mind soon after that, I never created one. I think that would be a good place to start this time. Displaying the results once we figure out what to show is going to be tough enough. A good plan will prevent headaches later. Scott