NAME

Web::App::Config - parsing Web::App configuration

DESCRIPTION

Web::App

sub path_from_request

this procedure return screen object and path info.

example:

request is: http://some.com/web-app/admin/article/12345

configuration is:

<config> ... <screens> ... <base-url>/web-app</base-url> ... <screen id='admin'> <presentation type='xslt' filename='not-found.xsl'/> </screen>

        <screen id='admin/article'>
          <presentation type='xslt' filename='not-found.xsl'/>
        </screen>
        ...

  </screens>
</config>

sub return screen object for screen with id = 'admin/article' and path info = '12345'