[TYPO3-doc] Domain model for documentation

Robert Lemke robert at typo3.org
Fri Aug 3 08:53:35 CEST 2012


Hi François,

On 02.08.2012, at 22:02, François Suter <fsu-lists at cobweb.ch> wrote:

>> I pushed a new version of the domain model to
>> https://github.com/typo3/TYPO3.Docs
> 
> Just added a "uri" property to the Document domain model, meant to describe at which URI the document is available.


just one idea:

why don't you use the TYPO3\FLOW3\Http\Uri (in FLOW3 1.1) for the uri property and TYPO3\FLOW3\I18n\Locale for the locale? Then you get the API and validation for free ;-)

Cheers,
Robert

-- 
Robert Lemke
Lead Developer TYPO3 Phoenix and FLOW3
Co-Founder TYPO3 Association

Blog: robertlemke.de/blog
Get involved: typo3.org – flow3.org





More information about the TYPO3-project-documentation mailing list