GithubHelp home page GithubHelp logo

doitphp_professional's Introduction

#DoitPHP 专业版 V2.3

注:DoitPHP专业版与标准版的区别在于:专业版支持Modules,而标准版不支持,Modules对于企业级的大项目在代码管理方面优势明显。

DoitPHP(原Tommyframework)是一个基于BSD开源协议发布的轻量级PHP框架。简而言之:DoitPHP运行高效,易学易用,易于扩展。换而言之:DoitPHP运行高效而不失功能强大,操作灵活而又能扩展自如。作为PHP框架里的“后起之秀”,DoitPHP秉承了那些优秀的PHP框架所共有的:代码的OOP编写风格、URL的路由功能、MVC的架构思想、UID的数据库操作、以及AJAX的前端页面技术支持。并在操作和功能设计上进行了微创新:

一、DoitPHP的辅助开发工具(DoitPHP Tools),其强大的“脚手架”功能,使得利用本框架进行程序开发更加容易。

二、简明高效的视图运行机制,使视图文件的开发操作变得简单易行。

三、灵活的扩展模块(extension)设计,能够非常容易地调用如:SMARTY、CKEDITOR、TINYEDITOR、FPDF、PHPMAILER、PHPRPC等第三方开源程序。

四、集成了JQUERY及JQUERY FORM、LAZYLOAD等JQUERY插件,使前端页面开发中实现AJAX LOADING图片加载效果、CHECKBOX的全选或反选效果以及图片的惰性加载效果等,让其变得得心应手。

五、提供了PHP程序开发中常用的操作类库,无论是COOKIE、SESSION的操作,还是实现网页页面的分页效果,生成RAR、EXCEL、PDF等文件类型的文件,实现MEMCACH、XCACHE、APC等常见的缓存操作。利用扩展类库进行操作,如同“信手拈来”。

六、丰富的数据库驱动,支持MYSQL、POSTGRESQL、ORACLE、SQLITE、MSSQL、MONGODB、REDIS等数据库。

  官方网址:http://www.doitphp.com/

doitphp_professional's People

Contributors

doitphp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

doitphp_professional's Issues

V2.1 Configure类存在BUG

在194行getConfig方法中存在BUG,常量CONFIG_DIR并未定义

$filePath = CONFIG_DIR . $fileName . '.php';

在controller中使用getConfig方法时会提示文件不存在错误,临时解决方法是在该文件的头部17行左右新增下列宏定义即可正确读取config文件

define('CONFIG_DIR', APP_ROOT . 'application/config/');

library中的Image.php在连续给图片添加水印时有问题

重现方式:

$image = new Image();
$image->setTextContent('watermark');
$image->makeTextWatermark("Karn-Partridge-Algorithm.jpg", "1");
$image->makeTextWatermark("IMG_5142.jpg", "2");

其中第二张图片添加水印失败

$image = new Image();
$image->setTextContent('watermark');
$image->makeTextWatermark("Karn-Partridge-Algorithm.jpg", "1");

$image = new Image();
$image->setTextContent('watermark');
$image->makeTextWatermark("IMG_5142.jpg", "2");

这样才可以

这导致不能在代码中使用框架中的单例模式

出现这样问题的原因还没查明

excel生成类存在BUG

当单元格为空时,自动将下一个(右侧)单元格填充进来。
将_handleCell方法和_handleIndexCell方法的分析参数语句
if (empty($data) || is_array($data))
替换为
if (is_array($data))
可解决此问题。
汤米的代码中多处出现使用empty判断参数而导致的BUG。

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.