发布于 2015-08-18 00:31:01 | 190 次阅读 | 评论: 0 | 来源: 网友投递
Phalcon开源PHP框架
PhalconPHP 是一个使用 C 扩展开发的 PHP Web 框架,提供高性能和低资源占用。
Phalcon 2.0.7 发布,此版本更新内容如下:
ImageAdapterGd::save()
no longer fails if the method or the instance is created with a filename without an extension
Fixed segfault in ImageAdapterImagick::text()
Exceptions thrown in Volt compiler are now PhalconMvcViewEngineException
Now you can import macros from other files using {% include "file.volt" %}
Undefined function calls fall back to macro calls in Volt
Automatic bound parameters in MvcModelCriteria
now uses a different prefix than MvcModelQueryBuilder
to avoid collissions
Added CacheMultiple::flush()
to flush the cache backends added to the multiple system
Fixed SessionBag::remove()
SessionBag::destroy()
eliminates any temporary data in the variables bag
afterCreate
/afterUpdate
are only called if saving related records was successful
Added an optional parameter removeData to SessionAdapter::remove()
to remove any data in $_SESSION
that belongs to the uniqueId or the whole session data
Now session variables making use of unique prefixes use #
as internal separator
Added parameter the changing operator for conditions in method MvcModelCriteria::fromImput()
#10749
Added PhalconQueueBeanstalk::listTubes()
to get list of a tubes
Added a fix to avoid that a table present in many sub-queries causes invalid SQL generation
Add CookieInterface
, update Cookie
and Cookies
to use this interface - Decoupling Cookies
and Cookie
- Check Session
state before using it in Cookie
. #10789
Fixed merge of PhalconConfig
instances containing objects different than PhalconConfig
compatible instances
When creating tables in Postgres, inline PRIMARY keys are now escaped properly#10797
Fixed incorrect generation of SELECT COUNT(*)
causing unexpected exceptions when phqlLiterals
is disabled
Added PhalconSecurityRandom
- secure random number generator class. Provides secure random number generator which is suitable for generating session key in HTTP cookies, etc
下载:https://github.com/phalcon/cphalcon/archive/phalcon-v2.0.7.zip。
PhalconPHP 是一个使用 C 扩展开发的 PHP Web 框架,提供高性能和低资源占用。
Phalcon 是一个开源的、全堆栈的 PHP 5 框架,使用 C 扩展编写,专门为高性能优化。无需学习和使用 C 语言,所有函数都以 PHP 类的方式曾现。Phalcon 是一个松耦合的框架。
使用时需在 php.ini 中添加:extension=phalcon.so