-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
22 changed files
with
419 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
app_title = fluid custom demo data | ||
app_title = Parable custom demo data | ||
debug_enabled = 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
<?php | ||
/** | ||
* @package Fluid | ||
* @package Parable | ||
* @copyright 2015-2016, Robin de Graaf, devvoh webdevelopment | ||
* @license MIT | ||
* @author Robin de Graaf ([email protected]) | ||
*/ | ||
|
||
namespace App\Cli; | ||
|
||
use \Devvoh\Fluid\App as App; | ||
use \Devvoh\Parable\App as App; | ||
|
||
class Index { | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
<?php | ||
/** | ||
* @package Fluid | ||
* @package Parable | ||
* @copyright 2015-2016, Robin de Graaf, devvoh webdevelopment | ||
* @license MIT | ||
* @author Robin de Graaf ([email protected]) | ||
*/ | ||
|
||
namespace App\Controller; | ||
|
||
use \Devvoh\Fluid\App as App; | ||
use \Devvoh\Parable\App as App; | ||
|
||
class Home extends \Core\Controller\Base { | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<?php | ||
/** | ||
* @package Fluid | ||
* @package Parable | ||
* @copyright 2015-2016, Robin de Graaf, devvoh webdevelopment | ||
* @license MIT | ||
* @author Robin de Graaf ([email protected]) | ||
|
@@ -16,16 +16,16 @@ | |
* and it would be wise to leave 'unique' as last (for performance), since it'll make a database connection to check. | ||
* 5) This is it. This is a working model. Note that the database column names should match these properties 1:1. | ||
* 6) In case you do want to use different property names, there is a very basic (no error-checking) toMappedArray | ||
* method in \Devvoh\Fluid\Entity, which will use $entity->getMapper() to get a from => to array with which to map | ||
* method in \Devvoh\Parable\Entity, which will use $entity->getMapper() to get a from => to array with which to map | ||
* the fields. You would use $entity->setUseMapper(true) to enable. This has NOT been tested yet, and is basically | ||
* pseudo-code. Will be tested and implemented properly later. | ||
*/ | ||
|
||
namespace App\Model; | ||
|
||
use \Devvoh\Fluid\App as App; | ||
use \Devvoh\Parable\App as App; | ||
|
||
class Users extends \Devvoh\Fluid\Entity { | ||
class Users extends \Devvoh\Parable\Entity { | ||
|
||
protected $tableName = 'users'; | ||
protected $tableKey = 'id'; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
<?php | ||
/** | ||
* @package Fluid | ||
* @package Parable | ||
* @copyright 2015-2016, Robin de Graaf, devvoh webdevelopment | ||
* @license MIT | ||
* @author Robin de Graaf ([email protected]) | ||
*/ | ||
|
||
use \Devvoh\Fluid\App as App; | ||
use \Devvoh\Parable\App as App; | ||
|
||
$routes['index'] = [ | ||
'method' => 'GET', | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
<?php | ||
/** | ||
* @package Fluid | ||
* @package Parable | ||
* @copyright 2015-2016, Robin de Graaf, devvoh webdevelopment | ||
* @license MIT | ||
* @author Robin de Graaf ([email protected]) | ||
*/ | ||
|
||
namespace Core\Controller; | ||
|
||
use \Devvoh\Fluid\App as App; | ||
use \Devvoh\Parable\App as App; | ||
|
||
class Base { | ||
} |
Oops, something went wrong.