Changes between Version 14 and Version 15 of MolgenisAddressBookExample


Ignore:
Timestamp:
2009-08-23T18:47:14+02:00 (15 years ago)
Author:
Morris Swertz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • MolgenisAddressBookExample

    v14 v15  
    88[[Image(address-book-screenshot.JPG)]]
    99
    10 == Create the data model ==
     101. Create the data model XML[[BR]]
    1111Create a new xml file ‘addressbook_db.xml’ in the root of you application. This file will contain the MOLGENIS model. Use the following template:
    1212
    1313{{{
    1414#!xml
    15   <?xml version="1.0" encoding="UTF-8"?>
    16     <!DOCTYPE molgenis PUBLIC "MOLGENIS 1.0" "http://molgenis.sourceforge.net/dtd/molgenis_v_1_0.dtd">
    17     <molgenis name="addressbook">
    18   </molgenis>
     15<?xml version="1.0" encoding="UTF-8"?>
     16<!DOCTYPE molgenis PUBLIC "MOLGENIS 1.0" "http://molgenis.sourceforge.net/dtd/molgenis_v_1_0.dtd">
     17<molgenis name="addressbook">
     18
     19</molgenis>
    1920}}}
     21
     221. Add a “Contact” data type. Data types are called ‘entity’ in MOLGENIS:
     23{{{
     24#!xml
     25<molgenis name="addressbook">
     26  <entity name="Contact">
     27               
     28  </entity>
     29</molgenis>
     30}}}
     31
     32