发布于 2017-06-20 03:52:26 | 308 次阅读 | 评论: 0 | 来源: 网友投递

这里有新鲜出炉的Phalcon中文指南,程序狗速度看过来!

Phalcon开源PHP框架

PhalconPHP 是一个使用 C 扩展开发的 PHP Web 框架,提供高性能和低资源占用。


PhalconPHP 3.2.0 正式发布了,

下载地址:

https://github.com/phalcon/cphalcon/archive/v3.2.0.tar.gz

更新内容:

  • Phalcon will now triggerE_DEPREACATEDby usingPhalconMvcModelCriteria::addWhere,PhalconDebug::getMajorVersion,PhalconDispatcher::setModelBinding,PhalconTag::resetInput,PhalconMvcModelValidator::__construct

  • Added Factory Adapter loaders #11001

  • Added ability to sanitize URL toPhalconFilter

  • Added missed$typeargument to interfacePhalconMvcModelQueryBuilderInterface::join()to specify type join

  • AddedPhalconMvcModel::hasUpdatedandPhalconMvcModel:getUpdatedFields, way to check if fields were updated after create/save/update

  • Added support for having option inPhalconPaginatorAdapterQueryBuilder#12111

  • AddedPhalconConfig::pathto get a value using a dot separated path #12221

  • Added service provider interface to configure services by context #12783

  • Added the ability to load services from yaml (PhalconDi::loadFromYaml) and php array (PhalconDi::loadFromPhp) files, so we can keep the references cleanly separated from code #12784

  • AddedPhalconCacheBackendApcuto introduce pure support of APCu #12098#11934

  • AddedPhalconAnnotationsAdapterApcuto introduce pure support of APCu #12098

  • Added option to disable snapshot update on create/save usingPhalconMvcModel::setup(['updateSnapshotOnSave' => false])orphalcon.orm.update_snapshot_on_save = 0inphp.ini

  • AddedPhalconMvcModelManager::setModelPrefixandPhalconMvcModelManager::getModelPrefixto introduce tables prefixes #10328

  • Added methodsPhalconMvcModelQueryBuilder::andHaving,PhalconMvcModelQueryBuilder::orHaving,PhalconMvcModelQueryBuilder::betweenHaving,PhalconMvcModelQueryBuilder::notBetweenHaving,PhalconMvcModelQueryBuilder::inHaving,PhalconMvcModelQueryBuilder::notInHaving

  • Added parametersskip_on_insert,skip_on_updateandallow_empty_stringand fixed a bug for renamed integer columns inPhalconMvcModelMetaDataStrategyAnnotations::getMetaData

  • Added way to disable setters inPhalconMvcModel::assignby usingPhalconMvcModel::setupor ini option

  • Added ability to sanitize special characters toPhalconFilter

  • Added a newPhalconMvcModelBinder::findBoundModelmethod. Params fetched from cache are being added tointernalCacheclass property inPhalconMvcModelBinder::getParamsFromCache

  • AddedPhalconMvcModelCriteria::createBuilderto create a query builder from criteria

  • Addeddispatcher::beforeForwardevent to allow forwarding request to the separated module #121#12417

  • AddedPhalconSecurityRandom:base62to provide the largest value that can safely be used in URLs without needing to take extra characters into consideration #12105

  • AddedPhalconAssetsResourceInterface. So nowPhalconAssetsInlineandPhalconAssetsResourceimplementsResourceInterface

  • AddedPhalconAssetsCollection::hasto checks whether the resource is added to the collection or not

  • AddedPhalconCliDispatcher::getOption,PhalconCliDispatcher::hasOptionand the options as parameter to cli handlers

  • AddedPhalconConfigAdapterGroupedto allow usage of multiple configuration files/adapters in a simple format #12884

  • AddedDISTINCTtype forPhalconText::random

  • Added autopadding feature forPhalconCrypt::encryptBase64andPhalconCrypt::decryptBase64#12490

  • Fixed Dispatcher forwarding when handling exception #11819#12154

  • Fixed params view scope for PHP 7 #12648

  • FixedPhalconMvcMicro::handleto prevent attemps to send response twice #12668

  • FixedDi::set,Di::setSharedto allow pass more than 10 arguments #12299

  • FixedPhalconMvcModelMetaDataStrategyAnnotations::getColumnMapswhere only renamed columns where returned if there was one

  • FixedPhalconMvcMicro:handleto correctly handlebeforehandlers #10931

  • FixedPhalconMvcMicro:handleto correctly handleafterBindinghandlers

  • FixedPhalconMvcModel::hasChangedto correctly use it with arrays #12669

  • FixedPhalconMvcModelResultset::deleteto return result depending on success #11133

  • FixedPhalconSessionAdapter::destroyto  correctly clear the$_SESSIONsuperglobal #12326#12835

  • FixedPhalconAssetsCollection:addto avoid duplication of resources #10938#2008

  • FixedPhalconMvcViewEngineVolt::compileto not throw exception in case of absence the file andstatoption is true #12849

  • FixedPhalconMvcCollection::getReservedAttributesto workaround for PHP 7/7.1 bug with static null when extending class phalcon/incubator#762phalcon/incubator#760

  • FixedPhalconCacheBackendRedis::__constructandPhalconCacheBackendRedis::_connectto correctly handle the Redis auth option #12736

  • FixedPhalconMvcCollection::getReservedAttributes, added missing properties to reserved attributes phalcon/incubator#762phalcon/incubator#760

  • FixedPhalconMvcRouterAnnotation::processActionAnnotationto support PATCH request



历史版本 :
Cphalcon 3.3.1 发布,PHP 的 C 扩展 Web 框架
Cphalcon 3.3.0 发布,PHP 的 C 扩展 Web 框架
Phalcon7 发布 Dao7-1.3.2,改进事件机制
Phalcon7 发布 Dao7-1.3.1.1,增强对数据库的读写分离
Phalcon7 发布 Dao7-1.3.1,修复了一些 Bug
PhalconPHP 3.2.2 发布,高性能 PHP 框架
PhalconPHP 3.2.1 正式发布,高性能 PHP 框架
Phalcon7 发布 Dao7-1.3.0.2 重要更新
PhalconPHP 3.2.0 正式发布,高性能 PHP 框架
Phalcon7 发布 Dao7-1.3.0,增强了验证组件功能
Cphalcon 3.1.2 发布,PHP 的 C 扩展 Web 框架
Phalcon7 1.2.4 发布,高性能 PHP 7 框架
最新网友评论  共有(0)条评论 发布评论 返回顶部

Copyright © 2007-2017 PHPERZ.COM All Rights Reserved   冀ICP备14009818号  版权声明  广告服务