Wordler!!
bootstrap.php >> It's started!
loading...
---> config/config.php
---> config/dbCredentials.php
---> autoload/Autoloader.php
---> classes/Database/ConnectDb.php
Welcome to Wordled!
config.php >> constants etc. loaded!

CONSTANTS

NAMESPACE_ROOT: wordledtest\coenwijnands\com

NAMESPACE_PATH: wordledtest/coenwijnands/com

path name constant name path
app_root APP_ROOT_PATH /data/sites/web/coenwijnandscom/subsites/wordledtest.coenwijnands.com
config CONFIG_PATH /data/sites/web/coenwijnandscom/subsites/wordledtest.coenwijnands.com/config
core CORE_PATH /data/sites/web/coenwijnandscom/subsites/wordledtest.coenwijnands.com/core
Routers ROUTERS_PATH /data/sites/web/coenwijnandscom/subsites/wordledtest.coenwijnands.com/core/Routers
Dispatchers DISPATCHERS_PATH /data/sites/web/coenwijnandscom/subsites/wordledtest.coenwijnands.com/core/Dispatchers
Autoload AUTOLOAD_PATH /data/sites/web/coenwijnandscom/subsites/wordledtest.coenwijnands.com/config/Autoload
classes CLASSES_PATH /data/sites/web/coenwijnandscom/subsites/wordledtest.coenwijnands.com/classes
Controllers CONTROLLERS_PATH /data/sites/web/coenwijnandscom/subsites/wordledtest.coenwijnands.com/classes/Controllers
Models MODELS_PATH /data/sites/web/coenwijnandscom/subsites/wordledtest.coenwijnands.com/classes/Models
Views VIEWS_PATH /data/sites/web/coenwijnandscom/subsites/wordledtest.coenwijnands.com/classes/Views
Helpers HELPERS_PATH /data/sites/web/coenwijnandscom/subsites/wordledtest.coenwijnands.com/classes/Helpers
Databases DATABASES_PATH /data/sites/web/coenwijnandscom/subsites/wordledtest.coenwijnands.com/classes/Databases
Facebook FACEBOOK_PATH /data/sites/web/coenwijnandscom/subsites/wordledtest.coenwijnands.com/Facebook
templates TEMPLATES_PATH /data/sites/web/coenwijnandscom/subsites/wordledtest.coenwijnands.com/templates
public PUBLIC_PATH /data/sites/web/coenwijnandscom/subsites/wordledtest.coenwijnands.com/public
assets ASSETS_PATH /data/sites/web/coenwijnandscom/subsites/wordledtest.coenwijnands.com/public/assets
css CSS_PATH /data/sites/web/coenwijnandscom/subsites/wordledtest.coenwijnands.com/public/assets/css
js JS_PATH /data/sites/web/coenwijnandscom/subsites/wordledtest.coenwijnands.com/public/assets/js
media MEDIA_PATH /data/sites/web/coenwijnandscom/subsites/wordledtest.coenwijnands.com/public/assets/media
foldername constant name folder
app_root APP_ROOT_FOLDER wordledtest.coenwijnands.com
config CONFIG_FOLDER config
core CORE_FOLDER core
Routers ROUTERS_FOLDER Routers
Dispatchers DISPATCHERS_FOLDER Dispatchers
Autoload AUTOLOAD_FOLDER Autoload
classes CLASSES_FOLDER classes
Controllers CONTROLLERS_FOLDER Controllers
Models MODELS_FOLDER Models
Views VIEWS_FOLDER Views
Helpers HELPERS_FOLDER Helpers
Databases DATABASES_FOLDER Databases
Facebook FACEBOOK_FOLDER Facebook
templates TEMPLATES_FOLDER templates
public PUBLIC_FOLDER public
assets ASSETS_FOLDER assets
css CSS_FOLDER css
js JS_FOLDER js
media MEDIA_FOLDER media

