010-68421378
sales@cogitosoft.com
Categories
AddFlow  AmCharts JavaScript Stock Chart AmCharts 4: Charts Aspose.Total for Java Altova SchemaAgent Altova DatabaseSpy Altova MobileTogether Altova UModel  Altova MapForce Altova MapForce Server Altova Authentic Aspose.Total for .NET Altova RaptorXML Server ComponentOne Ultimate Chart FX for SharePoint Chart FX CodeCharge Studio ComponentOne Enterprise combit Report Server Combit List & Label 22 Controls for Visual C++ MFC Chart Pro for Visual C ++ MFC DbVisualizer version 12.1 DemoCharge DXperience Subscription .NET DevExpress Universal Subscription Essential Studio for ASP.NET MVC FusionCharts Suite XT FusionCharts for Flex  FusionExport V2.0 GrapeCity TX Text Control .NET for WPF GrapeCity Spread Studio Highcharts Gantt Highcharts 10.0 版 HelpNDoc Infragistics Ultimate  ImageKit9 ActiveX ImageKit.NET JetBrains--Fleet JetBrains-DataSpell JetBrains--DataGrip jQuery EasyUI jChart FX Plus OPC DA .NET Server Toolkit  OSS ASN.1/C Oxygen XML Author  OSS 4G NAS/C, C++ Encoder Decoder Library OSS ASN.1 Tools for C with 4G S1/X2 OSS ASN.1/C# OSS ASN.1/JAVA OSS ASN.1/C++ OPC HDA .NET Server Toolkit OPC DA .Net Client Development Component PowerBuilder redgate NET Developer Bundle Report Control for Visual C++ MFC  Sencha Test SPC Control Chart Tools for .Net Stimulsoft Reports.PHP Stimulsoft Reports.JS Stimulsoft Reports.Java Stimulsoft Reports. Ultimate Stimulsoft Reports.Wpf Stimulsoft Reports.Silverlight SlickEdit Source Insight Software Verify .Net Coverage Validator Toolkit Pro for VisualC++MFC TeeChart .NET Telerik DevCraft Complete Altova XMLSpy Zend Server

Storage Library

Storage Library

Description

Application settings management is a important and base part of any application. Usually TIniFile and TRegistry classes are used for this purpose. Our company is pleased to offer new way for application settings management. Storage library is a collection of components allowing for work with application settings. The concept of Storage library is very elegant and simple:

  • The TrsStorage - main component that hold all data on tree-like in-memory structure;
  • Several TrsStorageData components that exchange data with ini, bin, xml files, registry or TStream;
  • Several TrsStorageClient components that simplify work with data;
  • Several TrsEncryptor components that encode data with various algorithms using.

Using Storage library you can gradually add functionality of application settings management in you application.

 

Main features

  • In-memory tree-like data structure.
  • Data exchange with ini files, registry, binary files, TStream Delphi object, XML files
  • Data types: Boolean, Buffer, Component, Currency, DateTime, Float, Int64, Integer, Persistent, Point, Stream, String, Variant.
  • Data encrypting. Ability to save data to an external storage in the ciphered format.
  • Unicode support.
  • Working with the published properties of other components without programming (desing time dialog).
  • Saving the form position and state without programming.
  • Little programming for operation with unpublished properties of other components.
  • Auto link references between Storage library components.
  • Links with TCustomTreeView and TCustomListView descendants for data showing.
  • SQL like search engine.
  • All Storage library components are optimized for better speed.

Full context help file, demo programs, setup program are included.

Storage Library - Overview

Introduction

As a rule, each application has a set of control parameters called “application settings”. There are general settings and particular settings determined by a particular user. The application settings are stored in so called “ini “ files, in Windows registry, in special format files, in Data Bases (DB), etc. It is natural to try to automate the application settings managing, in order to facilitate the programming process and to develop a universal system for the application settings control, allowing the extension, modification and upgrading the computer program. The Storage library has been developed for the above mentioned purposes.

What is the Storage library?

The objective of the Storage Library is to control the application settings. It provides the user with the following possibilities:

  • Reading/writing the application settings in “ini” files, in Windows registry, in special format binary files, in the standard Delphi stream. The latter allows the use of various locations for the application settings storage, e.g. the DB fields;
  • Automated reading/writing of published properties of the other components;
  • Facilitation of the development process by reading/writing both the unpublished properties of the other components and any arbitrary data.

How Does It Works?

TrsStorage is a main component of Storage library. It controls the data stored in the memory as a tree-like structure. The TrsIniData, TrsRegData, TrsBinData, and TrsXMLData components are designed for the purpose of data exchange between TrsStorage and the storage location. The TrsPropSaver component allows for automated reading/writing of published properties of other components located in the same application form as TrsPropSaver. In addition, TrsPropSaver can store the position and state of a form.Usually, the application being developed must contain:

  • the TrsStorage component designed to store and to control the application settings;
  • any of the TrsIniData, TrsRegData, TrsBinData, or TrsXMLData components, designed to read/write the application settings stored in TrsStorage;
  • a certain number of TrsPropSaver components (a component for each form) which will read/write (automatically) the position and state of a form, published properties of components located on a form, the user data, unpublished properties of components located on a form;
  • a TrsCustomProperties component allowing the unification of the unpublished properties managing for all TrsPropSaver components.
Quick Navigation;

© Copyright 2000-2023  COGITO SOFTWARE CO.,LTD. All rights reserved