Re: [cgi-prototype-users] Using multiple base classes for an app

2005-08-15 Thread Randal L. Schwartz
Andrew == Andrew Gianni [EMAIL PROTECTED] writes: Andrew I'd like to be able to do something like this: Andrew sub config_class_prefix{ Andrew return qw( Project1::App Project2::App ); Andrew } Andrew Then I could call name_to_page or shortname on pages from Andrew either project. Does

Re: [cgi-prototype-users] CGI::Prototype::PathInfo

2005-08-15 Thread Randal L. Schwartz
A == A Pagaltzis [EMAIL PROTECTED] writes: A Looks sensible enough, but the mapper must be more abstract than A you propose. Abstraction on the level you have in mind is not A tenable because ::State::Pathinfo needs knowledge from A ::Mapper::StrictLookup to be able to tell that A

Re: [cgi-prototype-users] CGI::Prototype::PathInfo

2005-08-15 Thread Randal L. Schwartz
Randal == Randal L Schwartz merlyn@stonehenge.com writes: Randal Consider also something like Slashdot, where the templates are loaded Randal from a database... I can also see that here. Maybe state-to-class is Randal dynamic based on current user ID or other security parameter? Really, Randal

Re: [cgi-prototype-users] CGI::Prototype::PathInfo

2005-08-15 Thread A. Pagaltzis
* Randal L. Schwartz merlyn@stonehenge.com [2005-08-15 19:50]: Ewww. I'd never use code like that. At the HTTP level, it is cleaner design. Nobody on the other side of the app interface will care whether it requires uglier scaffolding under the hood, nor should they. Thus, neither do I. Yeah,