[Pmwiki-users] Why heirarchy?

Patrick R. Michaud pmichaud
Tue Oct 19 19:00:42 CDT 2004


On Tue, Oct 19, 2004 at 04:56:14PM -0700, Fred Chittenden wrote:
> > Per the example, given that someone is viewing Team A, they'd be
> > at a page like SoccerBoysU7TeamA.HomePage, and links to the other
> > pages would then be [[Roster]], [[Practice schedule]], [[Team News]],
> > etc., exactly as you've described.  

> However, I can't see how such a template might would work with long names
> unless one somehow used concatenated variables.  Possible example below. 
> -----------------------------
> Welcome to the <team> web page.
> 
> concat(soccer+<sex>+<age>+<team>+Roster)
> concat(soccer+<sex>+<age>+<team>+Schedule)
> concat(soccer+<sex>+<age>+<team>+News)
> -----------------------
> To most, creating pages with so much code would look a lot like programming
> to the average bubba - hence be poorly utilized.  

No no no no.  :-)  The page names remain short, only the group names
get long.  Thus, a team's web page would be SoccerBoysU7TeamA.HomePage,
and the links (even with long group names) would still look like:

--------------
Welcome to the <team> web page.

[[Roster]]
[[Schedule]]
[[News]]
--------------

The only time names get long is when someone needs to link outside
of Team A's group, such as [[SoccerBoysU7.Standings]], but even that's 
not too bad.  And if you're willing to think outside of the hierarchy
a bit, then [[Standings.BoysU7]] works pretty nicely, with the result
that [[Standings]] at least gets someone to Standings.HomePage if they
can't figure out the longer link.

Indeed, the leading "Soccer" doesn't seem to add much utility, so
I'd just go with BoysU7.Standings, or even 2004-Boys-U7.Standings (to
be able to handle multiple years).  If you really need to differentiate
between soccer and other sports, I'd seriously look at using WikiFarms
so you can segregate with the URL (i.e., 
http://recsports.org/soccer/2004-Boys-U7/Standings and 
http://recsports.org/baseball/2004-Boys-U7/Standings).

Pm



More information about the pmwiki-users mailing list