KBMMW 4.81.00 发布

简介: 这次更新的速度非常快。 4.81.00 May 9 2015 Important notes (changes that may break existing code) ====================================================== ...

这次更新的速度非常快。

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.
目录
相关文章
|
开发工具 IDE 数据库管理
kbmmw 5.04 发布
增加了一大波功能,消灭了一大堆问题,也肯定引进了一大票BUG.We are happy to announce the release of our latest version of kbmMW. Downloads are readily available for holders of active SAU's from the portal at: https://portal.
1403 0
|
SQL 关系型数据库 网络架构
kbmmw 5.03 发布
版本一小数,功能一大步 We are happy to announce v5.03 of our popular middleware for Delphi and C++Builder. If you like kbmMW, please let others know! Share th...
1187 0
|
消息中间件 SQL 网络架构
kbmmw 5.02发布
5.02.00 May 27 2017 Important notes (changes that may break existing code) ====================================================== * Changed Use class in kbmMWSmartUtils.
1541 0
|
XML 数据格式
kbmmw 5.01 发布
Important notes (changes that may break existing code) ====================================================== * Officially now only supporting XE2 and forward.
1099 0
|
Web App开发
初识kbmmw 5 中httpsys的支持
前两天kbmmw 发布了5.0 版。里面一个非常令人兴奋的特性就是原生内部支持http.sys. 有关http.sys 的介绍及优势,我就在这里不多说了,大家可以参照一下我以前的文章。 关于http.sys 的最大优势就是web 服务,我今天就以此为例,在kbmmw中建一个使用httpsys的 web server。
1243 0
|
SQL
KBMMW 4.93.10 发布
例行更新,主要是bugfix. 4.93.10 June 4 2016 Important notes (changes that may break existing code) ====================================================== * Fixed compilation for D2009.
864 0
|
XML 流计算 数据格式
KBMMW 4.93.00 发布
可喜可敬,作者非常勤奋,跟上了delphi 10.1 的步伐。 4.93.00 April 26 2016 Important notes (changes that may break existing code) ===============================...
830 0
|
Linux C++ Java
KBMMW 4.92.00 发布
We are happy to announce the release of kbmMW Professional and Enterprise Edition. Yet again kbmMW continues to set the bar for what an n-tier p...
766 0
|
XML JSON 网络性能优化
KBMMW 4.90.00 发布
kbmMW is a portable, highly scalable, high end application server andenterprise architecture integration (EAI) development framework forWin32, .
821 0
|
Linux Android开发 Unix
KBMMW 4.84.00 发布
kbmMW is a portable, highly scalable, high end application server and enterprise architecture integration (EAI) development framework for Win32, .
718 0