[Dancer-users] Structuring Dancer Application
Brian E. Lozier
brian at massassi.com
Thu Mar 24 21:49:48 CET 2011
Your application .pl script can include a bunch of different Dancer
application modules. Each application module can set a "prefix" which
gets prepended to all the routes in that module. I have:
Web::Root which has prefix undef
Web::Forum which has prefix /forums
http://search.cpan.org/~sukria/Dancer-1.2005/lib/Dancer/Introduction.pod#PREFIX
On Thu, Mar 24, 2011 at 1:44 PM, Forgoselo Fontardion
<fontardion at gmail.com> wrote:
> Hi to all,
> I've programmed ten years ago a CGI web page for our company. We've decided
> to upgrade it, to a moderm framework. I'm starting to develop it with
> Dancer. Makes easy a lot of things that were dificult. I'm concerned on how
> we can structure the application. I'd like to divide my application in
> several files, but I haven't found in the documentation the mode to call
> diferent packages or modules depending on the route.
>
> Best regards,
> R. Fontardion
> _______________________________________________
> Dancer-users mailing list
> Dancer-users at perldancer.org
> http://www.backup-manager.org/cgi-bin/listinfo/dancer-users
>
>
More information about the Dancer-users
mailing list