Difference between revisions of "Ns register adp"

From AOLserver Wiki
Jump to navigation Jump to search
m
Line 10: Line 10:
 
Syntax:
 
Syntax:
  
ns_register_adp GET|POST /URL/* FILE
+
ns_register_adp GET|POST /URL/* FILE
  
 
Both registered ADP pages, and registered procedures will be called
 
Both registered ADP pages, and registered procedures will be called
 
irregardless of to original requested target existing or not.
 
irregardless of to original requested target existing or not.
 +
 +
[[Category:Documentation]] [[Category:Core Tcl API]]

Revision as of 19:57, 7 February 2009

Similar to Registered Procedures, all requests to a particular URL can be captured but in this situation processing can be performed by an ADP file. Giving additional functionality of being able to make changes a lot more rapidly.

This also provides a method of making view controls at ADP level rather than at TCL level, which keeps development at an appropriate abstracted level.

Syntax:

ns_register_adp GET|POST /URL/* FILE

Both registered ADP pages, and registered procedures will be called irregardless of to original requested target existing or not.