Register to post in forums, or Log in to your existing account
 

 Related 
Contents
See also:
  IniFile
  Registry
  SQLStore
Common Properties:
  Name *
Non-Visual Objects
  Action
  Collection
  Connection
  DataSource
  Head
  HTTP
  IniFile
  Message
  Query
  Queue
  Registry
  Store
    Open
    Close
    Connected
    Flush
    Get
    Put
    Profile
    KeyField
    Connection
    Access
    Item
    Remove
    Filter
  Stream
  Template
  Thread
  Var
  XML
  XSL
Related Links:
  POP MessageStore
  IMAP MessageStore
  Registry
  FolderStore Interface
  Collection
  Store
  MessageStore
Store [[zStore]] 
NOTE: This Design document is subject to change at any time.
The zStore object provides an interface for general storage. These objects can be used to cache information, and can interface with a variety of medium, including SQL databases and file systems.

This is a generic interface. The basic zStore object only maintains information in memory and has no storage. For storage, specific inherited objects such as IniFile or zSQLStore should be used instead.

The default zStore object acts like an associative array. The Index value used to store and retrieve records in the Item property is a String value. The data stored for each record is Variant, so can be anything, and can be mixed data types.

In general, a Store object should be accessed by Key values. The Get and Put methods allow you to retrieve or set a particular Key value. The FieldName argument to these methods allows the store to be structured into records or sections.

Normally, sequential access of data in a store is not allowed. Stores that allow sequential access will typically implement the zCollection interface in addition to the zStore interface.
Viewer Comments [0 - Post your comments]

Jump to:  

© 2009 Zugg Software. Hosted by Wolfpaw.net