From: Francesco M. <f18...@ya...> - 2005-09-03 10:38:22
|
Hi, >> I was thinking that the new component list page will probably look like: >> >>A (2): 1 | B(1): 1 | ... | W (40): 1 2 3 4 | ... >> >>that is, since almost all component's names start by 'wx' the "W" initial will >>be "abused". > > I thought so too but I'd also like to see the full name as the component > is (e.g. wxTreeListCtrl). Would it be possible to strip the "wx" just > for the sorting into pages but still show the name including "wx"? this is an extract from another mail on the thread: >> Perhaps, it would be simpler to ignore the wx in the index >> compilation. For example, components starting by 'A' or 'wxA' are >> indexed in letter 'A', and so on. > >thinking better to this approach I think that the following should do the "ignore wx >prefix" logic: > >SELECT * FROM components WHERE (name LIKE 'a%' OR name LIKE 'wxa%') > >just I'm not so expert to evaluate the performance impact of such additional OR ... >statements but I think it would be acceptable. I think ignoring "wx" is the best choice... as you and others suggest. > BTW can't the "single table" mode be a single table without pages? I > like it most since it resembles the old components lists. would this still be useful ? I mean: we have a *lot* of components (> 50); putting them all into a single page would be stressing for the server and maybe not very useful... anyway if you find it useful I can try to implement that. > And could the > link on the name go the the component view (e.g. > http://wxcode.sourceforge.net/showcomp.php?name=wxScintilla) instead of > the component directory? yes, that's probably best than linking to the (sometimes missing) component website. I'm working on the website right now; I'm converting the PHP code which I wrote in a C-like syntax (with lot of globals, etc) into a C++-like syntax (using PHP class objects). This will make the website much more easier to mantain, I hope. At beginning, when creating the site I thought that was an overkill but now I changed idea :) Francesco |