This commit is contained in:
Joey Kimsey
2025-01-20 22:42:30 -05:00
parent 1d8d48e7c1
commit ca50450682
55 changed files with 1385 additions and 337 deletions

View File

@ -0,0 +1,47 @@
<?php
/**
* app/controllers/bedrock.php
*
* This is the bedrock controller.
*
* @version 3.0
* @author Joey Kimsey <Joey@thetempusproject.com>
* @link https://TheTempusProject.com
* @license https://opensource.org/licenses/MIT [MIT LICENSE]
*/
namespace TheTempusProject\Controllers;
use TheTempusProject\Hermes\Functions\Redirect;
use TheTempusProject\Bedrock\Functions\Session;
use TheTempusProject\Bedrock\Functions\Check;
use TheTempusProject\Bedrock\Functions\Input;
use TheTempusProject\Hermes\Functions\Route as Routes;
use TheTempusProject\Houdini\Classes\Issues;
use TheTempusProject\Houdini\Classes\Views;
use TheTempusProject\Houdini\Classes\Components;
use TheTempusProject\Houdini\Classes\Template;
use TheTempusProject\Classes\Controller;
use TheTempusProject\Classes\Forms;
use TheTempusProject\TheTempusProject as App;
class Bedrock extends Controller {
public function index() {
self::$title = '{SITENAME} - Bedrock';
self::$pageDescription = 'Bedrock is a dependency of {SITENAME} that provides many components used to manipulate database data and many helper functions vital for running the entire application.';
Views::view( 'deps.bedrock' );
}
public function packagist() {
Redirect::external( 'https://packagist.org/packages/thetempusproject/bedrock' );
}
public function git() {
Redirect::external( 'https://git.thetempusproject.com/the-tempus-project/bedrock' );
}
public function changes() {
self::$title = '{SITENAME} - Bedrock Changes';
self::$pageDescription = 'Bedrock is a dependency of {SITENAME} and this pages lists the most recent changes with some details on those changes.';
Views::view( 'changes.bedrock' );
}
}

View File

@ -0,0 +1,47 @@
<?php
/**
* app/controllers/canary.php
*
* This is the canary controller.
*
* @version 3.0
* @author Joey Kimsey <Joey@thetempusproject.com>
* @link https://TheTempusProject.com
* @license https://opensource.org/licenses/MIT [MIT LICENSE]
*/
namespace TheTempusProject\Controllers;
use TheTempusProject\Hermes\Functions\Redirect;
use TheTempusProject\Bedrock\Functions\Session;
use TheTempusProject\Bedrock\Functions\Check;
use TheTempusProject\Bedrock\Functions\Input;
use TheTempusProject\Hermes\Functions\Route as Routes;
use TheTempusProject\Houdini\Classes\Issues;
use TheTempusProject\Houdini\Classes\Views;
use TheTempusProject\Houdini\Classes\Components;
use TheTempusProject\Houdini\Classes\Template;
use TheTempusProject\Classes\Controller;
use TheTempusProject\Classes\Forms;
use TheTempusProject\TheTempusProject as App;
class Canary extends Controller {
public function index() {
self::$title = '{SITENAME} - Canary';
self::$pageDescription = 'Canary is a dependency of {SITENAME} that both records and reports logs from various PHP applications.';
Views::view( 'deps.canary' );
}
public function packagist() {
Redirect::external( 'https://packagist.org/packages/thetempusproject/canary' );
}
public function git() {
Redirect::external( 'https://git.thetempusproject.com/the-tempus-project/canary' );
}
public function changes() {
self::$title = '{SITENAME} - Canary Changes';
self::$pageDescription = 'Canary is a dependency of {SITENAME} and this pages lists the most recent changes with some details on those changes.';
Views::view( 'changes.canary' );
}
}

View File

@ -0,0 +1,47 @@
<?php
/**
* app/controllers/hermes.php
*
* This is the hermes controller.
*
* @version 3.0
* @author Joey Kimsey <Joey@thetempusproject.com>
* @link https://TheTempusProject.com
* @license https://opensource.org/licenses/MIT [MIT LICENSE]
*/
namespace TheTempusProject\Controllers;
use TheTempusProject\Hermes\Functions\Redirect;
use TheTempusProject\Bedrock\Functions\Session;
use TheTempusProject\Bedrock\Functions\Check;
use TheTempusProject\Bedrock\Functions\Input;
use TheTempusProject\Hermes\Functions\Route as Routes;
use TheTempusProject\Houdini\Classes\Issues;
use TheTempusProject\Houdini\Classes\Views;
use TheTempusProject\Houdini\Classes\Components;
use TheTempusProject\Houdini\Classes\Template;
use TheTempusProject\Classes\Controller;
use TheTempusProject\Classes\Forms;
use TheTempusProject\TheTempusProject as App;
class Hermes extends Controller {
public function index() {
self::$title = '{SITENAME} - Hermes';
self::$pageDescription = 'Hermes is a dependency of {SITENAME} that provides many common helper functions for navigating url components and file systems; designed to work seamlessly regardless of architecture.';
Views::view( 'deps.hermes' );
}
public function packagist() {
Redirect::external( 'https://packagist.org/packages/thetempusproject/hermes' );
}
public function git() {
Redirect::external( 'https://git.thetempusproject.com/the-tempus-project/hermes' );
}
public function changes() {
self::$title = '{SITENAME} - Hermes Changes';
self::$pageDescription = 'Hermes is a dependency of {SITENAME} and this pages lists the most recent changes with some details on those changes.';
Views::view( 'changes.hermes' );
}
}

