From 01c8862054eca741171b20387561cda39483de26 Mon Sep 17 00:00:00 2001 From: Bilge Date: Mon, 20 Mar 2017 00:04:36 +0000 Subject: [PATCH] Updated readme. --- README.md | 33 +++++++++++++++++++++++++-------- test/Stubs/Invokable.php | 2 +- 2 files changed, 26 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 507ca74..a5d6c56 100644 --- a/README.md +++ b/README.md @@ -9,9 +9,9 @@ Porter + +INTERMISSION +------------ + +Congratulations. + +We have covered everything needed to use Porter. The rest of this readme is for those wishing to dig deeper. Take a break, grab a cup of your favourite beverage and resume with us in a few moments when you're ready to take a look at how to write [providers](#providers), [resources](#resources) and [connectors](#connectors). + + + +--- + Architecture ------------ Porter talks to *providers* to fetch data. Providers represent one or more *resources* from which data can be fetched. Providers pass a *connector* needed by their resources to fetch data. Resources define the provider they are compatible with and receive the provider's connector when fetching data. Resources must transform their data into one or more *records*, collectively known as *record collections*, which present data sets as an enumeration of array values. -The following UML class diagram shows a partial architectural overview illustrating Porter's main components. +The following UML class diagram shows a partial architectural overview illustrating Porter's main components ([enlarge][Class diagram]). [![Class diagram][Class diagram]][Class diagram] @@ -445,6 +460,8 @@ Porter is published under the open source GNU Lesser General Public License v3.0 [Issues]: https://github.com/ScriptFUSION/Porter/issues [PRs]: https://github.com/ScriptFUSION/Porter/pulls [Provider]: https://github.com/provider + [Stripe provider]: https://github.com/Provider/Stripe + [ECB provider]: https://github.com/Provider/European-Central-Bank [Porter transformers]: https://github.com/Porter-transformers [MappingTransformer]: https://github.com/Porter-transformers/MappingTransformer [Mapper]: https://github.com/ScriptFUSION/Mapper diff --git a/test/Stubs/Invokable.php b/test/Stubs/Invokable.php index e942af9..37c24a0 100644 --- a/test/Stubs/Invokable.php +++ b/test/Stubs/Invokable.php @@ -5,6 +5,6 @@ final class Invokable { public function __invoke() { - // Inteiontionally empty. + // Intentionally empty. } }