一 CI 是什么

 CodeIgniter is an Application Development Framework - a toolkit -
for people who build web sites using PHP.
Its goal is to enable you to develop projects much faster than you could if you were writing code from scratch,
by providing a rich set of libraries for commonly needed tasks,
as well as a simple interface and logical structure to access these libraries.
CodeIgniter lets you creatively focus on your project by minimizing the amount of code needed for a given task.

  官网的解释很清楚.CI 是toolkit 工具包,工具包就是有小而全的工具特性.set of libraries ,这里set让三爷我联想到了redis 的set,卧槽真是个好东西啊,libraries就是

这些小工具. CI 用简单的接口和逻辑把 这些工具组合起来.使你可以减少开发的工作量.

二 目录结构

 index.php     ----------入口文件
application ----------应用程序文件夹
system ----------框架目录
user_guide ----------手册

system 目录

core     -------- 核心类目
Benchmark.php -------- 基准测试类
CodeIgniter.php -------- 框架初始文件
Common.php -------- 公共函数库
Config.php -------- 配置文件
Controller.php -------- 所有库文件继承的超类
Exceptions.php -------- 异常处理类
Hooks.php -------- 钩子
Input.php -------- 输入数据处理类
Lang.php -------- 语言类
Loader.php -------- 加载类,加载文件,
Model.php -------- 基类模型文件
Output.php --------- 输出处理文件
Router.php --------- 路由处理类
Security.php --------- 安全基类
URI.php --------- 解析URI
Utf8.php -------- 提供Utf8 的环境
database --------
DB.php -------- 初始化数据库类
DB_cache.php -------- 数据库缓存类
DB_active_rec.php -------- AR基类
DB_driver.php -------- DB 配置
DB_forge.php -------- 数据操作类
DB_result.php -------- 数据操作结果类
DB_utility.php -------- 数据库优化处理类
helpers -------- 各种数据类型处理函数
array_helper.php
cookie_helper.php
directory_helper.php
file_helper.php
form_helper.php
html_helper.php
number_helper.php
path_helper.php
text_helper.php
url_helper.php
xml_helper.php
string_helper.php
typograpthy_helper.php -------- 类型转换
smiley_helper.php --------- JS处理
captcha_helper.php -------- 验证码
libraries -------- 各种
Cache -------- 缓存
javascript --------- Jquery 类
Calendar.php -------- 日历
Cart.php -------- 购物车
Form_validation.php -------- 表单验证类
Migration.php -------- 数据库的操作类事务类up/down
Pagination.php --------- 分页类
Parser.php ---------- 模板解析类
Table.php --------- 表格
Trackback.php ---------
User_agent.php ---------
Xml_rpc.php --------

应用程序目录结构

 models        --------  数据处理
views -------- 模板展示
logs -------- 日志存储
libraries -------- 库文件
helpers -------- 帮助函数
controllers -------- 逻辑处理
config -------- app 配置类
cache -------- 缓存处理类

三 框架应用,

  文件放到根目录下,访问index.php即可.  

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAu0AAAGQCAIAAACViMmyAAAgAElEQVR4nO3dXWskx57ncb2Vfg3yS8gLgUAPYJkdG3otBO2LPusjyXXRzBGn6TF49mhxaS2wpoUv7GYYY1xojBofj8ZuztJgRqX1Ghs8zWlsQ/eqaDgXbVjoG+kq9yKfIiL/kRlZlVLlX/390BdSKR8iIqMyf5URWT0TAwAA6DQz7QIAAACMiRwDAAC0IscAAACtyDEAAEArcgwAANCKHAMAALQixwAAAK3IMQAAQCtyDAAA0IocAwAAtCLHAAAArcgxAABAK3IMAADQihwDAAC0IscAAACtyDEAAEArcgwAANCKHAMAALQixwAAAK3IMQAAQCtyDAAA0IocAwAAtCLHAAAArVrLMT8CAABcrjZzTFubAgAACEGOAQAAWpFjAACAVuQYAACgFTkGAABoRY4BAABakWMAAIBW5BgAAKAVOQYAAGhFjgEAAFqRYwAAgFbkGAAAoBU5BgAAaEWOAQAAWpFjAACAVuQYAACgFTkGAABoRY4BAABaTTHHPLl3M4qihfceyH8Q//TgvYUoit757HlIie6+GUXR1v2GxeqAFz8dfPSv/9nSpr68+w+/u740H0VRFM0tvHrjD3e//OlFG5tO2vfNu+HHvfkaIe5v2RttqfXub0WR0v4DAC+Rad6P8VzWnn/2TpR4rf+ttMbNe0/CN6/vOvTv7863c7F/9vCDt+YjydLb974/m3Tz3cwxrbUeOQYANJjquNK3/dfKseTs/tZcNLf13rsLpetRknBCL1Jac4x7f2E8Z9/fXZuLomjujVt3v/zub8kdmBd/++7LD95eiqIoWnrvwYRJpis5xtZO68XkGADQYbrzYx68txBFc1v3z9zX3vns2f2tOTfjfHV7TrhJ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ALQixwAAAK3IMQAAQCtyDAAA0IocAwAAtCLHAAAArcgxAABAK3IMAADQihwDAAC0IscAAACt2swxAAAAl4n7MQAAQCtyDAAA0IocAwAAtCLHAAAArcgxAABAK3IMAADQihwDAAC0IscAAACtyDEAAEArcgwAANCKHAMAALQixwAAAK3IMQAAQCtyDAAA0IocAwAAtCLHAAAArcgxAABAK3IMAADQihwDAAC0IscAAACtyDEAAEArcgwAANCKHAMAALQixwAAAK3IMQAAQCtyDAAA0Or/AyFtHcbNjMe5AAAAAElFTkSuQmCC" alt="" />

