欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  后端开发

CodeIgniter 3.0.6 发布,PHP 的 MVC 框架

程序员文章站 2022-05-02 09:05:29
...
CodeIgniter 3.0.6 发布了。

改进日志:

  • General Changes

    • Added a destructor to Cache Library ‘memcached’ driver to ensure that Memcache(d) connections are properly closed.

    • Deprecated Form Validation Library method prep_for_form() .

Bug fixes for 3.0.6

  • Fixed a bug (#4516) - Form Validation Library always accepted empty array inputs.

  • Fixed a bug where Session Library allowed accessing $_SESSION values as class properties but isset() didn’t work on them.

  • Fixed a bug where Form Validation Library modified the $_POST array when the data being validated was actually provided via set_data() .

  • Fixed a bug (#4539) - Migration Library applied migrations before validating that all migrations within the requested version range are valid.

  • Fixed a bug (#4539) - Migration Library triggered failures for migrations that are out of the requested version range.

下载地址: https://codeigniter.com/download

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 即可。