[TYPO3-50-general] Generic Object Access

Robert Lemke robert at typo3.org
Tue Jan 6 10:28:56 CET 2009


Hi Sebastian,

Am 05.01.2009 um 22:10 schrieb Sebastian Kurfürst:

> today, after programming for the fifth time some code which would call
> the appropriate getter/setter on an object if you had the property
> name, I decided to do it at one central place.

http://en.wikipedia.org/wiki/Rule_of_three_(programming)

> I am currently in the process of adjusting the PropertyMapper.
> Currently, it is only able to map to setter method names. After the
> refactoring, it'll use the methods above, so it can set public
> properties or ArrayAccess as well.
>
> Do you think this makes sense? Are there more places where this should
> be used? Does something come directly to your mind? :-)

You mean places in the FLOW3 code, already existing?

Or future code? (http://en.wikipedia.org/wiki/YAGNI)

robert



More information about the TYPO3-project-5_0-general mailing list