高性能 PHP 框架,Phalcon 2.0.7 發布

jopen 9年前發布 | 7K 次閱讀 Phalcon

PhalconPHP 是一個使用 C 擴展開發的 PHP Web 框架,提供高性能和低資源占用。

Phalcon 是一個開源的、全堆棧的 PHP 5 框架,使用 C 擴展編寫,專門為高性能優化。無需學習和使用 C 語言,所有函數都以 PHP 類的方式曾現。Phalcon 是一個松耦合的框架。

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

Phalcon 2.0.7 發布,此版本更新內容如下:

  • Image\Adapter\Gd::save() no longer fails if the method or the instance is created with a filename without an extension

    </li>

  • Fixed segfault in Image\Adapter\Imagick::text()

    </li>

  • Exceptions thrown in Volt compiler are now Phalcon\Mvc\View\Engine\Exception

    </li>

  • Now you can import macros from other files using {% include "file.volt" %}

    </li>

  • Undefined function calls fall back to macro calls in Volt

    </li>

  • Automatic bound parameters in Mvc\Model\Criteria now uses a different prefix than Mvc\Model\Query\Builder to avoid collissions

    </li>

  • Added Cache\Multiple::flush() to flush the cache backends added to the multiple system

    </li>

  • Fixed 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

    </li>

  • Added an optional parameter removeData to Session\Adapter::remove() to remove any data in $_SESSION that belongs to the uniqueId or the whole session data

    </li>

  • Now session variables making use of unique prefixes use # as internal separator

    </li>

  • Added parameter the changing operator for conditions in method Mvc\Model\Criteria::fromImput() #10749

    </li>

  • Added \Phalcon\Queue\Beanstalk::listTubes() to get list of a tubes

    </li>

  • Added a fix to avoid that a table present in many sub-queries causes invalid SQL generation

    </li>

  • Add CookieInterface, update Cookie and Cookies to use this interface - Decoupling Cookies and Cookie - Check Session state before using it in Cookie. #10789

    </li>

  • Fixed merge of Phalcon\Config instances containing objects different than Phalcon\Config compatible instances

    </li>

  • When creating tables in Postgres, inline PRIMARY keys are now escaped properly#10797

    </li>

  • Fixed incorrect generation of SELECT COUNT(\*) causing unexpected exceptions when phqlLiterals is disabled

    </li>

  • Added Phalcon\Security\Random - secure random number generator class. Provides secure random number generator which is suitable for generating session key in HTTP cookies, etc

    </li> </ul>

    下載:https://github.com/phalcon/cphalcon/archive/phalcon-v2.0.7.zip


     本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
     轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
     本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!