From: Chris W. <ch...@cw...> - 2001-12-14 13:31:24
|
On Thu, 2001-12-13 at 11:37, And...@Be... wrote: > .. this really sounds like a good idea. It probably would ease my plan to > port Apache::MP3 to OI. Oh, this is an interesting idea! > In a recent post I told you about our plan to add features to base_page to > build differnt views, which probably come close to these directory handlers. Kind of -- it sounded more like the homepage you get on sourceforge.net/my/, which collects relevant information (all bugs/feature requests/tasks you've created or that are assigned to you, projects you've bookmarked, projects you're a member of, etc.) -- a summary page. > I think, that you need two sorts of directory handlers: > - one like you described before, where you build the index by reading > through files of some sort and extracting whatever metainfo or displaying > them This will be the standard one, I think. > - one which looks at who the user is and which rights he has and from this > build some kind of "portal" with links to the information he shall see Sure -- this is basically just another OI handler, so you can do whatever you want. (Now that I think of it, it would probably be cool to create a 'userpages' package which acts like the mod_userdir apache module so I could have http://blah/~cwinters/, etc.) But I want to create as little structure as possible for these -- your handler will get some extra information in the parameter hashref (the infamous $p) but that's about it. What you do with it is up to you. > Also, the type of the "pages" in the Page hierarchy should be irrelevant. It > does not matter, if the information is in files, some db, an external > website or dynamically generated. What do you think? Exactly! If the existing photo stuff isn't adequate then I was planning to start out using files for captions etc (like Randal's column discusses) and once that gels and looks good, put items in the database and make them user-commentable. Ok, now to find some time to do this... :-) Later, Chris -- Chris Winters (ch...@cw...) Building enterprise-capable snack solutions since 1988. |