红联Linux门户
Linux帮助

Phalcon 2.0.2发布,高性能PHP框架

发布时间:2015-05-26 11:26:51来源:红联作者:empast
Phalcon 2.0.2 发布,此版本包括很多新功能,bug修复和性能方面的改进:

Added `stats()` methods to Beanstalk

Fixed segfault when a docblock does not have annotations #10301

Fixed wrong number of parameters passed when triggering an event in Mvc\Collection

Now Mvc\Model checks if an attribute has a default value associated in the database and ignores it from the insert/update generated SQL

Readded Http\Request::hasPut() (#10283)

Phalcon\Text: Added method reduceSlashes() - Reduces multiple slashes in a string to single slashes

Phalcon\Text: Added method concat() - Concatenates strings using the separator only once without duplication in places concatenation

Added conditional on Session adapter start() to check if the session has already been started

Added status() function in Session adapter to return the status of the session (disabled/none/started)

Implementation of subqueries as expressions in PHQL

Performance improvements focused on PHP 5.6

PhalconPHP 是一个使用 C 扩展开发的 PHP Web 框架,提供高性能和低资源占用。

Phalcon 是一个开源的、全堆栈的 PHP 5 框架,使用 C 扩展编写,专门为高性能优化。无需学习和使用 C 语言,所有函数都以 PHP 类的方式曾现。Phalcon 是一个松耦合的框架。

使用时需在 php.ini 中添加:extension=phalcon.so

软件详情:http://blog.phalconphp.com/post/119885725880/phalcon-2-0-2-released

下载地址:https://github.com/phalcon/cphalcon/archive/phalcon-v2.0.2.zip

来自:开源中国社区
文章评论

共有 0 条评论