Netgroup

From ICO wiki
Jump to navigationJump to search

Liikmed

  • Indrek Nurja
  • Imre Teras
  • Kristjan Kotto
  • Marek Kivikink

Idee

Ideeks on luua nn. "Middleman" teenus oksjoni või esemete müügiga tegelevatele veebisaitidele, mis vähendaks kliendi ja müüja vahelist pettuse riski.

Kasutatav tehnoloogia

Rakenduse sisu

"Must have":

"Nice to have":

Andmebaas

XML Fail

<?xml version="1.0" encoding="utf-8" ?>
<System>
  <Person personId ="0" >
    <Role roleType ="admin"></Role>
    <PersonData>
      <UserName><![CDATA[Ompzu]]></UserName>
      <FirstName><![CDATA[Imre]]></FirstName>
      <LastName><![CDATA[Teras]]></LastName>
      <PersonPosts></PersonPosts>
    </PersonData>
    <Posts postId ="0" category="Technology" date="20.03.2016" public="False">
      <PostTitle><![CDATA[First posts' title]]></PostTitle>
      <PostContent>
        <PostPictures>
          <Picture pictureId ="0"><![CDATA[!!!Picture not found!!!]]></Picture>    
      </PostPictures>
        <PostDescription><![CDATA[Lorem ipsum dolor sit amet, malesuada dictumst proin integer leo orci, phasellus vulputate arcu mauris sodales praesent, laoreet nisl sed vulputate, leo arcu euismod netus. Sodales venenatis purus tellus, leo sem ac dui vel nunc, lorem eleifend purus nullam duis, consectetuer lacus dui.]]></PostDescription>
      </PostContent>
    </Posts>
  </Person>
<Person personId ="1">
    <Role roleType ="admin"></Role>
    <PersonData>
      <UserName><![CDATA[GlobalAlite]]></UserName>
      <FirstName><![CDATA[Intzz]]></FirstName>
      <LastName><![CDATA[Nurja]]></LastName>
      <PersonPosts></PersonPosts>
    </PersonData>
    <Posts postId ="0" category="Car" date="20.03.2016" public="False">
      <PostTitle><![CDATA[Globals First posts' title]]></PostTitle>
      <PostContent>
        <PostPictures>
          <Picture pictureId ="1"><![CDATA[!!!Picture not existing!!!]]></Picture>
          <Picture pictureId ="2"><![CDATA[!!!Picture not existing!!!]]></Picture>
          <Picture pictureId ="3"><![CDATA[!!!Picture not existing!!!]]></Picture>
        </PostPictures>
        <PostDescription><![CDATA[Lorem ipsum dolor sit amet, malesuada dictumst proin integer leo orci, phasellus vulputate arcu mauris sodales praesent, laoreet nisl sed vulputate, leo arcu euismod netus. Sodales venenatis purus tellus, leo sem ac dui vel nunc, lorem eleifend purus nullam duis, consectetuer lacus dui.]]></PostDescription>
      </PostContent>
    </Posts>
  </Person>
<Person personId ="2">
    <Role roleType ="user"></Role>
    <PersonData>
      <UserName><![CDATA[KoitJoome]]></UserName>
      <FirstName><![CDATA[Marek]]></FirstName>
      <LastName><![CDATA[Kiviking]]></LastName>
      <PersonPosts></PersonPosts>
    </PersonData>
    <Posts postId ="0" category="toys" date="20.03.2016" public="False">
      <PostTitle><![CDATA[Koits First posts' title]]></PostTitle>
      <PostContent>
        <PostPictures>
          <Picture pictureId ="4"><![CDATA[!!!Picture not existing!!!]]></Picture>
          <Picture pictureId ="5"><![CDATA[!!!Picture not existing!!!]]></Picture>
        </PostPictures>
        <PostDescription><![CDATA[Lorem ipsum dolor sit amet, malesuada dictumst proin integer leo orci, phasellus vulputate arcu mauris sodales praesent, laoreet nisl sed vulputate, leo arcu euismod netus. Sodales venenatis purus tellus, leo sem ac dui vel nunc, lorem eleifend purus nullam duis, consectetuer lacus dui.]]></PostDescription>
      </PostContent>
    </Posts>
  </Person>
</System>

XSD Fail

XSLT

<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:msxsl="urn:schemas-microsoft-com:xslt" exclude-result-prefixes="msxsl"
>
    <xsl:output method="html" indent="yes"/>

    <xsl:template match="/">
      <html>
        <head>
          <title>
            <H1>Posts by persons</H1>
          </title>
        </head>
        <body>
          <H1>Posts by Persons</H1>
          <ul>
            <xsl:for-each select="/System/Person">
              <li>
                <xsl:value-of select="PersonData/UserName"/>
                <ul>
                  <xsl:for-each select="Posts">
                    <li>
                      <xsl:value-of select="PostTitle"/>
                      <p>
                        <xsl:value-of select="PostContent/PostDescription"/>
                      </p>
                     
                      <ul>

                        <xsl:for-each select="PostContent/PostPictures/Picture">
                          <li>
                            <xsl:value-of select="."/>
                          </li>
                        </xsl:for-each>
                      </ul>
                    </li>
                  </xsl:for-each>
                </ul>
              </li>
            </xsl:for-each>
          </ul>
        </body>
      </html>
      
    </xsl:template>
</xsl:stylesheet>

Ajakava

8.02.2016

  • Meeskonna loomine
  • Lubaduse tegemine, et alustame projektiga varakult

19.02.2016

  • Imre õrritas meeskonnakaaslasi miljoniideega, ning lubas varsti rohkem infot jagada

21.02.2016

  • Imre tuli lagedale oma ideega, uurisime tiimiga ja tundus täitsa normaalne idee.

26.02.2016

  • Imre on teinud ASP.net raames projekti natuke uurinud, puurinud, teinud valmis andmebaasi

20.03.2016

Imre tegi XML, XSLT ja XSD failid

Indrek tegi Wiki lehe