这次更新的速度非常快。

4.81.00 May 9 2015

 Important notes (changes that may break existing code)
======================================================
* Changed TkbmMWOnFileAccess event to allow rewriting Path.
TkbmMWOnFileAccess = procedure (Sender:TObject; var Path:string;
var AccessPermissions:TkbmMWFileAccessPermissions) of object;
* Made many more things case sensitive in the XML parser and handlers
to adhere correctly to XML standards.
Thus the attribute ID is different from the attribute id now! New stuff
=========
- Added JQueryEscaping:boolean property (default false) to
TkbmMWJSONStreamer. It will double escape all backslashes (\) to
adhere to jQuery non standards. Notice that double escaping is NOT
JSON standards, but a defacto requirement when using jQuery as the
recieving end.
- Added optional AJQueryEscaping:boolean argument to
kbmMWJSONQuoteString global function.
- Added support for NaN and INF in kbmMWFloatToString,
kbmMWStringToFloat and kbmMWTryStringToFloat.
- Added new optional additional kbmMW_Element_Flags argument to
kbmMW_Element attribute. Eg.
TMyObject = class...
[kbmMW_Element('somename',[mwefData])]
MyField:integer; {kbmMW_Element('someothername')]
MyOtherField:integer;
end;
This will marshal/unmarshal MyField as data of the TMyObject instead
of a sub element called somename.
Eg. <TMyObject>20
<someothername>30</someothername>
</TMyObject>
See the new sample: DynamicXMLMarshalling.
- Added new optional additional TypeStoreName and TypeValue arguments
to kbmMW_Root attribute which are to be used in combination with the
new kbmMW_ConditionalType attribute.
TypeStoreName refers to a local string field in the object which
will hold/be set to the type of the object while
marshalling/unmarshalling.
TypeValue is the value that will be set in that field.
The new kbmMW_ConditionalType attribute takes a condition and a
string value indicating the name of the type of the object if the
condition is evaluated to true. A condition can be a simple equal
statement or be a complex condition with AND and OR and multiple
statements.
See the new sample: DynamicXMLMarshalling. Changes/minor additions
=======================
- Changed TkbmMWOnFileAccess event to allow rewriting Path.
TkbmMWOnFileAccess = procedure (Sender:TObject; var Path:string;
var AccessPermissions:TkbmMWFileAccessPermissions) of object;
Notice that if you do have code using this event, you should cut out
the event code, save, then doubleclick the event handler again and
paste in your old code.
Also notice that the path is always relative to the defined RootPath
of the service.
The RootPath is defined in the TkbmMWFileServiceDefinition returned
when registering the file service.
- Changed TkbmMWCustomSAXXMLParser to inherit from TInterfacedObject
and removed custom referencecounting.
This also affects TkbmMWDOMXML which descends from
TkbmMWCustomSAXXMLParser.
- Made a number of properties available via the IkbmMWDOMXMLParser
interface:
Root, Top,,IgnoreDuplicateIDs, AutoIndent, PreserveWhiteSpace,
AutoLineFeed, StreamBOM, AutoDetectEncoding.
- Changed TkbmMWDOMXMLNode to allow access to ID and Ref properties as
attributes (id, ref).
Changing the attribute id or ref will thus also affect the
properties id and ref.
- Removed handling href attributes as ref attribute in
TkbmMWDOMXMLNode. href is now an ordinary attribute, without special
handling.
- Made many more things case sensitive in the XML parser and handlers
to adhere correctly to XML standards.
Thus the attribute ID is different from the attribute id now!
- Changed so XML GetAsInt, GetAsInt64, GetAsFloat, GetAsDuration,
GetAsBoolean and GetAsDataTime automatically filter out all
whitespace characters (including cr/lf) before attempting to
interpret value.
- Changed XML parsing so if PreserveWhiteSpace property is false, then
only leading and trailing whitespace is filtered. Fixes
=====
- Fixed leak of TkbmMWHTTPURLRewrites object instance in
TkbmMWHTTPServiceDefinition.
- Fixed JSON marshalling of collection objects.
- Fixed IOS Macapi.Foundation compilation issue in kbmMWGlobal.pas.
- Fixed bug in AttribByNameIsNil property in kbmMWXML.pas.

