Function Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
A
  addError, Framework
  Application_onStart
C
  cacheIndex, Framework
  computeView, Framework
  createFile, Framework
  createLink, Framework
D
  dispatch, Framework
E
  extract, Zip
  extractWithoutFolders, Zip
F
  fileExists, Framework
  fileExt, Zip_File
  fileName, Zip_File
G
  getBinary, Image
  getChildNodes, Json
  getElement, Json
  getExif, Image
  getFilename, Image
  getMime, Image
  getXmlNodeValues, Framework
  go
H
  hasErrors, Framework
  htmlDecode, Framework
I
  indentedTransform, Framework
  initialize, Framework
  inspect, Zip
L
  loadCache
  loadCommon
  loadJson, Json
  loadShuttle, Framework
  loadTextFile, Framework
P
  printerFriendlyCode, Framework
  process, Framework
S
  saveToFile
  Session_onStart
  size, Upload_File
  str2xml, Framework
  strictTransform, Framework
U
  unloadShuttle, Framework
  urlDecode, Framework
public sub addError( sError )
Adds an error to the errors queue.
sub Application_onStart
Define Application constants and load the config.xml data into application configuration.
public function cacheIndex( sController,
sAction )
Informs the request page cache index
public function computeView()
Compute the requested view with the current data and return it’s source to be used inside the current process.
public sub createFile( sFilePath,
sContent )
Create || Overwrite a file in the file system.
public function createLink( sController,
sAction )
Creates a friendly relative link to be used as an URL-Rewrite hyperlink reference.
public sub dispatch()
If no error exists, send the Output.value string to user.
public sub extract( sTargetPath )
Extract the files in the standard way.
public sub extractWithoutFolders( sTargetPath )
Extract the files without caring about their relative path inside the zip.
public function fileExists( sFilePath )
Checks if the file exists in the file system.
public function fileExt()
Retrieve the file extension.
public function fileName()
Retrieve the file name.
public function getBinary()
Extract binary data from the Xml.
public function getChildNodes( sPath )
Look for all element child keys and enumerate them.
public function getElement( sPath )
This function takes a dot separated path and look for the element value in the JSON.
public function getExif()
Extract EXIF(EXchangeable Image Format) data from the Xml.
public function getFilename()
Extract filename from the imageinfo in Xml.
public function getMime()
Extract MimeType from the Xml.
public function getXmlNodeValues( Xml,
sXPath )
Creates a string array with the text of all nodes that match with the XPath.
public sub go()
Executes the request to the application to retrieve the XML data.
public sub go()
Parses the zip file and create the Zip_File objects.
public function hasErrors( saErrors )
Informs if the the (Session)errv queue is empty or not.
function htmlDecode( sEncoded )
Just like with the urlDecode function described previously, Microsoft, in it’s infinite wisdom decided not to include an htmlDecode function with their Server component.
public function indentedTransform( Xml,
Xslt,
sOutput,
sIndent )
Since MSXML are very conservative about how much whitespace they put into serialized XSLT results when xsl:output indent=”yes”, we are properly indenting XML, without relying on the processor’s built-in indenting capability.
public sub initialize()
Initialize the application configuration, setup the (string)controller, (string)action and the (string[])argv sessions which will be used to run the MVC architecture.
public function inspect()
Retrive a view from inside the zip.
sub loadCache( Xml )
Configures cache life time and items to be cached.
sub loadCommon( Xml )
Loads common application configurations.
public sub loadJson( sJson )
Since ASP Classes strangely doesn’t accept parameters at it’s initializa- tion.
public function loadShuttle( Sd )
A shuttle is needed to carry the user Session(“this”) information to the server Session(“this”) in order to the view be a document and not a variable.
public function loadTextFile( sFilePath )
If the file exists, read it all and return the content.
public function printerFriendlyCode( sCode )
replaces { chr(60) , chr(62) } with their xhtml respectives.
public sub process()
Process the controller if it exists.
public function saveToFile( path,
overwrite )
Saves the image to a path specified by path.
public function saveToFile( sPath )
Saves the binary in the hard drive.
public function saveToFile( sPath )
Save the file to the hard drive.
sub Session_onStart
In order to compute the execution time of a request, we need to start a timer.
public function size()
Compute the file size.
public function str2xml( sXml )
Creates a XML Document from a string with it’s source code.
public function strictTransform( Xml,
Xslt )
Applies the xslt transformation AS IT IS, in other words it relies only in the built-in parser to do exactly what your transformation requested.
public function unloadShuttle( s )
Unload a POST string into a scripting dictionary.
public function urlDecode( sEncoded )
For some reason, Microsoft did not include a URL decode function with Active Server Pages.