Subscribe for automatic updates: RSS icon RSS

Login icon Sign in for full access | Help icon Help
Advanced search

Pages: [1]
  Reply  |  Print  
Author Topic: Ask Reuben 24 - Dynamic Dialogs  (Read 5205 times)
Reuben B.
Four Js
Posts: 1116


« on: May 15, 2020, 07:02:11 am »

Dynamic Dialogs allow you to implement generic code where the data structure is not known at compile time, and the generic code can be reused for many different data structures.  This can encourage re-use and make your application more consistent and your code base simpler and easier to maintain.

The repository fgl_zoom makes heavy use of Dynamic Dialogs.  With a list of columns from a SELECT SQL statement, it uses this as the starting point to dynamically build a CONSTRUCT so that the user can perform a Query By Example to add a WHERE clause to this SQL statement, and then to dynamically build a DISPLAY ARRAY to display the result-set of the SQL statement and allow the user to select a row (or rows)

In this article I introduce the key methods in defining and executing a Dynamic Dialog, and then shows where they are used with reference to fgl_zoom.

Read more at https://4js.com/ask-reuben/ig-24/

Product Consultant (Asia Pacific)
Developer Relations Manager (Worldwide)
Author of https://4js.com/ask-reuben
Contributor to https://github.com/FourjsGenero
Pages: [1]
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines