Print this Page
1.6 Architect
12. Function Spread Sheet
Close this Page

1.6.12 Function Spread Sheet:
Every search function must have a list function; however a list function can exist without a search function.
Each subject or data object will have a set of functions that normally begin with a popup search function that acts as a container for other functions.   A search function will normally declare nine containers that may be used to hold up to nine different web page contents that are shown in the same window.   The list of data matching any search criteria is normally shown int he first container, then the user may drill down into more and more data details shown on the same page but within different containers.

Search Architecture:
The search function is built using AJAX to dynamically use search criteria with matching records that are shown in a list - the list changes as more search criteria is entered.   Search is based on all the field values that are shown in the list and are not derived field values.

Search Service:
The search function may be used to declare a set of containers for other function results, but the search 4GL contents may be ommitted so no search field is shown.   Where the number of records that may exist in a structure is limited, then the search field can be ignored.

 
4GL Search:
META and AJAX is the initial line with the Link field providing the associated list function web page reference and access path.
META and THREE is the meta title shown in the browser title that is provided in the label field .   META-DESC and META-KEYS may be used with public web pages that need search optimization.
HEAD and THREE is the page title with left and right margins that is provided using the label, title and link fields.
SEARCH and TOPROW will begin the search bar.
SEARCH and USINGLIST will identify a set of semi-colon separated field numbers and names that exist in the associated list function and may be used to limit the search to use only one field - default is that all list field values are searched.
SEARCH and SEARCH will specify the label used in the search bar together with list paging web page number and optional key constratint.
SEARCH and ENDROW will end the search bar.
BODY and AJAX will use the label to define the container name or "NINE" to define that all nine default container names shall be used.
EXIT and AJAX will end the search declaration.