GithubHelp home page GithubHelp logo

sumiaowen / czd_yaf_extension Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sillydong/czd_yaf_extension

0.0 2.0 0.0 1.85 MB

建立在 [Yaf](https://github.com/laruence/php-yaf) 的基础上,集成了Smarty引擎,加入了封装好的各种功能类。

czd_yaf_extension's Introduction

CZD_Yaf_Extension

建立在Yaf 的基础上,集成了Smarty引擎,加入了封装出来的各种功能类,位于APPLICATION_DIR/library下

【更新记录】

  • 2013.10.14 格式化framework的代码,修复了framework的一处可能导致redeclare class的错误
  • 2013.10.04 加入了yaf_phpport,方便使用虚拟空间的用户使用yaf框架

【功能说明】

  • 缓存:APC/文件/Memcache/Xcache 源自 prestashop
  • 数据库:MYSQLi/PDO/MYSQL 源自 prestashop ,可以通过配置mysql_cache_enable控制是否cache查询结果
  • 邮件支持:PHPMailer+Vemplator,可以通过建立模板文件,用Vemplator渲染后发送邮件
  • 淘宝SDK:Taobao/*,将淘宝公布的SDK按照Yaf加载规则稍作了修改
  • Smarty:流行好用的视图引擎
  • Blowfish/Rijndael:加解密算法
  • Captcha:验证码生成工具
  • Cookie:强化了安全性的Cookie
  • Encoder:包含了部分加密算法
  • Ftp:Ftp工具类
  • ImageManager:图片处理类
  • JSMin:JS压缩
  • Log:写日志
  • Mail:封装好的发送邮件的静态函数
  • MinifyHTML:HTML压缩
  • Object:所有与数据库交互的Model都可以继承这个类,完成了add/update/delete/active操作,可以通过setData将数组赋值给类
  • Pagination:分页
  • PclZip:压缩打包
  • PSCWS:分词,依赖于 scws ,需要另行安装
  • Taobao:Taobao实例类,在define.inc.php设置好APP_KEY及APP_SECRET,通过Taobao::getInstance()使用
  • Tools:一些常用静态方法
  • Validate:常用验证方法
  • Weixin:集成的微信接口

=============== 其他具体信息详见代码

非科班出身未经历过大公司正规开发,代码风格奇葩,有任何问题,欢迎邮件联系傻东(njutczd+gmail.com)

czd_yaf_extension's People

Contributors

sillydong avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.