Changes between Version 1 and Version 2 of HowTos/HowToUseGenericDatabaseMessages

Show
Ignore:
Timestamp:
06/01/09 02:03:04 (17 years ago)
Author:
davidhenry@… (IP: 174.99.26.254)
Comment:

Updated with links to individual generic database messages. Removed reference to MG:Unity in favor of just "Model Glue".

Legend:

Unmodified
Added
Removed
Modified
  • HowTos/HowToUseGenericDatabaseMessages

    v1 v2  
    33= How To Use Generic Database Messages = 
    44 
    5 One of the most compelling features of Model-Glue:Unity is its automated database capabilities. By using the Reactor framework, Model-Glue:Unity automates the creation and execution of common database tasks, such as single table CRUD (create, read, update, delete) and basic listing (SELECT). 
     5One of the most compelling features of Model-Glue is its automated database capabilities. By using the Reactor framework, Model-Glue automates the creation and execution of common database tasks, such as single table CRUD (create, read, update, delete) and basic listing (SELECT). 
    66 
    77The framework accomplishes this by automatically loading a controller (the "!DataController") that listens for what are known as the "Generic Database Messages" (GDMs) These are a set of commands you can use inside your !ModelGlue.xml file to invoke automatic database functions. 
     
    1111The four GDMs that the !DataController is configured to listen for are as follows: 
    1212 
    13   1. modelglue.!GenericList[[BR]][[BR]] When this message is broadcast, the !DataController will attempt to list records from a given table.[[BR]][[BR]] 
    14   1. modelglue.!GenericRead[[BR]][[BR]] When this message is broadcast, the !DataController will attempt to read a specific record from a given table.[[BR]][[BR]] 
    15   1. modelglue.!GenericCommit[[BR]][[BR]] When this message is broadcast, the !DataController will attempt to save a record to a given table.[[BR]][[BR]] 
    16   1. modelglue.!GenericDelete[[BR]][[BR]] When this message is broadcast, the !DataController will attempt to delete a record from a given table.[[BR]][[BR]] 
    17  
     13  1. [wiki:HowTos/HowToUseGenericDatabaseMessages/UsingmodelglueGenericCommit modelglue.GenericCommit] When this message is broadcast, the !DataController will attempt to list records from a given table.[[BR]][[BR]] 
     14  1. [wiki:HowTos/HowToUseGenericDatabaseMessages/UsingmodelglueGenericDelete modelglue.GenericDelete] When this message is broadcast, the !DataController will attempt to read a specific record from a given table.[[BR]][[BR]] 
     15  1. [wiki:HowTos/HowToUseGenericDatabaseMessages/UsingmodelglueGenericList modelglue.GenericList] When this message is broadcast, the !DataController will attempt to save a record to a given table.[[BR]][[BR]] 
     16  1. [wiki:HowTos/HowToUseGenericDatabaseMessages/UsingmodelglueGenericRead modelglue.GenericRead] When this message is broadcast, the !DataController will attempt to delete a record from a given table.[[BR]][[BR]]