本文概述
PHP开发人员对CodeIgniter框架的需求众多, 这是因为它具有多种功能和优点。在CodeIgniter上开发的Web应用程序可以快速有效地执行。它提供了一套高级方面, 可以从头开始编写以构建动态Web应用程序。
重要功能
- 免费使用
- 遵循MVC模式
- 重量轻
- 生成SEO友好的URL
- 内置库
It is licensed under MIT license, so it is free to use.
It uses Model-View-Controller which basically separates logic and presentation parts. Request comes to controller, database action is performed through model and output is displayed through views.
But in normal PHP scripting, every page represents MVC which increases complexity.
It is extremely light-weighted. CodeIgniter core system requires very small library, other libraries may be added upon dynamic request based upon your needs. That is why it is quite fast and light weighted.
URLs generated by CodeIgniter are search-engine friendly and clean. It uses a segment based approach rather than standard query based approach.
It comes with full packet libraries that enable all the web needed tasks like database, form validation, sending email, manipulating images, sending emails, etc.
其他功能
- 安全性和XSS过滤
- 文件上传, 会话管理, 分页, 数据加密
- 灵活的URI路由
- 邮编编码类
- 错误记录
- 全页缓存
- 本土化
评论前必须登录!
注册