Skip to content

Commit 3cd86be

Browse files
author
dereuromark
committed
Docs
1 parent a988d7d commit 3cd86be

File tree

5 files changed

+8
-97
lines changed

5 files changed

+8
-97
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,10 @@ This master branch only works for **CakePHP3.x** - please use the 2.x branch for
2727
### Additional features
2828
- Passwordable behavior allows easy to use password functionality for frontend and backend.
2929
- Slugged, Reset and other behaviors
30-
- Tree helper for working with (complex) trees and their output.
3130
- Text, Time, Number libs and helpers etc provide extended functionality if desired.
32-
- AuthUser, Timeline, Typography, etc provide additional helper functionality.
31+
- Tree helper for working with (complex) trees and their output.
32+
- QrCode, Gravatar and other useful small helpers
33+
- Timeline, Typography, etc provide additional helper functionality.
3334
- Email as a wrapper for core's Email adding some more usefulness and making debugging/testing easier.
3435

3536
### Providing 2.x shims

docs/Auth/Auth.md

Lines changed: 0 additions & 42 deletions
This file was deleted.

docs/Component/Flash.md

Lines changed: 0 additions & 45 deletions
This file was deleted.

docs/README.md

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,7 @@ This cake3 branch only works for **CakePHP3.x** - please use the master branch f
1717
* [Behavior/Passwordable](Behavior/Passwordable.md)
1818
* [Behavior/Slugged](Behavior/Slugged.md)
1919
* [Behavior/Reset](Behavior/Reset.md)
20-
* [Component/Flash](Component/Flash.md)
2120
* [View/Rss](View/Rss.md)
22-
* [Auth (Component/Helper)](Auth/Auth.md)
2321
* [Testing](TestSuite/Testing.md)
2422

2523
## Basic enhancements of the core
@@ -55,9 +53,9 @@ use Tools\Controller\Controller;
5553

5654
class AppController extends Controller {
5755

58-
public $components = array('Tools.Common', 'Tools.Flash');
56+
public $components = array('Tools.Common');
5957

60-
public $helpers = array('Tools.Common', 'Tools.Flash', 'Tools.Time', 'Tools.Number', 'Tools.Format');
58+
public $helpers = array('Tools.Common', 'Tools.Time', 'Tools.Number', 'Tools.Format');
6159

6260
}
6361
```
@@ -66,14 +64,10 @@ Here we can also see some of the most useful components and helpers included rig
6664
The Common component for example will automatically provide:
6765
- Auto-trim on POST (to make - not only notEmpty - validation working properly).
6866

69-
With the Flash component and it's message() method you can have colorful (success, warning, error, ...) flash messages.
70-
They also can stack up (multiple messages per type) which the core currently still doesn't support.
71-
7267
The Tools plugin controller will allow you to:
7368
- Disable cache also works for older IE versions.
7469

7570

76-
7771
### BC shims for easier migration from 2.x
7872
It contains many shims to provide 2.x functionality when upgrading apps to 3.0.
7973
This eases migration as complete parts of the code, such as validation and other model property settings

tests/bootstrap.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,9 @@
7575
if (!getenv('db_class')) {
7676
putenv('db_class=Cake\Database\Driver\Sqlite');
7777
putenv('db_dsn=sqlite::memory:');
78+
79+
//putenv('db_class=Cake\Database\Driver\Postgres');
80+
//putenv('db_dsn=postgres://[email protected]/test');
7881
}
7982

8083
Cake\Datasource\ConnectionManager::config('test', [

0 commit comments

Comments
 (0)