dsvbtgo639708 2013-09-11 07:00 采纳率: 0%
浏览 72
已采纳

CodeIgniter是基于组件的PHP框架吗?

Yii framework specifies that it was a component-based PHP framework and i need to know whether CodeIgniter was a component-based PHP framework or not?

In my search i found that CodeIgniter was a OO PHP framework. Is both the same, the Object oriented and Component based? and also whether CI a component-based PHP framework?

  • 写回答

2条回答 默认 最新

  • dongsheng1698 2013-09-11 07:33
    关注

    CodeIgniter is not a component based framework. A component based framework is also called a pull based framework, CodeIgniter is a push based framework.

    Think of component based as one way to organize car parts in a garage.

    In a component based garage you would have all your tires in one area, and all the suspension parts in another area, and the transmission parts elsewhere etc.

    But then a different garage that was an object oriented type garage structure would have different sections in your garage for each type of car. So all your chrysler parts would be in one section; you could get tires there and the suspension parts and transmission parts specific to that model all in one location. Then the different section in that same oo garage would have all your mercedes parts; the tires, suspension, and tranny. This garage is based on the fact that all the cars have the same parts, and kept organized according to each specific object (a.k.a manufacturer).

    http://en.wikipedia.org/wiki/Web_application_framework

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

悬赏问题

  • ¥15 基于ffmpeg 编码成yuv420p nv12的问题
  • ¥15 python随机森林对两个excel表格读取,shap报错
  • ¥15 基于STM32心率血氧监测(OLED显示)相关代码运行成功后烧录成功OLED显示屏不显示的原因是什么
  • ¥100 X轴为分离变量(因子变量),如何控制X轴每个分类变量的长度。
  • ¥30 求给定范围的全体素数p的(p-2)/p的连乘积值
  • ¥15 VFP如何使用阿里TTS实现文字转语音?
  • ¥100 需要跳转番茄畅听app的adb命令
  • ¥50 寻找一位有逆向游戏盾sdk 应用程序经验的技术
  • ¥15 请问有用MZmine处理 “Waters SYNAPT G2-Si QTOF质谱仪在MSE模式下采集的非靶向数据” 的分析教程吗
  • ¥15 adb push异常 adb: error: 1409-byte write failed: Invalid argument