高性能 PHP 框架,Phalcon 2.0.3 發布
PhalconPHP 是一個使用 C 擴展開發的 PHP Web 框架,提供高性能和低資源占用。
Phalcon 是一個開源的、全堆棧的 PHP 5 框架,使用 C 擴展編寫,專門為高性能優化。無需學習和使用 C 語言,所有函數都以 PHP 類的方式曾現。Phalcon 是一個松耦合的框架。
使用時需在 php.ini 中添加:extension=phalcon.so
Phalcon 2.0.3 發布,此版本是穩定版本,更新內容如下:-
Added support for Behaviors in Phalcon\Mvc\Collection
-
Added SoftDelete and Timestampable behaviors to Collections
-
Implemented Namespace aliases in PHQL
-
Now you can define if a virtual foreign key must ignore null values or not
-
Fixed bug that added two ? in Mvc\Url::get when using query parameters (#10421)
-
Now string attributes in models can be marked to allow empty string values (#440)
-
Added an option to return the SQL to be generated from a Mvc\Model\Query instance (#1908)
-
Fix doesn't correct column domain in
Phalcon\Db\Dialect::select()
see #10439 -
Added support for DOUBLE type in MySQL
-
Phalcon\Tag\Select now handles array values as strings avoiding that zero will be handled as empty string (#2921)
-
PHQL now supports CASE/WHEN/ELSE expressions (#651)
-
Fixed bug that passes non-string values to Phalcon\Crypt::encrypt from Phalcon\Http\Cookies
-
Fixed bug that didn't pass the schema name in the sequence name (PostgreSQL)
-
Attribute persistent is now removed from the DNS attributes in PDO connections to avoid errors in PostgreSQL (#10484)
下載:https://github.com/phalcon/cphalcon/archive/phalcon-v2.0.3.zip。
來自:http://www.oschina.net/news/63258/phalcon-2-0-3