[库 Library] 众多常用CodeIgniter相关类库收集与分享

搜索技巧:发现在https://github.com/找CI资源的,找到的资源质量都很爽YY


原来台湾也有个站点,也许里面也有一些有用的资源哦 update:2012-10-18 18:05
繁体中文: http://codeigniter.org.tw
繁体中文手册: http://codeigniter.org.tw/user_guide/
https://github.com/CodeIgniter-TW


一、以下是一些值得学习的作者


突然间发现了很多很多CI的东东、值得学习参考的 update:2012-10-18 12:00


1、https://github.com/philsturgeon 有些内容比较高深,普通程序员表示看不懂
2、https://github.com/jamierumbelow 写了两个比较基础的东东:codeigniter-base-model + codeigniter-base-controller
3、https://github.com/psugand 这两个东东可以值得学习 CodeIgniter-S3 CI-BaseModel
4、https://github.com/alexbilbie 里面有大多数类库可以参考 比如:codeigniter-restclient  codeigniter-mongodb-library CodeIgniter-File-Cache-Library 等
5、https://github.com/BIOSTALL 里面有GOOGLE MAPS API等
6、http://www.jenssegers.be/blog
7、https://github.com/appleboy 
8、https://github.com/darkhouse 都是一些类库


二、以下是一些值得学习的类库


1、CodeIgniter Rest Server by @philsturgeon
使用(英文原文):http://net.tutsplus.com/tutorial ... s-in-codeigniter-2/ update:2012-10-17 22:05
使用(中文翻译):http://tech.it168.com/a2011/0420/1180/000001180783.shtml update:2012-10-17 22:05


原文介绍:A fully RESTful server implementation for CodeIgniter using one library, oneconfig file and one controller.
REST (REpresentational State Transfer) 描述了一个架构样式的网络系统,比如 web 应用程序。它首次出现在 2000 年 Roy Fielding 的博士论文中,他是 HTTP 规范的主要编写者之一。 
不懂的话:百度、Google 搜索“RESTful”


我的理解:这个比较高深,刚开始不建议看这个,跳过吧


update:2012-10-17 22:05


2、模型类
A:codeigniter-base-model by  @ jamierum below
原文介绍:My CodeIgniter Base Model is an extended CI_Model class to use in your CodeIgniter applications. It provides a full CRUD base to make developing database interactions easier and quicker, as well as an event-based observer system, in-model data validation, intelligent table name guessing and soft delete.


我的理解:其实就是一个ORM(关系数据库映射),不懂的话,这样理解,就是模型类的扩展,把一些常用的CURD封装起来,减少每个模型类都要写一些CURD的东东,支持JOIN多表查询,数据验证等,简单而又不失强大


简单的使用例子(英文,很容易看懂):http://www.codebyjeff.com/blog/2 ... -rumbelows-my_model


update:2012-10-17 22:05


B:model:https://github.com/ccschmitz/codeIgniter-base-model 这个比较简单 update:2012-10-18 11:50
C:model:https://github.com/jesseterry/CodeIgniter-CRUD-Model 这个思路等值得研究,文档介绍也比较好 update:2012-10-18 11:54
D:model:https://github.com/segersjens/CodeIgniter-My-Model 文档也是有的,继续参考 update:2012-10-18 11:58
E:https://github.com/appleboy/CodeIgniter-MY-Model update:2012-10-18 18:10
F:Built-in Model Validation 本论坛链接(中文翻译)


3、codeigniter-curl by @philsturgeon
CodeIgniter-cURL is a CodeIgniter library which makes it easy to do simple cURL requests and makes more complicated cURL requests easier too.


Requirements
PHP 5.1+
CodeIgniter 1.7.x - 2.0-dev
PHP 5 (configured with cURL enabled)
libcurl


我的理解:这个不用介绍了吧,就是通过URL(本地或外链)操作网页内容,可以获取网页内容、模拟登陆等


4、CodeIgniter-Bootstrap
CodeIgniter Bootstrap kick starts the development process of the web development process by including Twitter Bootstrap into CodeIgniter. It also includes certain libraries such as AWS and Facebook in-case you are developing applications requiring those SDKs. So stop writing the same code over again and start working on your idea.
CodeIgniter Bootstrap follows the path where it lazy loads libraries. Though the project footprint may be large, the memory footprint will still be extremely light. Try not to autoload libraries as it does not follow the CodeIgniter convention (though some libraries do make sense to autoload).


