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. configure.asp
  Application_onStart
  asp-xtreme-evolution-syntax.css
  asp-xtreme-evolution.css
  autoRotate, Image
B
  base.asp
  bgColor, Image
C
  cacheIndex, Framework
  cbZipUri, Zip
  compMethod, Zip_File
  compRatio, Zip_File
  compression, Image
  compSize, Zip_File
  computeView, Framework
  contentType, Upload_File
  crc32, Zip_File
  createFile, Framework
  createLink, Framework
D
  data, Upload_File
  default.asp
  dispatch, Framework
E
  error.asp
  errorCode, Image
  errorText
  extract, Zip
  extractWithoutFolders, Zip
F
  fileExists, Framework
  fileExt, Zip_File
  fileName, Zip_File
  Files
  forceNewCache, Image
  Form, Upload
  formName, Upload_File
  Framework
  Functions
G
  getBinary, Image
  getChildNodes, Json
  getElement, Json
  getExif, Image
  getFilename, Image
  getMime, Image
  getXmlNodeValues, Framework
  global.asa
  go
H
  hasErrors, Framework
  height, Image
  htmlDecode, Framework
I
  image, Image
  Image
  imagerUri, Image
  indentedTransform, Framework
  initialize, Framework
  inspect, Zip
  inspect.asp
  isFolder, Zip_File
J
  Json
L
  loadCache
  loadCommon
  loadJson, Json
  loadShuttle, Framework
  loadTextFile, Framework
N
  name
O
  originalHeight, Image
  originalWidth, Image
  output, Image
P
  printerFriendlyCode, Framework
  process, Framework
  processBinary, Image
  processExif, Image
  Properties
R
  rotation, Image
S
  saveToFile
  Session_onStart
  sessions. finalize.asp
  sessions. initialize.asp
  shuttle. unload. finalize.asp
  shuttle. unload. initialize.asp
  singletons. finalize.asp
  singletons. initialize.asp
  size, Upload_File
  str2xml, Framework
  strictTransform, Framework
U
  uncompSize, Zip_File
  unloadShuttle, Framework
  Upload
  Upload_File
  uri, Zip_File
  urlDecode, Framework
  useQueryString, Image
public sub addError( sError )
Adds an error to the errors queue.
It’s here where the config file is parsed.
sub Application_onStart
Define Application constants and load the config.xml data into application configuration.
This stylesheet is required by inspect.asp only.
This stylesheet defines shared properties for the framework views.
Use the autorotate function?
All asp pages should include this file.
6 letter HEX color code used for whitespace/rotation functions.
public function cacheIndex( sController,
sAction )
Informs the request page cache index
This should be the URI to CBZip.exe including http:// etc.
Compression method.
Compression effectiveness.
Target compression.
The size of the file when it’s compressed.
public function computeView()
Compute the requested view with the current data and return it’s source to be used inside the current process.
File mimetype.
The CRC32 code which is a 32 bits length hash.
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.
File.
The main document, this is a gateway.
public sub dispatch()
If no error exists, send the Output.value string to user.
When a error occurs processing this framework, it will be storage in an array.
Error code from the query.
Error description.
If an error occurs it’s message will be stored here.
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.
Stores File elements.
This is the container of all Zip_File objects.
Force the creation of a new file in the cache?
Stores Request.Form elements.
Name of the input field in the form which the image came from.
This Class will be auto-loaded as the singleton “Core” for the entire application and it’s objective is to provide support for the main features of this framework: MVC, URL-Rewriting, Cache System and XSLT.
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.
Here we are initializing the timer, defining some constants to be used later and setting a flag requiring to load application.configure.asp.
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.
Target height.
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.
Full path to the image.
This class intends to help people use the Imager in an easy way.
This should be the URI to Imager.dll including http:// etc.
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.
This view provide resources for developers to analyse the current data source, transformation and output which is being sent to the user.
A flag indicating if the entry is a folder or not.
This Class goal is to provide a simple way to parse JSON (JavaScript Object Notation) data directly from vbscript.
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.
File name.
Relative path plus the filename with it extension.
Original height.
Original width.
Output format.
public function printerFriendlyCode( sCode )
replaces { chr(60) , chr(62) } with their xhtml respectives.
public sub process()
Process the controller if it exists.
Return binary dat?
Extract EXIF data?
The amount of degrees to rotate the image.
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.
Free the resources required by the session objects.
This snippet is one of the key features of this MVC approach.
Use this snippet to free the resources required by the shuttle.
The shuttle is another of this framework key solutions.
Use this snippet to free the resources required by the singletons.
Use this snippet to initialize all your singletons.
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.
The size of the file.
public function unloadShuttle( s )
Unload a POST string into a scripting dictionary.
This class implements an easy interface to upload files to a webserver.
Each entry of Upload.Files contains an object of this class.
Uri for downloading the file.
public function urlDecode( sEncoded )
For some reason, Microsoft did not include a URL decode function with Active Server Pages.
Append the current querystring to the dll?