The Life and Times

  • Build time
  • Run time

Run Time

Here's what happens when one of my Nexista-powered applications runs:

A request is made to a webserver hosting a php file. The php file has been built by Nexista, and is named either index.php or after an application's name.

index.php checks for a couple of things, and either calls nexista's foundry to build the site, or calls the application specific loader if the site is up-to-date. The files that index.php (or appname.php) loads are dependent upon a few items: the server_name, and the request_method.

The application specific loader is called and it in turn sets a series of constants, then loads the nexista init class, then a prepend php file (if it exists), then calls the following nexista init methods:

start

display

stop