Git Product home page Git Product logo

smartthink's Introduction

#SmartThink PHP

Firstly, Thanks for ThinkPHP, Laravel, Smarty & Composer. Secondly, ...

##Overview

这个架构和所写的代码已经烂掉了!!额。


SmartThink PHP 是在ThinkPHP3.1.2的基础上开发而来。 采取了PHP5.3的最新特性而重新设计的框架,与正在开发中的ThinkPHP4一样对原有的TP进行了颠覆式的改变。

  1. 加入PHP命名空间(namespace)机制,按照命名控制自动加载类;
  2. 将原有的大量函数重构为静态类;
  3. 重新设计了View类和模板引擎的机制,删除了原有的所有View类特性,全面使用Smarty;
  4. 删除原有Router的解析方式,改为单一的pathinfo解析方法;
  5. 彻底使用项目独立分组方式,优化相关常量的命名;
  6. 新建Import, Redirect, Request, Response类;
  7. 重构Controller类;
  8. 彻底删除原有的扩展加载方式;
  9. 全面对每个类,方法添加大量注释。

##Change log

##Installation & Setup

smartthink's People

Contributors

chasewoo avatar liu21st avatar aoiujz avatar luofei614 avatar yangweijie avatar wtwei avatar zzjin avatar gongt avatar

Watchers

James Cloos 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.