[Neos] Common interface for Node & NodeData?

Christian Müller christian.mueller at typo3.org
Sat Oct 19 16:09:24 CEST 2013


Bastian Waidelich wrote:
> Bastian Waidelich wrote:
>> is there a reason why there is no common interface for NodeData and Node?
> FYI: In the meantime I got feedback via IRC:
> NodeData is just an "implementation detail" of Node, we should basically
> never interact with it from the "outside" but always refer to
> NodeInterface.

Correct. And therefor there is also no common interface.

> Currently there are > 500 occurrences of "nodedata" in the distribution.
> It will be hard to find all the "invalid" ones but IMO we should try to
> make the API more consistent.

Should hopefully mostly in internal methods and yes I can imagine there 
are a lot.

> For now I'll try to cleanup Model\Workspace as this will be needed for
> proper Routing & Link support.



More information about the Neos mailing list