« Previous - Version 2/7 (diff) - Next » - Current version
Bastian Waidelich, 2010-11-22 11:30


Public API

Extbase and Fluid consist of quite a lot of PHP classes. Still the interaction with them is fairly simple (compared to the flexibility they offer) due to a clean separation of concerns.
It is not an easy task to keep Extbase/Fluid backwards compatible on one hand and "forward" compatible with FLOW3 on the other hand.
In order to be able to change the "inner workings" while keeping the public API stable, we decided to introduce the @api annotation.
If you interact with Extbase/Fluid classes & functions, make sure to keep an eye on this annotation.
If you call a function that is not annotated with the @api annotation, you risk, that your code breaks with an upgrade - even if the function was public!

NOTE: We're planning to create a class diagram that contains all Classes/functions of the public API