Quantcast
Channel: Torry's Delphi Pages News: Components
Viewing all articles
Browse latest Browse all 1736

NG SerializerPack v.2014.1 added

$
0
0
NG SerializerPack provides the ability to serialize/de-serialize Delphi objects into various storage formats. Any public (not only published.) property can be automatically handled by the engine. This allows to write data applications in a more object oriented and simpler way. NG SerializerPack uses enhanced RTTI features and supports latest features of Delphi/C++Builder runtime (like e.g. Generics)..

Common use cases of a serialization engine are:

  • Saving/loading application options / configuration data which are represented by typed objects.
  • Sending business objects via net between client and server.
  • Saving/loading CAD-like application documents, since they are usually represented at runtime in a tree-like object model.
  • ect.
New in release 2014
  • XML-support for additional 3rd party library (NativeXML) - now 3 different XML providers are supported..
  • NEW: JSON support. Either via Delphi built in JSON access (e.g. TJSONValue) or 3rd party (SuperObject)..
  • NEW: Skipping of unknown members / advanced error handling during de-serialization process is now available.
    • TDeserializer.SkipValue and TBinaryData.SkipAll methods has been added to allow users skip values while manual de-serialization. Corresponding protected method has been implemented in all supported formats. Skipping data has been optimized for speed in a binary format.
    • OnMemberNotFound event has been added to TDeserializer class, which is executed when RTTI-based de-serialization process is unable to find de-serializing member.
    • SkipAllAttribute and SkipMemberAttribute has been introduced. They are designed to be used as type level attributes, and allows to specify, which member names to skip without exception while de-serializing.
The package contains now 7 extensive demo projects. One of them demonstrates a common use of NG Serialization Pack: Transmitting business objects between client and server applications. An extensive object model is created and usage of many supported attributes and creation of converter classes are demonstrated. One more simpler project demonstrates simplicity of (de-)serializing generic TObject and TObjectList descendants from/to XML files.

A web service demo was added which loads and transfers data from the Jamendo music platform directly into defined TAlbum and TTrack classes. All other demos represent adapted versions of the different supported target formats (JSON/XML 3rd party libraries).

The package contains now 7 extensive demo projects. One of them demonstrates a common use of NG Serialization Pack: Transmitting business objects between client and server applications. An extensive object model is created and usage of many supported attributes and creation of converter classes are demonstrated. One more simpler project demonstrates simplicity of (de-)serializing generic TObject and TObjectList descendants from/to XML files.

A web service demo was added which loads and transfers data from the Jamendo music platform directly into defined TAlbum and TTrack classes.

All other demos represent adapted versions of the different supported target formats (JSON/XML 3rd party libraries).

Product License: C
Source: On purchase/registration
File Status: Trial (work while IDE is running)

Compatible with: CBXE CBXE2 CBXE3 CBXE4 CBXE5 DXE DXE2 DXE3 DXE4 DXE5


Viewing all articles
Browse latest Browse all 1736

Trending Articles