Oct 22

Savant 不指定

shuguang , 06:21 , 模板引擎 , 评论(0) , 引用(0) , 阅读(10146) , Via 本站原创 | |
程序名称:Savant
开发者/组织名称:Savant
运行环境:php+mysql,php+文本
官方网站:http://phpsavant.com/
下载地址:http://phpsavant.com/yawiki/
文章来源:http://www.osphp.com.cn/
程序介绍:
Savant is a powerful but lightweight object-oriented template system for PHP.

Unlike other template systems, Savant by default does not compile your templates into PHP; instead, it uses PHP itself as its template language so you don't need to learn a new markup system.

Savant has an object-oriented system of template plugins and output filters so you can add to its behavior quickly and easily.

//开源OSPhP.COM.CN


Savant has an extensible error handling system. While Savant uses its own minimalist error class out-of-the-box, it supports PEAR_Error and PEAR_ErrorStack, as well as PHP5 exceptions. You can also add your own error classes to support your favorite framework error system. Error-handling hooks are provided in the standard Savant class.

Even though Savant does not come with one, you can write your own customized markup compiler and hook it into Savant. This means you can invent any markup system you like; as long as your compiler turns it into a PHP script, Savant will be able to use it. As with the error handler, you don't need to extend Savant itself to do this; compiler hooks are provided in the standard Savant class.

Savant is streams-aware and can use any stream as a template source.

收藏本文到网摘: 添加到“Google书签” 添加到“Yahoo收藏” 添加到“QQ书签” 搜狐网摘 添加到“百度搜藏” 添加到“新浪ViVi收藏夹” 添加到“Del.icio.us” 添加到“365天天网摘” 添加到“天极网摘” 我摘·网摘·网络书签 添加到“POCO网摘” YouNote网摘 添加到“和讯网摘” 添加到“Bolaa博客收录中心” 添加到“igooi网摘” 添加到“天下图摘”
  • 中查看更多“Savant”相关内容
  • 中查看更多“Savant”相关内容
  • 中查看更多“Savant”相关内容
  • 中查看更多“Savant”相关内容
  • 中查看更多“Savant”相关内容
  • 中查看更多“Savant”相关内容
  • 中查看更多“Savant”相关内容
  • 中查看更多“Savant”相关内容

  • 最后编辑: shuguang 编辑于2007/12/05 14:19
    Tags:
    发表评论

    昵称

    网址

    电邮

    打开HTML 打开UBB 打开表情 隐藏 记住我 [登录系统] [注册]