Skip to content

Commit

Permalink
project
Browse files Browse the repository at this point in the history
  • Loading branch information
dracony committed Jun 10, 2015
1 parent e5c5174 commit 9ba4b94
Show file tree
Hide file tree
Showing 21 changed files with 901 additions and 0 deletions.
Empty file modified .gitignore
100644 → 100755
Empty file.
Empty file modified LICENSE
100644 → 100755
Empty file.
Empty file modified README.md
100644 → 100755
Empty file.
8 changes: 8 additions & 0 deletions assets/config/database.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?php

return array(
'default' => array(
'driver' => 'PDO',
'connection' => ''
)
);
24 changes: 24 additions & 0 deletions assets/config/locator.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<?php

return array(
'type' => 'prefix',
'locators' => array(

//templates locator
'templates' => array(
array(
'type' => 'prefix',
'locators' => array(

//Mount Hello templates
'hello' => array(
'type' => 'mount',
'name' => 'hello:templates'
),

)
)
)
//end templates locator
)
);
5 changes: 5 additions & 0 deletions assets/config/orm.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?php

return array(

);
16 changes: 16 additions & 0 deletions assets/config/routes.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?php

return array(
'translator' => array(
'basePath' => '/'
),
'resolver' => array(
'type' => 'group',
'resolvers' => array(
array(
'type' => 'mount',
'name' => 'app'
)
)
)
);
Empty file.
12 changes: 12 additions & 0 deletions bundles/hello/assets/config/route.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?php

return array(
array(
'type' => 'pattern',
'url' => '(/<processor>(/<action>))',
'defaults' => array(
'processor' => 'hello',
'action' => 'index'
)
)
);
6 changes: 6 additions & 0 deletions bundles/hello/assets/templates/greet/index.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?php $this->layout('layout'); ?>

<?php $this->block('content'); ?>
<h1>Hello</h1>
<?=$_($message)?>
<?php $this->endBlock(); ?>
Empty file.
11 changes: 11 additions & 0 deletions bundles/hello/src/Project/Hello.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?php

namespace Project;

class Hello extends \PHPixie\Framework\Bundle\Implementation
{
public function rootDirectory()
{
return realpath(__DIR__.'/../../');
}
}
Empty file.
Empty file.
13 changes: 13 additions & 0 deletions bundles/hello/src/Project/Hello/Processors.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?php

namespace Hello;

class Processors
{
protected $http = array('hello');

public function hello()
{

}
}
14 changes: 14 additions & 0 deletions bundles/hello/src/Project/Hello/Processors/Hello.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?php

class Hello
{
public function __construct($template)
{

}

public function greet()
{
$
}
}
20 changes: 20 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"require": {
"phpixie/framework": "3.*@dev",
"phpixie/debug": "3.*@dev",
"phpixie/router": "3.*@dev",
"phpixie/template": "3.*@dev",
"phpixie/filesystem": "3.*@dev",
"phpixie/database": "3.*@dev",
"phpixie/config": "3.*@dev",
"phpixie/orm": "3.*@dev",
"phpixie/slice": "3.*@dev",
"phpixie/processors": "3.*@dev",
"phpixie/http": "3.*@dev",
"psr/http-message": "1.*@dev",
"phpixie/http-processors": "3.*@dev"
},
"require-dev": {
"phpixie/test": "3.*@dev"
}
}
Loading

0 comments on commit 9ba4b94

Please sign in to comment.