• Introduction
• Site Structure
• Page Assembly
• URL Handlers
• Multi-View Strings
• Authentication
• Database
• Error Handling
• Validation
• Config Data
• Logging
• EDP
• User Interface
• Formatters
• Images
•
• Developer Tools
Tags:
fwpUtil_scrunchTypes:
fwp_collectionThere are a number of utility tags and data types among the framework APIs. A standout one is a simple type called fwp_ctype. This type accepts any name value pair as a parameter and stores that for retrieval using instance variable syntax. As an addition to Lasso's array and map data types, this allows custom types to be defined on the fly with data stored using object oriented syntax consistent with any custom type.
Another is the fwpFile_varsRead and _varsWrite tags which manage configuration files of name=value pair entries. The _varsRead tag will read each line of the file and create a lasso variable. The _varsWrite will update the text file with the current status of all variables submitted in a parameter list.
FwpStr_randomID creates a random string of upper and lower case letters and numbers useful for record or temporary dataset IDs. FwpStr_randomPW creates a random password string which also includes symbol characters, and ensures that one character from each of the four characters sets is included.
The fwpAPI_vrsnScan tag is used to read the files of any folder (such as the core API source code folder) and display a summary of file names, versions, descriptions and edit histories. By following a standardized format for the comment header of each file, this tag can be used to verify file version status of sites online and in development.
© 2002-2012, pageblocks.org