Skip to content

Commit 0c6cc0f

Browse files
author
Mike Fisher
committed
Add nikic's XML over PHP article link
1 parent 62c2421 commit 0c6cc0f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

index.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ Got a PHP project? Heard of Grunt and Gulp but don't use NodeJS? Task is a pure
1212
* Employ Symfony components for effortless CLI goodness.
1313
* Extend with plugins.
1414

15+
1516
Example
1617
=======
1718

@@ -210,3 +211,8 @@ Streams
210211
-------
211212

212213
Plugins are encouraged to use NodeJS-style streams for handling data flows. `Task\Plugin\Stream\ReadableInterface` provides `read` and `pipe` methods, `Task\Plugin\Stream\WritableInterface` provides a `write` method. In the example above `ProcessPlugin::build` returns a `Task\Plugin\Process\ProcessBuilder`, which implements `ReadableInterface`, allowing us to `pipe` a `Task\Plugin\Console\Output\Output` instance to it, which implements `WritableInterface`.
214+
215+
Discussion
216+
==========
217+
218+
* See [nikic's article on PHP over XML](https://nikic.github.io/2012/07/09/A-plea-for-less-XML-configuration-files.html) for a great argument for using pure PHP for configuration.

0 commit comments

Comments
 (0)