[TYPO3-dev] The state of support for the Semantic Web / RDFA / Web 3.0 in TYPO3

Jochen Rau jochen.rau at typoplanet.de
Fri Aug 28 09:06:12 CEST 2009


Hi Martin,

Martin Kutschker wrote:
> Jochen Rau schrieb:
>> The first step towards this goal will be to add Semantics to the
>> (Domain) Objects of the Extensions. So we can couple a Domain Object
>> like Tx_MyExtension_Domain_Model_Client to a semantic model "Person".
>> The semantic model holds all the invariants, like "A Person has a date
>> of birth. A Person has a father an a mother (which are also Persons). ...".
>
> Could this be added to the TCA itself. At least some of the meta
> information?

The TCA is intended to configure tables in a database. It is the wrong 
place for that purpose as it has quite some limitations to express 
complex semantic constraints. I would prefer to bind the Domain Models 
to the Ontology by adding "metadata" to the phpdoc. And we should think 
of Interfaces and Generic Domain Models. So most of the time an 
extension developer don't has to deal with adding semantics (zero 
configuration). It's all done transparently. And if he adds

{person.name} {person.emailAddress}

to a fluid template, the output will be

<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
           xmlns:foaf="http://xmlns.com/foaf/0.1/"
           xmlns:dc="http://purl.org/dc/elements/1.1/"
           xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#">
    <foaf:Person xml:lang="en">
      <foaf:name>John Doe</foaf:name> <foaf:mbox 
rdf:resource="mailto:john at example.com"/>
     </foaf:Person>
  </rdf:RDF>

which is machine readable and meaningful.

>> The second step is to generate "meaningful" output. In case of XHTML
>> this could be RDFa or Microformats.
>
> Could be done in sysext "cms" as well.

Yes. But this decision can be made later.

Regards
Jochen

-- 
Every nit picked is a bug fixed





More information about the TYPO3-dev mailing list