Am 05.01.2007 um 09:15 schrieb Dietmar Harms:

What about 4th Dimension/4D Server for databases (www.4d.com) as alternative? REALbasic has a lot of advantages, but I didn't find a replacement for the fully programmable plug-ins 4D Write (text processor) and 4D Draw (freely placing and moving any objects, including database fields, by language AND by the user).

Well, my explanation was incomplete. Mainly, I need to enrich small apps with some tables, which store data (logs, messages, menu commands) and allow an app
to easily read/write/update data.

Here is how it looks for Server Scout's 'Commands' center:

>>>
  Dim theKeys () As String

theKeys = Array( "commands.name", "commands.command", "commands.comtype", "commands.description" _
   )
  Me.SetDataKeys( theKeys )
  Me.SetTableKey( "commands" ) // we read this table

Me.AttachSlaveControl( 0, NameField, "commands.name" ) // client control will load, update and save automatically
  Me.AttachSlaveControl( 1, CommandField, "commands.command" )
  Me.AttachSlaveControl( 2, ApplicablePopup, "commands.comtype" )
  Me.AttachSlaveControl( 3, CommentField, "commands.description" )

  // Attach standard controls
  Me.AttachAddButton( AddInvButton )
  Me.AttachDeleteButton( DeleteInvButton )
  // Me.AttachCloneButton( CloneButton )
  // Me.AttachSaveButton( SaveSlaveButton )
  Me.AttachCountInfoField( CountInfoField )
  Me.AttachHelpText( LagerListHelpText )

  // And finally, we need to know the real data model
// Pass 'Me', since I'd like to receive notifications in case the model changes
  Me.SetModel( new TAModelDB_Commands( Me )  )
<<<

This is the complete setup of the UI part of the window.

Additionally, there is TAModelDB_Commands, which is derived from
TAModel_DB, which in turn is derived from TAModel.
TAModel manages the bindings stuff, while TAModel_DB enriches TAModel with
respect to a 'real' SQL datastore.

Ah: I like MS Access, but never found 4D or Filemaker as attractive.
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to