Skip to content

Instantly share code, notes, and snippets.

View alexanderschnitzler's full-sized avatar
🏠
Working from home

Alexander Schnitzler alexanderschnitzler

🏠
Working from home
View GitHub Profile

Deprecation of Switchable Controller Actions

To understand what the deprecation of SCA's means, one has to understand what they are and why they are used. And to describe this, we need to start at the very beginning, the definition of a plugin which is split into two different calls to static methods.

  1. \TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin()
  2. \TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin()

The naming of those methods is bit irritating as registerPlugin does indicate that it needs to be called

@alexanderschnitzler
alexanderschnitzler / InjectMethodToConstructorInjectionRector.php
Last active November 3, 2021 20:36
InjectMethodToConstructorInjectionRector.php
<?php
declare(strict_types=1);
namespace FriendsOfTYPO3\Rector\TYPO3\Rector\Extbase;
use Rector\Core\Rector\AbstractRector;
use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;
use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample;
use PhpParser\Node\Param;
@alexanderschnitzler
alexanderschnitzler / .phpstorm.meta.php
Last active August 10, 2021 09:45
.phpstorm.meta.php for TYPO3
<?php
/** @see https://www.jetbrains.com/help/phpstorm/ide-advanced-metadata.html */
namespace PHPSTORM_META {
override(\TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(0), type(0));
override(\TYPO3\CMS\Extbase\Object\ObjectManagerInterface::get(0), type(0));
}
@alexanderschnitzler
alexanderschnitzler / rsync.sh
Created October 9, 2020 12:19 — forked from garethrees/rsync.sh
rsync & scp through jump host
# Upload
rsync -av -e "ssh -A JUMP_HOST ssh" FILE_TO_SEND DEST_HOST:/home/gareth/
# Download
rsync -av -e "ssh -A JUMP_HOST ssh" DEST_HOST:~/FILE_TO_DOWNLOAD ~/Downloads/
@alexanderschnitzler
alexanderschnitzler / openletter.md
Last active August 16, 2018 19:14
An open letter to the Neos development team

An open letter to the Neos development team

Dear members of the development team, CU a few days ago I commented the announcement, that Neos and Flow get rid of "TYPO3" as part of their names, as follows:

Removing "TYPO3" from Neos and Flow makes it easier to quietly abandon these products. \o/

Additionally to this tweet I had a small twitter conversation resulting in this tweet:

TYPO3.Surf

This is statement regarding my tweet:

Still don't get that #TYPO3 Surf Hype. It's a NIH product and resembles everything we try to avoid in the community recently.

People started asking me about what I use instead, what NIH means and why exactly the problem with TYPO3.Surf is. As twitter only allows 140 chars, I decided to shortly write down this gist.

What is NIH and why does it harm?

@alexanderschnitzler
alexanderschnitzler / typo3_composer_integration_wishlist.md
Created March 22, 2017 19:49
TYPO3 Composer Integration (Wishlist)

TYPO3 Composer Integration (Wishlist)

This document gives an overview of the issues I see in the current composer implementation in TYPO3. First of all I'll write it in the form of user stories and afterwards write an actual text.

Composer Related Wishes

As a developer I want to:

  • ☑ composer init and require typo3/cms
  • ☑ install TYPO3 extensions via composer
@alexanderschnitzler
alexanderschnitzler / the future of templavoila.md
Last active April 19, 2017 18:09
The future of TemplaVoilà
@alexanderschnitzler
alexanderschnitzler / templavoila_key.md
Created March 18, 2017 13:10
TemplaVoilà Extension Key
@alexanderschnitzler
alexanderschnitzler / templavoila_crowdfunding.md
Last active November 5, 2016 14:23
TemplaVoilà Crowdfunding

History

  • Extension created by Kaspar, then Robert Lemke, Steffen Kamper, Dmitry Dulepov.
  • Later managed by Tolleiv Nietsch.
  • Applause for a dying open source project during TYPO3 Camp Stuttgart 2013 made me think.
  • Took over the development for 6.2 together with Wouter Wolters.

Why?

  • I am feelancer and code for a living.