发布于 2015-09-25 23:48:49 | 205 次阅读 | 评论: 0 | 来源: 网友投递
Phalcon开源PHP框架
PhalconPHP 是一个使用 C 扩展开发的 PHP Web 框架,提供高性能和低资源占用。
Phalcon 2.0.8 发布,此版本更新内容如下:
Added PhalconSecurityRandom::base58
- to generate a random base58 string
Added PhalconLoggerAdapter::isTransaction()
to check whether the logger is currently in transaction mode or not (Phalcon 1.3 behavior)
PhalconSessionAdapter
now closes the session when the adapter is destroyed (Phalcon 1.3 behavior)
Fixed fetching of data in modes FETCH_CLASS, FETCH_INTO and FETCH_FUNC in PhalconDb
Added missing code property in PhalconValidationMessage
available in Phalcon 1.3.x
Added PhalconDbColumn::TYPE_TIMESTAMP
to allow migrations on these kind of columns
Added PhalconDbColumnInterface::hasDefault
to check if a column has a default value declared in its database column definition
Fixed determining of default value for column in PhalconDbDialectMySQL
, PhalconDbDialectSqlite
andPhalconDbDialectPostgresql
classes
Now PhalconMvcModel::__call invokes finders as in __callStatic
Fixed PhalconDbDialectPostgresql::getColumnDefinition
for BIGINT
and BOOLEAN
data types
Fixed BOOLEAN
default value in PhalconDbDialectPostgresql
Added PhalconValidationValidatorCreditCard
- validation credit card number using luhn algorithm
下载:https://github.com/phalcon/cphalcon/archive/phalcon-v2.0.8.zip。
PhalconPHP 是一个使用 C 扩展开发的 PHP Web 框架,提供高性能和低资源占用。
Phalcon 是一个开源的、全堆栈的 PHP 5 框架,使用 C 扩展编写,专门为高性能优化。无需学习和使用 C 语言,所有函数都以 PHP 类的方式曾现。Phalcon 是一个松耦合的框架。
使用时需在 php.ini 中添加:extension=phalcon.so