From 3afc903897ede5edcfbe8f8476b0343e7617198f Mon Sep 17 00:00:00 2001 From: Ferdinand Kuhl Date: Thu, 30 May 2024 15:23:04 +0200 Subject: [PATCH] adding minimal documentation and package meta information --- README.md | 13 +++++++++++++ composer.json | 17 ++++++++++++++++- 2 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..55c81eb --- /dev/null +++ b/README.md @@ -0,0 +1,13 @@ +# DigiComp.Sequence + +This extends the fluid language with an expression to allow you to access values of the current action request. + +```html + + Welcome to {#currentController.name} {#currentController.actionName} + +``` + +The pattern is `{#currentController.PROPERTY_OF_ACTIONREQUEST}` - all properties are possible. To avoid duplicated "controller" in the expression you are allowed to omit them (even if it works, if you do not). + +It is really helpful if you try to generalize partials - being an expression, it is not depending on any aliased namespace, which might change in deeper structures. diff --git a/composer.json b/composer.json index 10cda9a..5c6a1b5 100644 --- a/composer.json +++ b/composer.json @@ -16,5 +16,20 @@ "psr-4": { "DigiComp\\FluidCurrentControllerExpression\\": "Classes/" } - } + }, + "authors": [ + { + "name": "Ferdinand Kuhl", + "email": "f.kuhl@digital-competence.de", + "homepage": "https://www.digital-competence.de", + "role": "Developer" + } + ], + "license": "MIT", + "homepage": "https://git.digital-competence.de/Packages/DigiComp.FluidCurrentControllerExpression", + "keywords": [ + "Neos", + "Flow", + "fluid" + ] }