I'm starting to run into situations where I have (or will soon have)
multiple applications that need to occasionally share pages, or at least
some functionality. I was thinking that a good way of doing this would be to
allow the config_class_prefix method (CGI::Prototype::Hidden) return an
array rather than just a scalar. That way, if I was working on project one,
instead of just:

sub config_class_prefix{
    return 'Project1::App';

I'd like to be able to do something like this:

sub config_class_prefix{
    return qw( Project1::App Project2::App );

Then I could call name_to_page or shortname on pages from either project.
Does this sound like a good idea, or can you suggest a better way to share
pages and functionality between applications?



Andrew Gianni
Administrative Computing Services
State University of New York at Buffalo
215 Millard Fillmore Academic Complex
Amherst, NY 14261
(716) 645-3587x7124

SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
cgi-prototype-users mailing list

Reply via email to