folder constant name relative file path
config CONFIG_REL_PATH config
core CORE_REL_PATH core
Routers ROUTERS_REL_PATH core/Routers
Dispatchers DISPATCHERS_REL_PATH core/Dispatchers
Autoload AUTOLOAD_REL_PATH config/Autoload
classes CLASSES_REL_PATH classes
Controllers CONTROLLERS_REL_PATH classes/Controllers
Models MODELS_REL_PATH classes/Models
Views VIEWS_REL_PATH classes/Views
Helpers HELPERS_REL_PATH classes/Helpers
Databases DATABASES_REL_PATH classes/Databases
Facebook FACEBOOK_REL_PATH Facebook
templates TEMPLATES_REL_PATH templates
public PUBLIC_REL_PATH public
assets ASSETS_REL_PATH public/assets
css CSS_REL_PATH public/assets/css
js JS_REL_PATH public/assets/js
media MEDIA_REL_PATH public/assets/media
namespace constant name constructed namespace
config CONFIG_NAMESPACE wordledtest\coenwijnands\com\config
core CORE_NAMESPACE wordledtest\coenwijnands\com\core
Routers ROUTERS_NAMESPACE wordledtest\coenwijnands\com\core\Routers
Dispatchers DISPATCHERS_NAMESPACE wordledtest\coenwijnands\com\core\Dispatchers
Autoload AUTOLOAD_NAMESPACE wordledtest\coenwijnands\com\config\Autoload
classes CLASSES_NAMESPACE wordledtest\coenwijnands\com\classes
Controllers CONTROLLERS_NAMESPACE wordledtest\coenwijnands\com\classes\Controllers
Models MODELS_NAMESPACE wordledtest\coenwijnands\com\classes\Models
Views VIEWS_NAMESPACE wordledtest\coenwijnands\com\classes\Views
Helpers HELPERS_NAMESPACE wordledtest\coenwijnands\com\classes\Helpers
Databases DATABASES_NAMESPACE wordledtest\coenwijnands\com\classes\Databases
Facebook FACEBOOK_NAMESPACE wordledtest\coenwijnands\com\Facebook
templates TEMPLATES_NAMESPACE wordledtest\coenwijnands\com\templates
public PUBLIC_NAMESPACE wordledtest\coenwijnands\com\public
assets ASSETS_NAMESPACE wordledtest\coenwijnands\com\public\assets
css CSS_NAMESPACE wordledtest\coenwijnands\com\public\assets\css
js JS_NAMESPACE wordledtest\coenwijnands\com\public\assets\js
media MEDIA_NAMESPACE wordledtest\coenwijnands\com\public\assets\media
Welcome to Wordled!
autoloader.php >> classes can now autoload!

bootstrap.php >> next step ...

bootstrap.php >> database instance created!

bootstrap.php >> database connection acquired!
router namespace + class: wordledtest\coenwijnands\com\core\Routers\Router
>> autoloader.php >> classpath: /core/Routers/Router

autoloader.php >> file: /data/sites/web/coenwijnandscom/subsites/wordledtest.coenwijnands.com//core/Routers/Router.php exists!


>> autoloader.php >> classpath: /core/Dispatchers/Dispatcher

autoloader.php >> file: /data/sites/web/coenwijnandscom/subsites/wordledtest.coenwijnands.com//core/Dispatchers/Dispatcher.php exists!


this is the output at the end of this route:
index.php:
>>> initialise a Router and Dispatcher
>>> use Router to get Route for current URI request
>>> pass route to the Dispatcher
Dispatcher:
>>> use data in route array to get Controller name and action
>>> initialise a Controller and call the specified action method on the Controller
Controller initialises a Model and calls the getContent method on the Model>
Model provides the content to be displayed and returns it>
View (later) >
output is returned and captured in the index.php and displayed (returned to the client)

>> autoloader.php >> classpath: /classes/Controllers/HomeController

autoloader.php >> file: /data/sites/web/coenwijnandscom/subsites/wordledtest.coenwijnands.com//classes/Controllers/HomeController.php exists!


>> autoloader.php >> classpath: /classes/Models/HomeModel

autoloader.php >> file: /data/sites/web/coenwijnandscom/subsites/wordledtest.coenwijnands.com//classes/Models/HomeModel.php exists!

Current file: /data/sites/web/coenwijnandscom/subsites/wordledtest.coenwijnands.com/classes/Models/HomeModel.php Relative path: /classes/Models/HomeModel.php

Hello Wordler! wordledtest\coenwijnands\com\classes\Models\HomeModel here!



>> autoloader.php >> classpath: /classes/Controllers/HomeController

autoloader.php >> file: /data/sites/web/coenwijnandscom/subsites/wordledtest.coenwijnands.com//classes/Controllers/HomeController.php exists!


>> autoloader.php >> classpath: /classes/Models/HomeModel

autoloader.php >> file: /data/sites/web/coenwijnandscom/subsites/wordledtest.coenwijnands.com//classes/Models/HomeModel.php exists!

Current file: /data/sites/web/coenwijnandscom/subsites/wordledtest.coenwijnands.com/classes/Models/HomeModel.php Relative path: /classes/Models/HomeModel.php

Hello Wordler! wordledtest\coenwijnands\com\classes\Models\HomeModel here!