This commit is contained in:
Joey Kimsey
2025-02-02 00:36:17 -05:00
parent 77446dff94
commit 155c6a70f5
23 changed files with 1922 additions and 813 deletions

View File

@ -1,47 +0,0 @@
<?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

@ -1,47 +0,0 @@
<?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

@ -1,47 +0,0 @@
<?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

@ -28,7 +28,7 @@ class Home extends Controller {
public function index() {
self::$title = '{SITENAME}';
self::$pageDescription = '{SITENAME} is here to provide you a better, faster, and easier - way to create and manage your own web applications.';
Views::view( 'landing' );
Views::view( 'index' );
}
public function login() {
@ -108,12 +108,6 @@ class Home extends Controller {
Views::view( 'faq' );
}
public function libraries() {
self::$title = 'Libraries - {SITENAME}';
self::$pageDescription = '{SITENAME} depends on several very important libraries, some of which are developed exclusively to support the project. Here you can find a list with more information.' ;
Views::view( 'deps.index' );
}
public function getstarted() {
self::$title = 'Get Started - {SITENAME}';
self::$pageDescription = '{SITENAME} is a great tool to bring your ideas to reality. On this page, you can find out how to get started today.' ;

View File

@ -1,47 +0,0 @@
<?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' );
}
}

View File

@ -0,0 +1,125 @@
<?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\Houdini\Classes\Views;
use TheTempusProject\Classes\Controller;
class Libraries extends Controller {
public function index() {
self::$title = 'Libraries - {SITENAME}';
self::$pageDescription = '{SITENAME} depends on several very important libraries, some of which are developed exclusively to support the project. Here you can find a list with more information.' ;
Views::view( 'deps.index' );
}
public function ttp( $method = null ) {
self::$title = '{SITENAME} - TheTempusProject';
self::$pageDescription = 'TheTempusProject is the primary repo of {SITENAME} which houses the main application.';
if ( empty( $method ) ) {
return Views::view( 'deps.ttp' );
}
switch ( $method ) {
case 'git':
return Redirect::external( 'https://git.thetempusproject.com/the-tempus-project/thetempusproject' );
case 'packagist':
return Redirect::external( 'https://packagist.org/packages/thetempusproject/thetempusproject' );
case 'changes':
self::$title .= ' Changes';
self::$pageDescription = 'This pages lists the most recent changes to TheTempusProject with some details on those changes.';
return Views::view( 'changes.ttp' );
default:
return Views::view( 'deps.ttp' );
}
}
public function hermes( $method = null ) {
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.';
if ( empty( $method ) ) {
return Views::view( 'deps.hermes' );
}
switch ( $method ) {
case 'git':
return Redirect::external( 'https://git.thetempusproject.com/the-tempus-project/hermes' );
case 'packagist':
return Redirect::external( 'https://packagist.org/packages/thetempusproject/hermes' );
case 'changes':
self::$title .= ' Changes';
self::$pageDescription = 'Hermes is a dependency of {SITENAME} and this pages lists the most recent changes with some details on those changes.';
return Views::view( 'changes.hermes' );
default:
return Views::view( 'deps.hermes' );
}
}
public function canary( $method = null ) {
self::$title = '{SITENAME} - Canary';
self::$pageDescription = 'Canary is a dependency of {SITENAME} that both records and reports logs from various PHP applications.';
if ( empty( $method ) ) {
return Views::view( 'deps.canary' );
}
switch ( $method ) {
case 'git':
return Redirect::external( 'https://git.thetempusproject.com/the-tempus-project/canary' );
case 'packagist':
return Redirect::external( 'https://packagist.org/packages/thetempusproject/canary' );
case 'changes':
self::$title .= ' Changes';
self::$pageDescription = 'Canary is a dependency of {SITENAME} and this pages lists the most recent changes with some details on those changes.';
return Views::view( 'changes.canary' );
default:
return Views::view( 'deps.canary' );
}
}
public function bedrock( $method = null ) {
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.';
if ( empty( $method ) ) {
return Views::view( 'deps.bedrock' );
}
switch ( $method ) {
case 'git':
return Redirect::external( 'https://git.thetempusproject.com/the-tempus-project/bedrock' );
case 'packagist':
return Redirect::external( 'https://packagist.org/packages/thetempusproject/bedrock' );
case 'changes':
self::$title .= ' Changes';
self::$pageDescription = 'Bedrock is a dependency of {SITENAME} and this pages lists the most recent changes with some details on those changes.';
return Views::view( 'changes.bedrock' );
default:
return Views::view( 'deps.bedrock' );
}
}
public function houdini( $method = null ) {
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.';
if ( empty( $method ) ) {
return Views::view( 'deps.houdini' );
}
switch ( $method ) {
case 'git':
return Redirect::external( 'https://git.thetempusproject.com/the-tempus-project/houdini' );
case 'packagist':
return Redirect::external( 'https://packagist.org/packages/thetempusproject/houdini' );
case 'changes':
self::$title .= ' Changes';
self::$pageDescription = 'Houdini is a dependency of {SITENAME} and this pages lists the most recent changes with some details on those changes.';
return Views::view( 'changes.houdini' );
default:
return Views::view( 'deps.houdini' );
}
}
}