我的理解:推荐看看里面使用的一些类库和Helpers扩展,可以学到很多东东


5、codeigniter-cache
CodeIgniter-Cache is a partial caching library for CodeIgniter. It allows you to write and get chunksof data to and from the filesystem. By storing complex or large chunks of data in serialized formon the file system you can relieve stress from the database or simply cache Twitter calls.


Requirements
PHP 5.2.x
CodeIgniter 2.0.x to 2.1.0


我的理解:初略看了一些,是文件缓存的实现方法,有删除功能哦


B:https://github.com/joelcox/codeigniter-redis update:2012-10-18 22:34


6、CodeIgniter-Message-Library
A:https://github.com/segersjens/CodeIgniter-Message-Library update:2012-10-18 17:12


B:https://github.com/appleboy/CodeIgniter-Nexmo-Message update:2012-10-18 17:12
What is Nexmo?
Nexmo is a cloud based SMS API that lets you send and receive high volume of messages at wholesale rates. Web Site: http://www.nexmo.com/index.html
How It Works?


C:https://github.com/darkhouse/codeigniter-message


Please vist http://www.nexmo.com/how_it_works/index.html


7、CodeIgniter-Advanced-Images
https://github.com/segersjens/CodeIgniter-Advanced-Images update:2012-10-18 17:12


8、短网址
https://github.com/appleboy/CodeIgniter-Google-URL-Shortener-API


9、国际化语言(i18n)
A:https://github.com/cjando/Codeig ... ationalization_i18n
B:


10、验证码(Captcha)
A:https://github.com/ggeorgaras/RECaptcha-for-Codeigniter


11、模板类(Template)
A:https://github.com/ggeorgaras/CodeIgniter-Template-Library
B:http://phpti.com/ 单个文件写了一些function 所以可以直接作为helpers来使用
C:https://github.com/philsturgeon/codeigniter-template


12、JS类库
A:https://github.com/ggeorgaras/CodeIgniter-jQuery-Validator


13、
A:https://github.com/gorelative/ci-navigation


14、Session
A:https://github.com/appleboy/CodeIgniter-Native-Session 官网


15、采集
A:搜搜:phpquery(非常强大)
B:搜索:snoopy(也强大)
C:搜索:TextPatternParser(简单)
以上ABC可以参考:http://codeigniter.org.cn/forums/thread-14149-1-1.html 的一些讲解


16、面包屑
A:https://github.com/richarddavey/codeigniter-breadcrumb
B:https://github.com/benedmunds/CodeIgniter-Breadcrumbs-Library


17、配置类
我们设计系统的时候,难免都会遇到后台系统设置的问题,例如网站开启关闭按钮、网站名称设置等,那么以下内容可以参考
A:http://www.hiceon.com/index.php/ ... nced-configuration/ (Codeigniter Setting 增强配置类)国人写的


18、关键词过滤类
A:https://github.com/cnsaturn/codeigniter-blacklist-library @saturn CI黑名单过滤库 Update 2012-10-30 11:54


19、Hook(钩子)
A:http://codeigniter.org.cn/forums/thread-11528-1-1.html @baiyuxiong 在CI中使用自定义钩子(埋钩子,钩子的介绍文档中只介绍了7个挂钩点,如果我要新增挂钩点怎么办呢,比如在登录之后,我想更新该用户的登录次数,这篇文章看了就明白了,但是文档的功能里面介绍:CodeIgniter 的钩子功能使得您可以在不修改系统核心文件的基础上来改变或增加系统的核心运行功能,这个是核心的功能,貌似缺少了说扩展) Update 2012-11-02 15:33


20、移动设置类库
A:Detect For Codeigniter 弥补CI对移动设备甄别的不足 Update 2013-01-23 11:15


三、有文档的使用CI开发的系统


1、FUEL-CMS 英文 中文
2、https://github.com/ci-bonfire/Bonfire 这个啥有空研究,无意间发现的
3、CI-CMS This project is a migration of the ci-cms content management systemfrom Code Igniter 1.7.x and Matchbox to Code Igniter 2.x and Modular
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值