智能化下的产物,无人棋牌室
CodeIgniter 3.0.1 发布,此版本主要更新内容如下:
- Core
- Added DoS mitigation to :php:func:`hash_pbkdf2()` :doc:`compatibility function <general/compatibility_functions>`.
- Database
- Added
list_fields()
support for SQLite (‘sqlite3′ and ‘pdo_sqlite’ drivers). - Added SSL connection support for the ‘mysqli’ and ‘pdo_mysql’ drivers.
- Added
- Libraries
- Changed method
set_error()
to accept a custom log level (defaults to ‘error’). - Errors “no_file_selected”, “file_partial”, “stopped_by_extension”, “no_file_types”, “invalid_filetype”, “bad_filename” are now logged at the ‘debug’ level.
- Errors “file_exceeds_limit”, “file_exceeds_form_limit”, “invalid_filesize”, “invalid_dimensions” are now logged at the ‘info’ level.
- :doc:`File Uploading Library <libraries/file_uploading>` changes:
- Added ‘is_resource’ to the available expectations in :doc:`Unit Testing Library <libraries/unit_testing>`.
- Changed method
- Helpers
- Added Unicode support to :doc:`URL Helper <helpers/url_helper>` function:php:func:`url_title()`.
- Added support for passing the “extra” parameter as an array to all :doc:`Form Helper <helpers/form_helper>` functions that use it.
- Core
- Added support for defining a list of specific query parameters in
$config['cache_query_string']
for the :doc:`Output Library <libraries/output>`. - Added class existence and inheritance checks to
CI_Loader::model()
in order to ease debugging in case of name collisions.
- Added support for defining a list of specific query parameters in
更多改进请看发行说明,下载:https://github.com/bcit-ci/CodeIgniter/archive/3.0.1.zip。
CodeIgniter 是一个简单快速的PHP MVC 框架。EllisLab 的工作人员发布了 CodeIgniter。许多企业尝试体验过所有 PHP MVC 框架之后,CodeIgniter 都成为赢家,主要是由于它为组织提供了足够的自由支持,允许开发人员更迅速地工作。
自由意味着使用 CodeIgniter 时,您不必以某种方式命名数据库表,也不必根据表命名模型。这使 CodeIgniter 成为重构遗留 PHP 应用程序的理想选择,在此类遗留应用程序中,可能存在需要移植的所有奇怪的结构。
CodeIgniter 不需要大量代码(1.6.2 版本仅为 2.8 MB,其中的 1.3 MB 是可以删除的用户文档),也不会要求您插入类似于 PEAR 的庞大的库。它在 PHP 4 和 PHP 5 中表现同样良好,允许您创建可移植的应用程序。最后,您不必使用模板引擎来创建视图 — 只需沿用旧式的 HTML 和 PHP 即可。