Get to Know Code Igniter -- 1

本文介绍了CodeIgniter PHP框架的基本原理及安装步骤。CodeIgniter是一个轻量级且开源的MVC框架,运行于PHP4之上。文章详细说明了如何下载、解压并配置CodeIgniter以匹配特定的网站环境。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

first of all, sorry for disapear almost 2 years even if there is nobody waiting here but at least it must be a waste of  the space resource.
recently i'm involved in PHP development, now let's start to introduce an easy use toolkit - code igniter. it's a light weight, open source and MVC based framework runs on php4 with simple footprint.

1. Install
a.Download it from: http://www.codeigniter.com/download_files/CodeIgniter_1.6.3.zip
b.Unzip it to your sever
c.Open the application/config/config.php file with a text editor and set your base URL.
d.Open the application/config/database.php file with a text editor and set your database settings.

2. Principle
flow chart










a.The index.php serves as the front controller, initializing the base resources needed to run CodeIgniter.
b.The Router examines the HTTP request to determine what should be done with it.
cIf a cache file exists, it is sent directly to the browser, bypassing the normal system execution.
d.Security. Before the application controller is loaded, the HTTP request and any user submitted data is filtered for security.
e.The Controller loads the model, core libraries, plugins, helpers, and any other resources needed to process the specific request.
f.The finalized View is rendered then sent to the web browser to be seen. If caching is enabled, the view is cached first so that on subsequent requests it can be served.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值