php-sdopx:php模板引擎

时间:2021-02-14 05:38:07
【文件属性】:
文件名称:php-sdopx:php模板引擎
文件大小:56KB
文件格式:ZIP
更新时间:2021-02-14 05:38:07
PHP sdopx-php PHP模板引擎使用方式和智能基本一致,轻量级,优化提速。最低要求PHP 7 本次优化,以支持swoole常驻内存方式使用。 与1.x版本有不兼容问题。 更多详细帮助文档: ://sdopx.wj008.net参考 require 'sdopx/Sdopx.php' ; //如果使用composer 上行可以不需要 use sdopx\ Sdopx ; //开启调试模式 Sdopx :: $ debug = true ; $ sdopx = new Sdopx (); //设置模板目录 $ sdopx -> setTemplateDir ( './view' ); //设置编译目录 $ sdopx -> setCompileDir ( './runtime' ); //注册变量 $ sdopx -> assign ( 'abc' , 'wj008' ); //输出代码
【文件预览】:
php-sdopx-master
----Sdopx.php(13KB)
----resource()
--------FileResource.php(998B)
--------Base64Resource.php(671B)
--------StringResource.php(655B)
--------ExtendsResource.php(2KB)
----lib()
--------TreeMap.php(4KB)
--------Outer.php(3KB)
--------VarMapper.php(298B)
--------Source.php(4KB)
--------SdopxUtil.php(6KB)
--------Compiler.php(23KB)
--------Template.php(10KB)
--------Parser.php(20KB)
--------BlockItem.php(525B)
--------Lexer.php(17KB)
--------Rules.php(24KB)
--------Block.php(186B)
----plugin()
--------VolistTag.php(4KB)
--------NumberFormatModifier.php(498B)
--------LeftpadModifier.php(399B)
--------DateFormatModifier.php(3KB)
--------MatchModifier.php(1KB)
--------RightpadModifier.php(401B)
--------DefaultModifierCompiler.php(572B)
--------CyclePlugin.php(3KB)
--------UpperModifierCompiler.php(321B)
--------TruncateModifier.php(753B)
--------LowerModifierCompiler.php(321B)
--------RmhtmlModifier.php(241B)
--------StripTagsModifierCompiler.php(510B)
--------Nl2brPlugin.php(827B)
----LICENSE(11KB)
----README.md(643B)
----interfaces()
--------Resource.php(555B)
----SdopxException.php(675B)
----.gitignore(16B)
----compiler()
--------ExtendsCompiler.php(1KB)
--------ForCompiler.php(2KB)
--------FunctionCompiler.php(2KB)
--------HookCompiler.php(2KB)
--------IfCompiler.php(1KB)
--------WhileCompiler.php(724B)
--------IncludeCompiler.php(1KB)
--------LdelimCompiler.php(402B)
--------AssignCompiler.php(2KB)
--------ForeachCompiler.php(4KB)
--------BreakCompiler.php(691B)
--------CallCompiler.php(1KB)
--------GlobalCompiler.php(2KB)
--------LiteralCompiler.php(2KB)
--------ContinueCompiler.php(700B)
--------RdelimCompiler.php(403B)
--------BlockCompiler.php(2KB)
----composer.json(315B)

网友评论