Apache2 :: Controller :: Dispatch :: HASHTREE

Hash Tree Dispatch voor Apache2 :: Controller :: Dispatch
Download nu

Apache2 :: Controller :: Dispatch :: HASHTREE Rangschikking & Samenvatting

Advertentie

  • Rating:
  • Vergunning:
  • Perl Artistic License
  • Prijs:
  • FREE
  • Naam uitgever:
  • Mark Hedges
  • Uitgever website:
  • http://search.cpan.org/~markle/

Apache2 :: Controller :: Dispatch :: HASHTREE Tags


Apache2 :: Controller :: Dispatch :: HASHTREE Beschrijving

Hash Tree Dispatch voor Apache2 :: Controller :: Dispatch Apache2 :: Controller :: Dispatch :: HASHTREE is een PERL-module die Find_Controller () voor Apache2 :: Controller :: Dispatch met een eenvoudige hash-gebaseerde mapping implementeert. Gebruikt substr om de URI te verdelen en bestaat om de cache-toewijzingen te controleren, dus het zou behoorlijk snel moeten zijn. Synopsis Sethandler Modperl Perlinithandler MyApp :: Dispatch # Lib / MyApp :: Dispatch: Pakket MyApp: :Verzenden; Gebruik basis QW (Apache2 :: Controller :: Dispatch :: HASHTREE); # Retourneer een hash referentie van dispatch_map () sub dispatch_map {return {foo => {standaard => 'myapp :: c :: foo', bar => {biz => 'myapp :: c :: biz', baz = > 'MyApp :: C :: BAZ',},}, standaard => 'MyApp :: C :: Standaard',}} 1; __END__DIS Kaarten Uri's naar Controller Modules als volgt: / subdir / foo myapp :: c :: foo-> standaard () / subdir / foo / bar myapp :: c :: foo-> bar () / subdir / foo / bar / Zerm MyApp :: C :: foo-> bar (), Path_Args == / subdir / foo / bar / biz myapp :: c :: biz-> standaard () / subdir / foo / biz / baz / NOZ / WIZ MYAPP :: C :: BAZ-> NOZ (), PATH_ARGS == In het tweede voorbeeld, als niet implementeren of toestaan Als controller methode zou dit > selecteren. Vereisten: · Perl


Apache2 :: Controller :: Dispatch :: HASHTREE Gerelateerde software

Testplan

Test :: Plan is een PERL-module om wat intelligentie toe te voegen aan uw testplan. ...

136

Downloaden