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
@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 / 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;

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 / 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 / templavoila_key.md
Created March 18, 2017 13:10
TemplaVoilà Extension Key

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 / 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.

Seperate Ways

Well, earlier this day I read an interview with Robert Lemke on the website of the german PHP magazine about the split off of Neos.

There is one quote from the article I used in one of my tweets. https://twitter.com/alex_schnitzler/status/600672348900065280 It says "Neos und TYPO3 haben sich zu unterschiedlichen Produkten entwickelt." which can be translated to "Neos and TYPO3 have evolved into different products." and I commented it as such "Falsch, Neos wurde nicht als Nachfolger für TYPO3 entwickelt." which means "Wrong, Neos has not been developed as a successor of TYPO3."

Later that day I received a direct message with the hint, that Neos actually has been developed as a successor of TYPO3. It's the moment I realized (again) that 140 chars maybe really are made for telling people how awesome your food is. However, I never intended to say that Neos wasn't planned to be the successor of TYPO3 – the Berlin Manifesto would p

@alexanderschnitzler
alexanderschnitzler / the future of templavoila.md
Last active April 19, 2017 18:09
The future of TemplaVoilà