View File

@ -29,25 +29,25 @@ class Home extends Controller {
self::$title = '{SITENAME}';
self::$pageDescription = 'This is the homepage of your new Tempus Project Installation. Thank you for installing. find more info at https://thetempusproject.com';
$optionValues = [
(object) [ "option" => "Full-Stack Developer" ],
(object) [ "option" => "DevOps Engineer" ],
(object) [ "option" => "Web Developer" ],
(object) [ "option" => "App Developer" ],
(object) [ "option" => "Senior PHP Developer" ],
(object) [ "option" => "Server/Waiter" ],
(object) [ "option" => "Cook" ],
(object) [ "option" => "Farm-Hand" ],
(object) [ "option" => "Dish-Boy" ],
(object) [ "option" => "Brother" ],
(object) [ "option" => "Son" ],
(object) [ "option" => "Friend" ],
(object) [ "option" => "Student" ],
(object) [ "option" => "Polymath" ],
(object) [ "option" => "Geek" ],
(object) [ "option" => "Nerd" ],
(object) [ "post" => "XXXXXXXX", "option" => "Full-Stack Developer" ],
(object) [ "post" => "XXXXXXXX", "option" => "DevOps Engineer" ],
(object) [ "post" => "XXXXXXXX", "option" => "Web Developer" ],
(object) [ "post" => "XXXXXXXX", "option" => "App Developer" ],
(object) [ "post" => "XXXXXXXX", "option" => "Senior PHP Developer" ],
(object) [ "post" => "XXXXXXXX", "option" => "Server/Waiter" ],
(object) [ "post" => "XXXXXXXX", "option" => "Cook" ],
(object) [ "post" => "XXXXXXXX", "option" => "Farm-Hand" ],
(object) [ "post" => "XXXXXXXX", "option" => "Dish-Boy" ],
(object) [ "post" => "XXXXXXXX", "option" => "Brother" ],
(object) [ "post" => "XXXXXXXX", "option" => "Son" ],
(object) [ "post" => "XXXXXXXX", "option" => "Friend" ],
(object) [ "post" => "XXXXXXXX", "option" => "Student" ],
(object) [ "post" => "XXXXXXXX", "option" => "Polymath" ],
(object) [ "post" => "XXXXXXXX", "option" => "Geek" ],
(object) [ "post" => "XXXXXXXX", "option" => "Nerd" ],
];
shuffle($optionValues);
Views::view( 'test', $optionValues );
Views::view( 'index', $optionValues );
}
public function login() {
@ -108,12 +108,6 @@ class Home extends Controller {
Views::view( 'termsPage' );
}
public function about() {
self::$title = 'About - {SITENAME}';
self::$pageDescription = '{SITENAME} was started by a developer with years of industry experience which has lead to a refined no-nonsense tool for everyone. Find out more about us here.';
Views::view( 'about' );
}
public function about() {
self::$title = 'About - {SITENAME}';
self::$pageDescription = 'Just a bit more info on me.';

View File

@ -0,0 +1,47 @@
<?php
/**
* app/controllers/houdini.php
*
* This is the houdini controller.
*
* @version 3.0
* @author Joey Kimsey <Joey@thetempusproject.com>
* @link https://TheTempusProject.com
* @license https://opensource.org/licenses/MIT [MIT LICENSE]
*/
namespace TheTempusProject\Controllers;
use TheTempusProject\Hermes\Functions\Redirect;
use TheTempusProject\Bedrock\Functions\Session;
use TheTempusProject\Bedrock\Functions\Check;
use TheTempusProject\Bedrock\Functions\Input;
use TheTempusProject\Hermes\Functions\Route as Routes;
use TheTempusProject\Houdini\Classes\Issues;
use TheTempusProject\Houdini\Classes\Views;
use TheTempusProject\Houdini\Classes\Components;
use TheTempusProject\Houdini\Classes\Template;
use TheTempusProject\Classes\Controller;
use TheTempusProject\Classes\Forms;
use TheTempusProject\TheTempusProject as App;
class Houdini extends Controller {
public function index() {
self::$title = '{SITENAME} - Houdini';
self::$pageDescription = 'Houdini is a dependency of {SITENAME} that allows for the creation and manipulation of objects used in html page creation.';
Views::view( 'deps.houdini' );
}
public function packagist() {
Redirect::external( 'https://packagist.org/packages/thetempusproject/houdini' );
}
public function git() {
Redirect::external( 'https://git.thetempusproject.com/the-tempus-project/houdini' );
}
public function changes() {
self::$title = '{SITENAME} - Houdini Changes';
self::$pageDescription = 'Houdini is a dependency of {SITENAME} and this pages lists the most recent changes with some details on those changes.';
Views::view( 'changes.houdini' );
}
}