Cphalcon v4.0.0-alpha.2已经发布,Cphalcon是一个开源Web框架,作为PHP语言C扩展,它提供更高的性能和更低的资源消耗。
特征:
低开销
与传统框架相比,内存消耗和CPU消耗低
MVC和HMVC
模块,组件,模型,视图和控制器
依赖注入
依赖注入和服务的位置,它本身就是一个容器。
休息
在这种情况下,您可以使用微堆栈或完整堆栈应用程序来实现您的目标。此外,还有一组功能强大的HTTP帮助程序。
自动加载磁带机
提供PSR-4之后的PHP类的自动加载机制。
路由器
Phalcon\Mvc\Router提供高级路由功能。
更新日志
Added
- Added
notFound()method inPhalcon\Translate\Adapter\NativeArraywhich 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\Locator,Phalcon\Service\LocatorInterfaceandPhalcon\Service\LocatorFactoryInterfaceto 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.id,nameetc.). You can then retrieve the automatcally sanitized values usingPhalcon\Http\Request::getFilteredQuery,Phalcon\Http\Request::getFilteredPostandPhalcon\Http\Request::getFilteredPut#13488
Fixed
- Fixed
Phalcon\Mvc\Micro::handleto properly return a response object #13712 - Fixed
Phalcon\Cache\Backend\Libmemcachedreturning “empty” values being asnullwhen they could be0,falseor emptystring. #13497 - Fixed session adapters to properly implement
SessionHandlerInterface::write - Fixed
Phalcon\Session\Managerto not interact with$_SESSIONvariable if the session has not been started #13718, #13520 - Fixed
Phalcon\Cli\Consoleclass not found error if handling the same module twice #13724 - Fixed
Phalcon\Cache\Backend\Libmemcachedreturning “empty” values being asnullwhen they could be0,falseor emptystring. #13497 - Fixed
Phalcon\Mvc\View\Engine\Volt\Compiler::functionCallbuilding the incorrect code for the following tags;select, andselect_static#13459 - Fixed
Phalcon\Tag\Selectnot rendering without any options.
更多…
Linux公社的RSS地址:https://www.linuxidc.com/rssFeed.aspx
本文永久更新链接地址:https://www.linuxidc.com/Linux/2019-02/156702.htm