KBMMW 4.81.00 发布的更多相关文章

  1. kbmmw 5.05.00 发布

    新年前最后几天,kbmmw 发布了新版本,增加一大波功能.we are happy to announce v5.05.50 of our popular middleware for Delphi ...

  2. KBMMW 4.82.00 发布

    作者最近加紧了更新进度,赞一个. 时间都去哪儿了? 还没好好看4.81, 新版就来了. 这个版本主要是增强日志管理,已经强大到替换delphi 本身的异常处理了. We are happy to an ...

  3. KbmMW 4.30.00 发布

    今天早上,KbmMW发布了4.30.00 版,这个版本开始支持XE4 的WIN/WIN64/OSX. 暂时不支持ios开发,同时加强了通过JSON 的对象序列化.还有就是解决了我提交的几个有关 汉字处 ...

  4. KBMMW 4.92.00 发布

    We are happy to announce the release of kbmMW Professional and Enterprise Edition. Yet again kbmMW c ...

  5. KBMMW 4.90.00 发布

    kbmMW is a portable, highly scalable, high end application server andenterprise architecture integra ...

  6. KBMMW 4.84.00 发布

    kbmMW is a portable, highly scalable, high end application server and enterprise architecture integr ...

  7. KBMMW 4.83.00 发布

    新版本又来了,端午节都不让大家过好:) 这次终于支持ios 64了,不用我再手工改了. Components4Developers is a company established in 1999 w ...

  8. KBMMW 4.80.00 发布

    一大波更新来了. 4.80.00 March 30 2015 Important notes (changes that may break existing code)        ======= ...

  9. KBMMW 4.70.00 发布

    We are happy to announce the release of kbmMW v. 4.70.00 Professional and Enterprise Edition. kbmMW ...

随机推荐

  1. leetcode166

    public class Solution { public String fractionToDecimal(int numerator, int denominator) { HashMap< ...

  2. git-采集编码搜索

    https://github.com/search?utf8=%E2%9C%93&q=%E9%87%87%E9%9B%86%E7%BC%96%E7%A0%81&type= https: ...

  3. 5 Python3 函数进阶&迭代器与生成器

    1.函数进阶 1.1.名称空间 又名name space, 顾名思义就是存放名字的地方,存什么名字呢?举例说明,若变量x=1,1存放于内存中,那名字x存放在哪里呢?名称空间正是存放名字x与1绑定关系的 ...

  4. SQL Server - 最佳实践 - 参数嗅探问题 转。

    文章来自:https://yq.aliyun.com/articles/61767 先说我的问题,最近某个存储过程,暂定名字:sp_a 总是执行超时,sp_a带有一个参数,暂定名为 para1 var ...

  5. delphi 中判断对象是否具备某一属性

    Uses   TypInfo;         {$R   *.dfm}         procedure   TForm1.Button1Click(Sender:   TObject);     ...

  6. delphi修改QQ快捷方式的目标地址达到在启动QQ的同时也能运行自己想要启动的EXE可执行文件

    delphi修改QQ快捷方式的目标地址达到在启动QQ的同时也能运行自己想要启动的EXE可执行文件. 直接上代码,自已体会 !! Unit1.pas代码如下: unit Unit1; interface ...

  7. SpringCloud组件和概念介绍1

    一:什么是微服务(Microservice) 微服务英文名称Microservice,Microservice架构模式就是将整个Web应用组织为一系列小的Web服务.这些小的Web服务可以独立地编译及 ...

  8. FIFO 、LRU、LFU三种算法

    提到缓存,有两点是必须要考虑的:(1)缓存数据和目标数据的一致性问题.(2)缓存的过期策略(机制).     其中,缓存的过期策略涉及淘汰算法.常用的淘汰算法有下面几种:(1)FIFO:First I ...

  9. Web标准:三、二列和三列布局

    知识点: 1.二列自适应宽度 2.二列固定宽度 3.二列固定宽度居中 4.xhtml的块级元素(div)和内联元素(span) 5.float属性 6.三列自适应宽度 7.三列固定宽度 8.三列固定宽 ...

  10. 网站连接数据库连接不上原因是ip地址与端口号格式不对

    192.168.1.1:8080这样连接一直出错, 后来改为192.168.1.1,8080就可以了 原因是格式不对,把冒号给为逗号就可以了