Child pages
  • Browsing the Source, Where to Start

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • This class holds many object managers (all implementing IManager ), like:
  • Foundset manager, managing all IFoundset instances (datahandling layer)
    • which has multiple implementations from which Foundset.java is the main one, which contains records (IRecord.java) and a Record.java contains a Row.java object
    • FoundSetManager keeps track also track of the RowManagers for each database table to handle Row objects
  • Plugin manager (a plugin is an external piece of code which has to satisfy to the IPlugin.java interface) and can be used from scripting
  • FormManager managing all IFormController instances, subclasses are WebFormManger and SwingFormManager
  • Mode manager to control the mode the application is in like: edit,find,print
  • then it also holds a reference to the script engine (rhino)

We have a MVC The MVC pattern is used for Servoy forms

  • Model: IFoundSet.java (defines the db data in form, by the select SQL it contains)
  • View: SwingForm or WebForm.java (handles the UI)
  • Controller: FormController.java (binds model and view and controls them)

...