Meeskond "H2": Difference between revisions
Line 13: | Line 13: | ||
==Sisu== | ==Sisu== | ||
===XML Data=== | |||
<code> | |||
== | |||
<?xml version="1.0" encoding="utf-8"?> | |||
<menu> | |||
<product> | |||
<name>name1</name> | |||
<type> | |||
<id>0</id> | |||
<name>name1</name> | |||
</type> | |||
<extras> | |||
<item>item1</item> | |||
<item>item2</item> | |||
<item>item3</item> | |||
</extras> | |||
<price> | |||
<int>0</int> | |||
<frac>0</frac> | |||
<discount>discount1</discount> | |||
</price> | |||
<vote> | |||
<pos>0</pos> | |||
<neg>0</neg> | |||
</vote> | |||
<screenshot>screenshot1</screenshot> | |||
</product> | |||
<product> | |||
<name>name2</name> | |||
<type> | |||
<id>255</id> | |||
<name>name2</name> | |||
</type> | |||
<extras> | |||
<item>item4</item> | |||
<item>item5</item> | |||
<item>item6</item> | |||
</extras> | |||
<price> | |||
<int>255</int> | |||
<frac>255</frac> | |||
<discount>discount2</discount> | |||
</price> | |||
<vote> | |||
<pos>255</pos> | |||
<neg>255</neg> | |||
</vote> | |||
<screenshot>screenshot2</screenshot> | |||
</product> | |||
<product> | |||
<name>name3</name> | |||
<type> | |||
<id>1</id> | |||
<name>name3</name> | |||
</type> | |||
<extras> | |||
<item>item7</item> | |||
<item>item8</item> | |||
<item>item9</item> | |||
</extras> | |||
<price> | |||
<int>1</int> | |||
<frac>1</frac> | |||
<discount>discount3</discount> | |||
</price> | |||
<vote> | |||
<pos>1</pos> | |||
<neg>1</neg> | |||
</vote> | |||
<screenshot>screenshot3</screenshot> | |||
</product> | |||
</menu> | |||
== | |||
</ code> | |||
===XML Schema=== | ===XML Schema=== |
Revision as of 16:14, 26 February 2011
Kohviku menüüsüsteem
Projekt
Kohvikute (esialgu ainult IT-Kohviku) menüüsüsteem, mis oleks jälgitav mobiilseadmetelt. Lisaväärtusena võimaldaks anda pakutavale hinnanguid, otsuse langetamise hõlbustamisks (see viimane kipub vist veebirakenduseks muutuma) Sihtplatvormid: Symbian, Windows Mobile, iOS, Android, Blackberry (kui leiame vabatahtlikud testijad)
Taustinfo
Praegune IT-Kohviku menüü on käsitsi täidetav valge tahvel. Projekti eesmärgiks on parendada IT-Kohviku menüüsüsteemi ja teha see veebi kaudu kättesaadavaks, nii, et menüüsse saaks lisada ka karniiri valiku. Standardmenüü puhul võiks menüüs olla ka illustreeriv foto. Hetkemenüü ning hinnad ja lahtioleku ajad võiksid samuti olla jälgitavad võrguühendust eviva mobiilseadme ekraanilt, hõlbustades sellega valikute tegemist.
Liikmed
Henri Kroosmann
Heiki Tamm
Sisu
XML Data
==
<?xml version="1.0" encoding="utf-8"?>
<menu>
<product>
<name>name1</name>
<type>
<id>0</id>
<name>name1</name>
</type>
<extras>
<item>item1</item>
<item>item2</item>
<item>item3</item>
</extras>
<price>
<int>0</int>
<frac>0</frac>
<discount>discount1</discount>
</price>
<vote>
<pos>0</pos>
<neg>0</neg>
</vote>
<screenshot>screenshot1</screenshot>
</product>
<product>
<name>name2</name>
<type>
<id>255</id>
<name>name2</name>
</type>
<extras>
<item>item4</item>
<item>item5</item>
<item>item6</item>
</extras>
<price>
<int>255</int>
<frac>255</frac>
<discount>discount2</discount>
</price>
<vote>
<pos>255</pos>
<neg>255</neg>
</vote>
<screenshot>screenshot2</screenshot>
</product>
<product>
<name>name3</name>
<type>
<id>1</id>
<name>name3</name>
</type>
<extras>
<item>item7</item>
<item>item8</item>
<item>item9</item>
</extras>
<price>
<int>1</int>
<frac>1</frac>
<discount>discount3</discount>
</price>
<vote>
<pos>1</pos>
<neg>1</neg>
</vote>
<screenshot>screenshot3</screenshot>
</product>
</menu>
==
</ code>
XML Schema
<?xml version="1.0" encoding="utf-8"?>
<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="menu">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" name="product">
<xs:complexType>
<xs:sequence>
<xs:element name="name" type="xs:string" />
<xs:element name="type">
<xs:complexType>
<xs:sequence>
<xs:element name="id" type="xs:unsignedByte" />
<xs:element name="name" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="extras">
<xs:complexType>
<xs:sequence minOccurs="0">
<xs:element maxOccurs="unbounded" name="item" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="price">
<xs:complexType>
<xs:sequence minOccurs="0">
<xs:element name="int" type="xs:unsignedByte" />
<xs:element name="frac" type="xs:unsignedByte" />
<xs:element minOccurs="0" name="discount" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="vote">
<xs:complexType>
<xs:sequence>
<xs:element name="pos" type="xs:unsignedByte" />
<xs:element name="neg" type="xs:unsignedByte" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="screenshot" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>