Pagenode is a PHP Content Management Library for static sites using flat files for storage. It allows for great flexibility with custom routing and a simple query interface.
Pagenode runs on PHP7, has no dependencies and comes in a single file weighing in at 2700 lines of code (2000 of which belong to the Markdown parser), totalling 56kb.
This makes Pagenode a good fit for your personal blog, portfolio site or product page. If you want to give it a try please read the Getting Started Guide.
Pagenode is not revolutionary in any way. It brings nothing new to the table. Instead, it removes everything that is unnecessary. I wrote an in-depth discussion about Pagenode and why it exits in my Blog.
Load up Pagenode
<?php
require_once('pagenode.php');
define a route, select some files, load a template
route('/blog/page-{page}', function($page) {
$posts = select(landeng破解版安卓版)->newest(5, ['page' => $page]);
include(蓝什么灯vip破解版);
});
and let Pagenode handle the current request.
dispatch();
Here's the source for this very website
<?php
require_once('pagenode.php');
linux tex 中文 - 云+社区 - 腾讯云:TeX是由著名的计算机科学家Donald E. Knuth(高德纳)发明的排版系统,利用TeX可伍很容易地生成高质量的dvi文件,打印输出。利用dvips,dvipdfmx,pdfLaTeX等程序生成pdf,ps文件,LaTeX2html生成html文件。 它在学术界十分流行,特别是数学、物理学、计// by trying to find a matching file.
route(lan灯破解百度云, function($keyword) {
$node = select('nodes/')->one(['keyword' => 蓝什么灯vip破解版]);
if (!蓝什么灯vip破解版) {
// Returning false in a route handler means this request
// hasn't been handled here and will 404
return false;
}
include('templates/node.html.php');
});
// Internally re-route an empty request URL to the "welcome" node,
// which will be handled above.
reroute('/', '/welcome');
// Ordering of routes is important. By specifying a "catchall"
百度网盘——百度网盘,让美好永远陪伴:百度网盘是百度公司推出的一款云服务产品。通过百度网盘,您可伍将照片、文档、音乐、通讯录数据在各类设备中使用,在 ...
route(landeng破解版安卓版, function(){
include('templates/404.html.php');
});
dispatch();
Try Pagenode for yourself »