ntk - the Nolimitzzz Toolkit Documentation

Simplicity as simple as it can get - well nearly

ntk is a toolkit to enable to build webpages easily and efficiently.

ntk is based on a couple of core files and folders and has well defined customization options.
a) The core files realize the framework and build a standard document structure in which custom content will be "hooked" in.
b) The customization options provide the logic for the custom content hooks, that will be defined in the "custom subfolder".

In the custom subfolder, a file called "ntk_config.php" is essential:
The "ntk_config.php" file has a single entry: The "NTK_IMPLEMENTATION", as a constant definition. "NTK_IMPLEMENTATION" value specifies the name of the sub-folder in which the custom files will be located, that realize the actual implementation. This in turn gives you the possibility to have various sub-folders under the custom directory, that can coexist for editing or testing purposes, but only one will be "live" - the one that is specified as value for "NTK_IMPLEMENTATION", below called the "implementation subfolder".

NOTE: This can also be used to dispatch to different implementations, depending on what you want to do. This way you can easily implement for
instance multi-language sites or A/B testing sites or any other type of criteria-based multi-site, as long a criteria detection is possible at this stage.

In the implementation subfolder, you will have all files of your implementation. This of course includes files in subfolders of the implementation subfolder
as well.

At minimum two files are required: the "generic.php" and the "index.php" :
a) In the generic.php - the "generic file" - you should include recurring hooks, that will be called from more than one of your pages - as for instance hooks for head, header, footer, nav, ...
b) In the index.php - the "index file" - you should include default hooks, that will be called for the default route. These should ideally represent
your landing page.

Then you will add in here the files for every specific page of your implementation:
For example: ntk_hello.php, ntk_products.php, ntk_services.php, ntk_faq.php, ntk_downloads.php, ntk_blog.php, ntk_about.php, ntk_imprint.php, ntk_tos.php