Home >Backend Development >PHP Tutorial >刚建的仅2k的可配置的PHP URL 路由 http://code.google.com/p/qserouter/

刚建的仅2k的可配置的PHP URL 路由 http://code.google.com/p/qserouter/

WBOY
WBOYOriginal
2016-06-13 10:38:441084browse

刚刚建的仅2k的可配置的PHP URL 路由 http://code.google.com/p/qserouter/

地址: http://code.google.com/p/qserouter/ 上午刚刚建的 :-)<?phprequire 'router.php';function dump($vars, $label = '', $return = false){    if (ini_get('html_errors')) {        $content = "<pre class="brush:php;toolbar:false">\n";        if ($label != '') {            $content .= "<strong>{$label} :</strong>\n";        }        $content .= htmlspecialchars(print_r($vars, true));        $content .= "\n
\n"; } else { $content = $label . " :\n" . print_r($vars, true); } if ($return) { return $content; } echo $content; return null;}$routes = new Router(require('mapping.php'));$testarr = array( '/', '/abc', '/abc/d', '/books/13', '/books/13/java', '/admin', '/admin/', '/admin/abc', '/admin/abc/d',);foreach ($testarr as $item){ dump($routes->filter($_GET,$item),$item); }?>

1 楼 vb2005xu 2012-06-09  
http://www.clearbox.hu/index_en.html#4 很不错的lightbox效果

2 楼 vb2005xu 2012-06-09  
http://graphicdesignjunction.com/2011/09/25-latest-jquery-plugins/ jquery 扩展

3 楼 vb2005xu 2012-06-09  
http://www.qwrap.com/download.html  百度的js前端框架

4 楼 vb2005xu 2012-06-11  
http://www.appelsiini.net/projects/viewport

5 楼 vb2005xu 2012-06-11  
http://taffydb.com/

6 楼 vb2005xu 2012-06-11  
http://www.gantry-framework.org/

7 楼 vb2005xu 2012-06-13  
http://www.pjhome.net/default.asp?cateID=1
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn