GENERATED: MAY 4,2023 - 8:50AM
HTTP TYPE 4 UCR SERVER [V10.23.05. 27.03]

Previous Page
This application demonstrates TCP/IP connectivity with a browser or with a Clarion client application using HNDHttp or HNDClient classes.

In this particular example, application functionality has been limited to acting as a dynamic data, page server and providing several example UCR$ (User Custom Request) procedure calls that may be called from any HTML web browser, desktop, tablet or phone.

This server was branched from HNDSLFSV.APP to demonstrate building dynamic-data web pages based on CHT XML2HTMLGEN techniques. Take note that it has had it's default base page changed from INDEX.HTML to TEMPLATESBROWSE.UCR. This is still a TYPE 4 server, however, because these UCR$ requests do not require prior authentication against a server password or against a user file, page transactions with this server do not require prior login, and do not operate on a SESSION Identifier.

This server utilizes a function called AutoGenHTMLFromXML_VER02 exported from HNDXML2HTMLGEN.APP to convert standard CHT XML template files into HTML. This is the same functionality that triggers an HTML file to be generated from CHTSNAPEDIT.EXE when the "Preview" menu key is clicked.

Calling any one of this server's specialized UCR$ functions, for example, "XML2HTMLTemplatesBrowse" triggers the return of a dynamic data page based on one of CHT's .XML page templates.

Data rows inserted into a temporary copy of "000templatesbrowse.xml" file before processing to an HTML file, are read from a TPS table called "TPLHEADER".




Count Global Template Name Qty Global Template Description
(0001) AACHTControlPanel(HNDTools) 1 © CHT AACHTControlPanel • (TIER-1) •
(0002) ApplicationImagesEx(HNDTools) 1 © CHT ApplicationImagesEx • (TIER-1) •
(0003) FieldLevelValidationCode(HNDTools) 1 © CHT FieldLevelValidationCode • (TIER-1) •
(0004) GlobalIncludeHNDBinIOFunctions(HNDTools) 1 © CHT GlobalIncludeHNDBinIOFunctions • (TIER-1) •
(0005) GlobalIncludeHNDCaptureConsoleFunctions(HNDTools) 1 © CHT GlobalIncludeHNDCaptureConsoleFunctions • (TIER-2) •
(0006) GlobalIncludeHNDDiskFunctions(HNDTools) 1 © CHT GlobalIncludeHNDDiskFunctions • (TIER-2) •
(0007) HNDCMPControlPanel(HNDTools) 1 © CHT HNDCMPControlPanel • (TIER-2) •
(0008) HandyVersionResource(HNDTools) 1 © CHT HandyVersionResource • (TIER-1) •
(0009) INIFile(HNDTools) 1 © CHT INIFile • (TIER-1) •
(0010) VblFileNames(HNDTools) 1 © CHT VblFileNames • (TIER-1) •
(10) Global Templates • (TIER-2)

 1 – Template Type: Splash
  – – Procedure Name: JumpStartSplashCHTBlue()
Count Local Template Name Qty Local Template Description
(0011) AppBuildDateTimeStamp(HNDTools) 1 © CHT AppBuildDateTimeStamp • (TIER-2) •
(0012) AppBuildNumberStamp(HNDTools) 1 © CHT AppBuildNumberStamp • (TIER-2) •
(0013) AppCopyRightStamp(HNDTools) 1 © CHT AppCopyRightStamp • (TIER-2) •
(0014) EmbedWindowFunctions(HNDTools) 1 © CHT EmbedWindowFunctions • (TIER-2) • (CODE-TABS) •
(0015) HandyTellMeControl(HNDTools) 1 © CHT HandyTellMeControl • (TIER-2) • (2)
(0016) ProcedureImagesEx(HNDTools) 1 © CHT ProcedureImagesEx • (TIER-1) • (CODE-TABS) •
(6) Local Templates • (TIER-2)

 2 – Template Type: HandySourceProcedure
  – – Procedure Name: AutoGenHTMLFromXML_VER_NOCOPY()
Count Local Template Name Qty Local Template Description
(0017) CHTBestPracticeEmbedClass(HNDTools) 1 © CHT CHTBestPracticeEmbedClass • (TIER-1) • (CODE-TABS) •
(0018) EmbedStandardWebPageHeaderShort(HNDTools) 1 © CHT EmbedStandardWebPageHeaderShort • (TIER-4) •
(2) Local Templates • (TIER-4)

 3 – Template Type: Source
  – – Procedure Name: XML2HTMLTemplatesBrowse()
Count Local Template Name Qty Local Template Description
(0019) CHTBestPracticeEmbedClass(HNDTools) 1 © CHT CHTBestPracticeEmbedClass • (TIER-1) • (CODE-TABS) •
(0020) HandyFileViewBuilder(HNDTools) 1 © CHT HandyFileViewBuilder • (TIER-1) • (1)
(2) Local Templates • (TIER-4)

 4 – Template Type: Window
  – – Procedure Name: ServerMain()
Count Local Template Name Qty Local Template Description
(0021) AppStartSplashProcedure(HNDTools) 1 © CHT AppStartSplashProcedure • (TIER-1) • (CODE-TABS) •
(0022) BrowserServerInitializationControls(HNDTools) 1 © CHT BrowserServerInitializationControls • (TIER-3) •
(0023) CHTBestPracticeEmbedClass(HNDTools) 1 © CHT CHTBestPracticeEmbedClass • (TIER-1) • (CODE-TABS) •
(0024) CodeTabMenuHooks(HNDTools) 2 © CHT CodeTabMenuHooks • (TIER-1) • (CODE-TABS) • (18)
(0025) EmbedBrowserServer(HNDTools) 1 © CHT EmbedBrowserServer • (TIER-3) •
(0026) EmbedWindowFunctions(HNDTools) 1 © CHT EmbedWindowFunctions • (TIER-2) • (CODE-TABS) •
(0027) HandyToolBarGradient(HNDTools) 1 © CHT HandyToolBarGradient • (TIER-2) •
(0028) HandyWindowGradient(HNDTools) 1 © CHT HandyWindowGradient • (TIER-2) •
(0029) ProcedureImagesEx(HNDTools) 1 © CHT ProcedureImagesEx • (TIER-1) • (CODE-TABS) •
(0030) ServerFileHandlingOverrides(HNDTools) 1 © CHT ServerFileHandlingOverrides • (TIER-3) •
(0031) VisitMeControl_EWF(HNDTools) 1 © CHT VisitMeControl_EWF • (TIER-2) • (15)
(11) Local Templates • (TIER-4)

Copyright © 1996-2023 - CHT Version: [27B.00.00]
Gus M. Creces, CLARION HANDY TOOLS
All Rights Reserved Worldwide

chtlogo001.gif
Application Templates