Digital Sovereignty & Open Source: Insights from T3CON23’s Government Panel - TYPO3 the Open Source Enterprise CMS
TYPO3 Conference 2023: Explore how open-source solutions are revolutionizing digital sovereignty in government sectors.typo3.com
Marco Huber likes this.
TYPO3 8.7.56, 9.5.45, and 10.4.42 ELTS Released - TYPO3 the Open Source Enterprise CMS
Today, TYPO3 v10.4.42, v9.5.45 and v8.7.56 ELTS have been released. Gain peace of mind by opting for one of TYPO3 GmbH’s Extended Support offers!typo3.com
AndreasKessel reshared this.
like this
Kay Strobach reshared this.
Since TYPO3 uses a lot of the components of Symfony already, it would be great if Extbase would also be similar to Symfony.
Symfony has 2 great features which are currently missing in Extbase:
- Allow to specify allowed methods for an action (GET, POST, PUT…)
- Set permissions which user is allowed to call actions
Surprisingly the backend is already feature number one where you can define allowed methods in typo3/sysext/backend/Configuration/Backend/Routes.php
for example like so:
<pre><code class="lang-php">'login_request_token' => [
'path' => '/login/request-token',
'access' => 'public',
'methods' => ['POST'],
'target' => Controller\LoginController::class . '::requestTokenAction',
],
</code></pre>
Because the routing works completely different in Extbase, it is time to rethink it.
My proposal is to also use Annotations like in Symfony also in Extbase like so:
<pre><code class="lang-php">class BackendUserController extends ActionController
{
#[Route(path: '/removeFromCompareList/{uid}/{redirectToCompare}', name: 'removeFromCompareList', methods: ['POST'])]
#[IsGranted('customer')]
public function removeFromCompareListAction(int $uid, int $redirectToCompare = 0): ResponseInterface
{
$this->removeFromCompareList('compareUserList', $uid);
if ($redirectToCompare) {
return $this->redirect('compare');
}
return $this->redirect('index');
}
}
</code></pre>
What are your thoughts about it?
Would this be something that could be implemented for TYPO3 13?
2 posts - 2 participants
Jens Neumann reshared this.
AndreasKessel likes this.
TYPO3 8.7.55, 9.5.44, and 10.4.41 ELTS Released - TYPO3 the Open Source Enterprise CMS
Today, TYPO3 v10.4.41, v9.5.44 and v8.7.55 ELTS have been released. Gain peace of mind by opting for one of TYPO3 GmbH’s Extended Support offers!typo3.com
AndreasKessel likes this.
reshared this
WUeTUG likes this.
reshared this
Marco Huber likes this.
Marco Huber reshared this.
Coders' Corner: October 2023 - TYPO3 the Open Source Enterprise CMS
Each month, we celebrate contributors in our Developer Appreciation Day post. Please take a moment to share gratitude for their continued passion and time.typo3.com
reshared this
TYPO3 Awards 2023 Celebrate CMS Excellence After a Four-Year Hiatus
womenforwomenfrance.org by Talan Solutions won Website of the Year at the TYPO3 Awards in Düsseldorf, Germany. Meet all 2023 Winners.typo3.org
like this
Kay Strobach likes this.
Kay Strobach reshared this.
AndreasKessel likes this.
AndreasKessel reshared this.
Patrick Schriner likes this.
Hat Tip to TYPO3 Coders - September 2023 - TYPO3 the Open Source Enterprise CMS
Each month, we celebrate contributors in our Developer Appreciation Day post. Please take a moment to share gratitude for their continued passion and time.typo3.com
like this
reshared this
SkillDisplay Partners With the Doctrine Project
The Doctrine Project's widely-used PHP libraries are integral to many open source applications. Now, SkillDisplay is partnering with Doctrine to offer open data skill definitions for these libraries, creating a shared foundation of competencies that …typo3.org
like this
reshared this
Josef Glatz likes this.
The Stage Is Set: Nominees for the TYPO3 Awards 2023 Announced - TYPO3 the Open Source Enterprise CMS
With 221 submissions from agencies around the globe, the competition is fiercer than ever. Join us on 12 October 2023 in Düsseldorf, Germany | T3CON23typo3.com
Dirk Fehse reshared this.
Florian Geierstanger likes this.
Julian Hofmann likes this.
reshared this
August 2023: Developer Appreciation Day (DAD) - TYPO3 the Open Source Enterprise CMS
Each month, we celebrate contributors in our Developer Appreciation Day post. Please take a moment to share gratitude for their continued passion and time.typo3.com
Hat Tip to TYPO3 Coders - July 2023 - TYPO3 the Open Source Enterprise CMS
Each month, we celebrate contributors in our Developer Appreciation Day post. Please take a moment to share gratitude for their continued passion and time.typo3.com
Marco Huber likes this.
Marco Huber reshared this.
Mateng
•