Building the Request Tree

Table of Contents

preBuildRequestTree
postBuildRequestTree

When a page is requested on a Recite web site, the first stage of the bootstrapping process is to read the URL and determine exactly which content the requesting user is after. We refer to this as building the page request tree.

This chapter describes the methods that are called surrounding the building of the page request tree.

preBuildRequestTree

  • public function preBuildRequestTree()

  • Throws Exception

This method is called prior to Recite trying to read the requested URL and determine which page that user is loading.

As such, when this method is called you have no idea which page is being requested.