+----------------------------------------------------------------------------------------+
tp的类型的使用
基类库:
+----------------------------------------------------------------------------------------+
Core:核心类库
Db:数据库类库包
Exception:异常处理类库包
Template:内置模板引擎类库包
Util:系统工具类库包
+----------------------------------------------------------------------------------------+
Corl核心类库:
1.Think.class.php===>系统基类
2.App.class.php---应用程序类,执行应用管理
3.Action.class.php 控制器类
4.Model.class.php 模型基类
5.Model/AdvModel.class.php 高级模型类
6.Model/viewModel.class.php 视图模型类
7.Log.class.php 日志处理类
8.View.class.php 视图输出类
Db数据库核心
Db.class.php mysql数据库驱动类
Exception异常处理类库
Exception异常处理类,只包含ThinkException.class.php系统异常基类.
Template内置模版引擎类库:
ThinkTemplat.class.php:内置模版引擎类
2.TagLib.class.php标签类基类
3.TagLib/TagLibCx.class.php cs标签库解析类
4.TagLib/TagLibHtml.class.php HTML标签解析类
Util系统工具类:
Util系统工具类库包提供了系统开发中的一些基本的工具,具体的包括:
1.Behavior.class.php 行为扩展类
2.Cache.class.php 缓存管理类
3.Cookie.class.php Cookie管理类
4.Debug.class.php 系统调试类
5.HtmlCache.class.php 静态缓存类
6.Dispatcher.class.php URL解析/路由和调度管理类
7.Session.class.php session管理类
8.Widget.class.php 插件应用类
9.Cache/: 各类型的缓存类文件目录,包括:文件缓存类,sqlite缓存类,Apachenote缓存类,Memcache类,Xcache缓存类,数据库类型缓存类
10.Template/:模版引擎解析类目录,包含:EaseTemplate模版引擎缓存类,TemplateLite模版引擎缓存类,Smarty类,Think模版引擎解析类.
thinkphp的一些类库
转载于:https://www.cnblogs.com/sgsheg/archive/2012/09/22/2698293.html