四   运行解析

  

  1.单入口文件index.php 初始化CI所需的基本资源  2.Router.php parse URIs,确定路由,(在routes.php进行remap APP层)

  3.存在缓存直接输出,不存在则Input.php处理请求字符

  4.app逻辑处理层 MVC

  5.渲染输出,如果开启缓存,先缓存.

五  MVC

  老生常谈了.总之,如果你认为M不是必须的可以不要它.但是开发框架的时候为了装13 用,一般还是留下的.

CI(-)框架结构的更多相关文章

  1. Travis CI用来持续集成你的项目

    这里持续集成基于GitHub搭建的博客为项目 工具: zqz@ubuntu:~$ node --version v4.2.6 zqz@ubuntu:~$ git --version git versi ...

  2. CI Weekly #10 | 2017 DevOps 趋势预测

    2016 年的最后几个工作日,我们对 flow.ci Android & iOS 项目做了一些优化与修复: iOS 镜像 cocoapods 版本更新: fir iOS上传插件时间问题修复: ...

  3. Greenplum 的分布式框架结构

    Greenplum 的分布式框架结构 1.基本架构 Greenplum(以下简称 GPDB)是一款典型的 Shared-Nothing 分布式数据库系统.GPDB 拥有一个中控节点( Master ) ...

  4. CI Weekly #9 | 揭秘阿里 Docker 化实践之路

    2017年悄然而至,对 flow.ci 你有什么新的期待呢?新的一年,flow.ci会越来越强大好用,希望继续得到你的支持与反馈.最近,我们做了如下的「功能优化」与「问题修复」,看看有没有你想要的: ...

  5. CI Weekly #8 | CI/CD 技能进阶路线

    在使用 flow.ci 进行持续集成的过程中,也许你会遇到一些小麻烦.最近我们整理了一些常见问题在 flow.ci 文档之 FAQ,希望对你有用.如果你遇到其他问题,也可以通过「在线消息」或去 Git ...

  6. CI Weekly #7 | Instgram/Quora 等大公司如何做持续部署?

    终于,你们期待的 flow.ci iOS 项目持续集成 开始公测了.在这几个工作日, flow.ci 做了些许「功能优化」与「问题修复」,性能和体验都在持续优化中.比如: iOS 快速入门文档更新: ...

  7. CI Weekly #6 | 再谈 Docker / CI / CD 实践经验

    CI Weekly 围绕『 软件工程效率提升』 进行一系列技术内容分享,包括国内外持续集成.持续交付,持续部署.自动化测试. DevOps 等实践教程.工具与资源,以及一些工程师文化相关的程序员 Ti ...

  8. CI Weekly #5 | 微服务架构下的持续部署与交付

    CI Weekly 围绕『 软件工程效率提升』 进行一系列技术内容分享,包括国内外持续集成.持续交付,持续部署.自动化测试. DevOps 等实践教程.工具与资源,以及一些工程师文化相关的程序员 Ti ...

  9. php使用CI发送qq和163邮件

    1.需求 发送邮件 2.介绍 使用CI框架的email类库发送邮件,这里演示QQ和163 3.163使用教程 a.先去163邮件开启smtp邮件. b.在CI的控制器里写下面的代码 $this-> ...

随机推荐

  1. 新手求大神,有其他swit-case的思路写这个程序么?

    两个程序: switch-case与if-else if的区别相同点:可以实现多分支结构;不同点:switch:一般只能用于等值比较.(可以进行范围运算???---学会用switch计算范围出炉的思路 ...

  2. 有关Repeater的事件

    Repeater放在Updatepanel中是可以通过右键->属性,双击事件来生成事件的,若能这样的话,那最后是用这种方法吧,最起码不会出错!

  3. 《think in python》学习-5

    think in python -5 think in python -5 条件和递归 求模操作符% 用于整数,可以计算出第一个操作数除以第二个操作数的余数 7%3 #结果是2 求模操作符%有很多用途 ...

  4. C#DataTable学习心得

    C#DataTable学习心得 一.DataSet.DataTable.DataRow.DataColumn 1] 在DataSet中添加DataTable DataSet.Tables.Add(Da ...

  5. 图片上传webuploader

    /** * 基于jquery的图片上传控件 */!function ($) { "use strict"; //定义上传事件 var upImgEvent = { fileQueu ...

  6. There is no result type defined for type 'json' mapped with name 'success'. Did you mean 'json'?

    错误信息: 严重: Exception starting filter struts2 Unable to load configuration. - action - file:/C:/Users/ ...

  7. 关于Oracle备份中的fractured block

    One danger in making online backups is the possibility of inconsistent data within a block. For exam ...

  8. Android Studio常用插件续

    这个月因为各种事情在忙,包括赶项目,回老家,还有准备旅游的事,所以应该写不了四篇博客了.今天介绍一下关于Android Studio 的几个好用的插件,都是我在用的,它们或能帮你节省时间,或者让你心情 ...

  9. HTML5 标签元素的一些注意事项

    不运行写结束标记的元素(但标签元素): area.base.br.col.command.embed.hr.img.input.keygen.link.meta.param.source.track. ...

  10. Lucky Sum

    Description Lucky Sum time limit per test: 2 seconds memory limit per test: 256 megabytes input: sta ...