PHP Classes

File: test/python/out3.txt

Recommend this page to a friend!
  Classes of Nikos M.   Dromeo PHP Router Library   test/python/out3.txt   Download  
File: test/python/out3.txt
Role: Documentation
Content type: text/plain
Description: Documentation
Class: Dromeo PHP Router Library
Route HTTP requests to functions with URL patterns
Author: By
Last change: v.1.2.0 in progress

* onGroup method to group routes under common (literal) prefix (in progress)
* handle edge case in makePattern
* original matched extracts contain same defaults (if given)
* fix typo in PHP,JS in clearRoute
* update tests
Date: 1 year ago
Size: 1,033 bytes
 

Contents

Class file image Download
Dromeo Module loaded succesfully Dromeo.VERSION = 1.2.0 Default Handler { 'data': {'ORIG': {'id': 'ID', 'user': 'USER'}, 'id': 'id', 'user': 'user'}, 'fallback': False, 'method': '*', 'pattern': '/foo/{:user}/{:id}', 'route': '/foo/user/id', 'route_original': '/FOO/USER/ID'} Default Handler { 'data': {'ORIG': {'id': 'ID', 'user': 'Foo'}, 'id': 'id', 'user': 'foo'}, 'fallback': False, 'method': '*', 'pattern': '/foo/{:user}/{:id}', 'route': '/foo/foo/id', 'route_original': '/FOO/Foo/ID'} Default Handler { 'data': {'ORIG': {'user': 'User'}, 'user': 'user'}, 'fallback': False, 'method': '*', 'pattern': '/foo{/%ALPHA%-%ALPHA%:user(2)}', 'route': '/foo/user-user', 'route_original': '/FOO/USER-User'} Default Handler { 'data': {'ORIG': {'user': 'fOO'}, 'user': 'foo'}, 'fallback': False, 'method': '*', 'pattern': '/foo{/%ALPHA%-%ALPHA%:user(2)}', 'route': '/foo/foo-foo', 'route_original': '/FOO/Foo-fOO'}