手机版
你好,游客 登录 注册
背景:
阅读新闻

Cphalcon v4.0.0-alpha.2 发布,PHP C扩展Web框架

[日期:2019-02-04] 来源:Linux公社  作者:醉落红尘 [字体: ]

Cphalcon v4.0.0-alpha.2已经发布,Cphalcon是一个开源Web框架,作为PHP语言C扩展,它提供更高的性能和更低的资源消耗。

特征:

低开销
与传统框架相比,内存消耗和CPU消耗低
MVC和HMVC
模块,组件,模型,视图和控制器
依赖注入
依赖注入和服务的位置,它本身就是一个容器。
休息
在这种情况下,您可以使用微堆栈或完整堆栈应用程序来实现您的目标。此外,还有一组功能强大的HTTP帮助程序。
自动加载磁带机
提供PSR-4之后的PHP类的自动加载机制。
路由器
Phalcon\Mvc\Router提供高级路由功能。

更新日志

Added

  • Added notFound() method in Phalcon\Translate\Adapter\NativeArray which returns the key requested if not found. The method can be overriden when extending the class, returning what the developer needs #13007
  • Added Phalcon\Service\LocatorPhalcon\Service\LocatorInterface and Phalcon\Service\LocatorFactoryInterface to allow for the creation of service locators and factories throughout the application #13771
  • Added Phalcon\Http\Request::setParameterFilters. It allows you to preset filters for specific input (i.e. idname etc.). You can then retrieve the automatcally sanitized values using Phalcon\Http\Request::getFilteredQueryPhalcon\Http\Request::getFilteredPost and Phalcon\Http\Request::getFilteredPut #13488

Fixed

  • Fixed Phalcon\Mvc\Micro::handle to properly return a response object #13712
  • Fixed Phalcon\Cache\Backend\Libmemcached returning “empty” values being as null when they could be 0false or empty string#13497
  • Fixed session adapters to properly implement SessionHandlerInterface::write
  • Fixed Phalcon\Session\Manager to not interact with $_SESSION variable if the session has not been started #13718#13520
  • Fixed Phalcon\Cli\Console class not found error if handling the same module twice #13724
  • Fixed Phalcon\Cache\Backend\Libmemcached returning “empty” values being as null when they could be 0false or empty string#13497
  • Fixed Phalcon\Mvc\View\Engine\Volt\Compiler::functionCall building the incorrect code for the following tags; select, and select_static #13459
  • Fixed Phalcon\Tag\Select not rendering without any options.

更多

下载

Linux公社的RSS地址https://www.linuxidc.com/rssFeed.aspx

本文永久更新链接地址https://www.linuxidc.com/Linux/2019-02/156702.htm

linux
相关资讯       Cphalcon 
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款