<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://octoberwiki.publicdomainscience.com/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://octoberwiki.publicdomainscience.com/feed.php">
        <title>WinterCMS Wiki examples:builder</title>
        <description></description>
        <link>https://octoberwiki.publicdomainscience.com/</link>
        <image rdf:resource="https://octoberwiki.publicdomainscience.com/lib/tpl/bootstrap3/images/favicon.ico" />
       <dc:date>2026-05-13T09:48:52+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://octoberwiki.publicdomainscience.com/doku.php?id=examples:builder:belongsto_relation&amp;rev=1618169244&amp;do=diff"/>
                <rdf:li rdf:resource="https://octoberwiki.publicdomainscience.com/doku.php?id=examples:builder:hasmany_relation&amp;rev=1618167981&amp;do=diff"/>
                <rdf:li rdf:resource="https://octoberwiki.publicdomainscience.com/doku.php?id=examples:builder:hasone_relation&amp;rev=1616831673&amp;do=diff"/>
                <rdf:li rdf:resource="https://octoberwiki.publicdomainscience.com/doku.php?id=examples:builder:multi_attachment&amp;rev=1639047412&amp;do=diff"/>
                <rdf:li rdf:resource="https://octoberwiki.publicdomainscience.com/doku.php?id=examples:builder:singe_attachment&amp;rev=1639047387&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://octoberwiki.publicdomainscience.com/lib/tpl/bootstrap3/images/favicon.ico">
        <title>WinterCMS Wiki</title>
        <link>https://octoberwiki.publicdomainscience.com/</link>
        <url>https://octoberwiki.publicdomainscience.com/lib/tpl/bootstrap3/images/favicon.ico</url>
    </image>
    <item rdf:about="https://octoberwiki.publicdomainscience.com/doku.php?id=examples:builder:belongsto_relation&amp;rev=1618169244&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-04-11T19:27:24+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>examples:builder:belongsto_relation</title>
        <link>https://octoberwiki.publicdomainscience.com/doku.php?id=examples:builder:belongsto_relation&amp;rev=1618169244&amp;do=diff</link>
        <description>Back to Start Page




The belongsTo relation

 With the belongsTo relation a record from a parent table can be linked to a record of a child table, but not excusively. This may be useful e.g. to assign a record to a predefined type, or group.

In our library example we will add the ability to assign a recommended age-group to each book. These age groups can be pre-defined and set in a table named</description>
    </item>
    <item rdf:about="https://octoberwiki.publicdomainscience.com/doku.php?id=examples:builder:hasmany_relation&amp;rev=1618167981&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-04-11T19:06:21+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>examples:builder:hasmany_relation</title>
        <link>https://octoberwiki.publicdomainscience.com/doku.php?id=examples:builder:hasmany_relation&amp;rev=1618167981&amp;do=diff</link>
        <description>Back to Start Page


The hasMany relation

 With the hasMany relation a record from a parent table can be linked to one or more record of a child table. No changes in the parent table are required. The key(s) to link a parent record to the child record(s) are stored in the child table.</description>
    </item>
    <item rdf:about="https://octoberwiki.publicdomainscience.com/doku.php?id=examples:builder:hasone_relation&amp;rev=1616831673&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-03-27T07:54:33+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>examples:builder:hasone_relation</title>
        <link>https://octoberwiki.publicdomainscience.com/doku.php?id=examples:builder:hasone_relation&amp;rev=1616831673&amp;do=diff</link>
        <description>Back to Start Page


The hasOne relation

 With the hasOne relation a record from a parent table can be linked to exactly one record of a child table without adding a column to the parent table. This may be useful e.g. to extend an existing (parent) table that should not be altered for some reasons.</description>
    </item>
    <item rdf:about="https://octoberwiki.publicdomainscience.com/doku.php?id=examples:builder:multi_attachment&amp;rev=1639047412&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-12-09T10:56:52+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>examples:builder:multi_attachment</title>
        <link>https://octoberwiki.publicdomainscience.com/doku.php?id=examples:builder:multi_attachment&amp;rev=1639047412&amp;do=diff</link>
        <description>Back to Start Page


Multiple media/file attachment: attachMany

With the attachMany function multiple files like images, movies or documents can be attached to a record of a database table. Media attachments are using built-in relations of WinterCMS. So it is very easy to implement them.</description>
    </item>
    <item rdf:about="https://octoberwiki.publicdomainscience.com/doku.php?id=examples:builder:singe_attachment&amp;rev=1639047387&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-12-09T10:56:27+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>examples:builder:singe_attachment</title>
        <link>https://octoberwiki.publicdomainscience.com/doku.php?id=examples:builder:singe_attachment&amp;rev=1639047387&amp;do=diff</link>
        <description>Back to Start Page


Single media/file attachment: attachOne

With the attachOne function files like images, movies or documents can be attached to a record of a database table. Media attachments are using built-in relations of WinterCMS. So it is very easy to implement them.</description>
    </item>
</rdf:RDF>
