File: examples/helloworld/index.php

Recommend this page to a friend!
  Classes of Haseeb Ahmad Basil  >  PHP Skeleton Framework  >  examples/helloworld/index.php  >  Download  
File: examples/helloworld/index.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP Skeleton Framework
Extensive Web application development framework
Author: By
Last change:
Date: 5 years ago
Size: 610 bytes


Class file image Download
 * This is the simplest bootstrap and controller.
 * No Response object is used and controllers echo their output.
 * URLs are in the form index.php?module=&controller=home&action=index (but params are defaults so not necessary)
$ConfigArray['PATH'] = dirname(__FILE__) . '/';

$ConfigArray['PATH'] . '../../A/Locator.php';
$Locator = new A_Locator();

$Request = new A_Http_Request();
$Locator->set('Request', $Request);

$Front = new A_Controller_Front($ConfigArray['PATH'], array('', 'home', ''), array('', 'home', ''));

For more information send a message to info at phpclasses dot org.