高性能 PHP 框架,Phalcon 2.0.7 發布
PhalconPHP 是一個使用 C 擴展開發的 PHP Web 框架,提供高性能和低資源占用。
Phalcon 是一個開源的、全堆棧的 PHP 5 框架,使用 C 擴展編寫,專門為高性能優化。無需學習和使用 C 語言,所有函數都以 PHP 類的方式曾現。Phalcon 是一個松耦合的框架。
使用時需在 php.ini 中添加:extension=phalcon.so
Phalcon 2.0.7 發布,此版本更新內容如下:-
</li>Image\Adapter\Gd::save()
no longer fails if the method or the instance is created with a filename without an extension -
Fixed segfault in
</li>Image\Adapter\Imagick::text()
-
Exceptions thrown in Volt compiler are now
</li>Phalcon\Mvc\View\Engine\Exception
-
Now you can import macros from other files using
</li>{% include "file.volt" %}
-
Undefined function calls fall back to macro calls in Volt
</li> -
Automatic bound parameters in
</li>Mvc\Model\Criteria
now uses a different prefix thanMvc\Model\Query\Builder
to avoid collissions -
Added
</li>Cache\Multiple::flush()
to flush the cache backends added to the multiple system -
Fixed
</li>Session\Bag::remove()
-
</li>Session\Bag::destroy()
eliminates any temporary data in the variables bag -
</li>afterCreate
/afterUpdate
are only called if saving related records was successful -
Added an optional parameter removeData to
</li>Session\Adapter::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
</li>#
as internal separator -
Added parameter the changing operator for conditions in method
</li>Mvc\Model\Criteria::fromImput()
#10749 -
Added
</li>\Phalcon\Queue\Beanstalk::listTubes()
to get list of a tubes -
Added a fix to avoid that a table present in many sub-queries causes invalid SQL generation
</li> -
Add
</li>CookieInterface
, updateCookie
andCookies
to use this interface - DecouplingCookies
andCookie
- CheckSession
state before using it inCookie
. #10789 -
Fixed merge of
</li>Phalcon\Config
instances containing objects different thanPhalcon\Config
compatible instances -
When creating tables in Postgres, inline PRIMARY keys are now escaped properly#10797
</li> -
Fixed incorrect generation of
</li>SELECT COUNT(\*)
causing unexpected exceptions whenphqlLiterals
is disabled -
Added
</li> </ul>Phalcon\Security\Random
- 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。
本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!