Feature #38636

Feature #38629: Make TypoScript usable outside the context of TYPO3 / Nodes, but also for building extensible FLOW3 applications

Implement get() function to retrieve arbitrary objects via ObjectManager

Added by Sebastian Kurfuerst 11 months ago. Updated 9 months ago.

Status:Rejected Start date:2012-07-04
Priority:Should have Due date:
Assignee:- % Done:

0%

Category:-
Target version:-
Votes: 0

Description

At some points during rendering of standalone FLOW3 applications, it would be very helpful to access global state, by accessing singleton objects.

For instance, for the Blog example it would be helpful if the current blog could be fetched using TypoScript.

One way to do this would be ${get('TYPO3\Blog\Domain\Repository\BlogRepository').getActive()}, or possibly also @${blogRepository.active}

Note that this feature still needs to be discussed thoroughly; I am not sure if w really want that

History

Updated by Sebastian Kurfuerst 9 months ago

  • Status changed from New to Rejected

really bad idea after sleeping over it :)

Also available in: Atom PDF