Code Behind File

  • Code behind files are the files with *.sqlx extension.

  • Code behind files are used to separate application code with HTML.

  • Each Form File has a code behind file with the same name but with ".sqlx" extension.

  • Code behind files are automatically loaded and parsed just before the corresponding form file (frmx file) is parsed.

  • Mostly used to hold page specific variables and functions' definitions. For functions and variables related to business logic, please use Controller File.

Developer can;

  • write a special "page.access" trigger function in each code behind file in order to control page access.

  • write a special "page_load" trigger function to run code blocks funcafter form file parsing and before sending its content.

Last updated