|
ASP Xtreme Evolution
|
Function Index
Adds an error to the errors queue. Define Application constants and load the config.xml data into application configuration. Informs the request page cache index Compute the requested view with the current data and return it’s source to be used inside the current process. Create || Overwrite a file in the file system. Creates a friendly relative link to be used as an URL-Rewrite hyperlink reference. If no error exists, send the Output.value string to user. Extract the files in the standard way. Extract the files without caring about their relative path inside the zip. Checks if the file exists in the file system. Retrieve the file extension. Retrieve the file name. Extract binary data from the Xml. Look for all element child keys and enumerate them. This function takes a dot separated path and look for the element value in the JSON. Extract EXIF(EXchangeable Image Format) data from the Xml. Extract filename from the imageinfo in Xml. Extract MimeType from the Xml. Creates a string array with the text of all nodes that match with the XPath. Executes the request to the application to retrieve the XML data. Parses the zip file and create the Zip_File objects. Informs if the the (Session)errv queue is empty or not. 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. 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. Initialize the application configuration, setup the (string)controller, (string)action and the (string[])argv sessions which will be used to run the MVC architecture. Retrive a view from inside the zip. Configures cache life time and items to be cached. Loads common application configurations. Since ASP Classes strangely doesn’t accept parameters at it’s initializa- tion. 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. If the file exists, read it all and return the content. replaces { chr(60) , chr(62) } with their xhtml respectives. Process the controller if it exists. Saves the image to a path specified by path. Saves the binary in the hard drive. Save the file to the hard drive. In order to compute the execution time of a request, we need to start a timer. Compute the file size. Creates a XML Document from a string with it’s source code. 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. Unload a POST string into a scripting dictionary. For some reason, Microsoft did not include a URL decode function with Active Server Pages. |