CodeIgniter是基于组件的PHP框架吗? [英] Is CodeIgniter a component-based PHP framework?

查看:94
本文介绍了CodeIgniter是基于组件的PHP框架吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Yii框架指定它是一个基于组件的PHP框架,我需要知道CodeIgniter是否是基于组件的PHP框架?在我的搜索中,我发现它是一个OO PHP框架。两者是否相同,面向对象和基于组件?

Yii framework specifies that it was a component-based PHP framework and i need to know whether the CodeIgniter was a component-based PHP framework or not? In my search i found that it was a OO PHP framework. Is both the same, the Object oriented and Component based?

推荐答案

在此尝试 http:/ /ellislab.com/forums [ ^ ]


CodeIgniter不是基于组件的PHP框架。

基于组件的框架也称为基于拉取的框架,但CodeIgniter是基于推送的框架。面向对象和面向组件这两个术语并不相同。

面向对象这个术语是应用程序的逻辑结构,如接口,类等。组件是物理表示,如远程服务,组件和其他包。
CodeIgniter is not a component based PHP framework.
Component based framework is also termed as pull based framework, but CodeIgniter is a push based framework. And the terms Object oriented and Component oriented are not same.
The term Object-oriented is the logical structure of your application, like interfaces, classes, etc.. Components are the physical representation like remote services, assemblies and other packages.


这篇关于CodeIgniter是基于组件的PHP框架吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