eine schwierigkeit hinzugefügt

This commit is contained in:
Ivan Hörler 2018-03-09 11:12:23 +01:00
parent 39ae452ee4
commit 65f4b3e510
2 changed files with 111 additions and 61 deletions

View File

@ -26,26 +26,26 @@
<body> <body>
<div class="reveal"> <div class="reveal">
<div class="slides"> <div class="slides">
<section id="sec-title-slide"><h1 class="title">Case-Study</h1><h2 class="author">Ivan Hörler und Andreas Zweili</h2><p class="date">Created: 2018-03-09 Fri 11:05</p> <section id="sec-title-slide"><h1 class="title">Case-Study</h1><h2 class="author">Ivan Hörler und Andreas Zweili</h2><p class="date">Created: 2018-03-09 Fri 11:11</p>
</section> </section>
<section id="table-of-contents"> <section id="table-of-contents">
<div id="table-of-contents"> <div id="table-of-contents">
<h2>Inhaltsverzeichnis</h2> <h2>Inhaltsverzeichnis</h2>
<div id="text-table-of-contents"> <div id="text-table-of-contents">
<ul> <ul>
<li><a href="#/slide-org836fcf2">Ausgangslage</a></li> <li><a href="#/slide-org00286f2">Ausgangslage</a></li>
<li><a href="#/slide-org5d9eb1a">Varianten</a></li> <li><a href="#/slide-orgfc0df96">Varianten</a></li>
<li><a href="#/slide-org48f9ba1">Kosten</a></li> <li><a href="#/slide-org0904086">Kosten</a></li>
<li><a href="#/slide-orga0aec25">Vorgehen</a></li> <li><a href="#/slide-org4f0bd5f">Vorgehen</a></li>
<li><a href="#/slide-org6e6c6ba">Fazit</a></li> <li><a href="#/slide-org1cda59f">Fazit</a></li>
</ul> </ul>
</div> </div>
</div> </div>
</section> </section>
<section> <section>
<section id="slide-org836fcf2"> <section id="slide-org00286f2">
<h2 id="org836fcf2">Ausgangslage</h2> <h2 id="org00286f2">Ausgangslage</h2>
<ul> <ul>
<li>Freie Software in bezug auf open sourcecode.</li> <li>Freie Software in bezug auf open sourcecode.</li>
@ -57,8 +57,8 @@ welchem wir unsere ersten Ideen erfassten.
</p> </p>
</section> </section>
<section id="slide-orgc270b59"> <section id="slide-org87e5a8a">
<h3 id="orgc270b59">Vision</h3> <h3 id="org87e5a8a">Vision</h3>
<p> <p>
Die Vision wurde anhand eines Mindmaps erstmals grob umfasst: Die Vision wurde anhand eines Mindmaps erstmals grob umfasst:
</p> </p>
@ -70,8 +70,8 @@ Die Vision wurde anhand eines Mindmaps erstmals grob umfasst:
</div> </div>
</section> </section>
<section id="slide-orga4ef9e0"> <section id="slide-org645b039">
<h3 id="orga4ef9e0">Vision - Artikel</h3> <h3 id="org645b039">Vision - Artikel</h3>
<div class="figure"> <div class="figure">
<p><img src="pictures/Vision-Artikel.png" alt="Vision-Artikel.png" width="80%" /> <p><img src="pictures/Vision-Artikel.png" alt="Vision-Artikel.png" width="80%" />
@ -79,8 +79,8 @@ Die Vision wurde anhand eines Mindmaps erstmals grob umfasst:
</div> </div>
</section> </section>
<section id="slide-org7b33cc6"> <section id="slide-org6942cbf">
<h3 id="org7b33cc6">Vision - Warenkorb</h3> <h3 id="org6942cbf">Vision - Warenkorb</h3>
<div class="figure"> <div class="figure">
<p><img src="pictures/Vision-Warenkorb.png" alt="Vision-Warenkorb.png" width="80%" /> <p><img src="pictures/Vision-Warenkorb.png" alt="Vision-Warenkorb.png" width="80%" />
@ -88,8 +88,8 @@ Die Vision wurde anhand eines Mindmaps erstmals grob umfasst:
</div> </div>
</section> </section>
<section id="slide-orgda4fc0b"> <section id="slide-orgeabf72e">
<h3 id="orgda4fc0b">Vision - Abgaben</h3> <h3 id="orgeabf72e">Vision - Abgaben</h3>
<div class="figure"> <div class="figure">
<p><img src="pictures/Vision-Abgaben.png" alt="Vision-Abgaben.png" width="80%" /> <p><img src="pictures/Vision-Abgaben.png" alt="Vision-Abgaben.png" width="80%" />
@ -99,13 +99,13 @@ Die Vision wurde anhand eines Mindmaps erstmals grob umfasst:
</section> </section>
</section> </section>
<section> <section>
<section id="slide-org5d9eb1a"> <section id="slide-orgfc0df96">
<h2 id="org5d9eb1a">Varianten</h2> <h2 id="orgfc0df96">Varianten</h2>
<div class="outline-text-2" id="text-org5d9eb1a"> <div class="outline-text-2" id="text-orgfc0df96">
</div> </div>
</section> </section>
<section id="slide-org61f4b78"> <section id="slide-orgfdf558a">
<h3 id="org61f4b78">C# und SQL Server</h3> <h3 id="orgfdf558a">C# und SQL Server</h3>
<div class="figure"> <div class="figure">
<p><img src="pictures/csharp.png" alt="csharp.png" /> <p><img src="pictures/csharp.png" alt="csharp.png" />
@ -113,8 +113,8 @@ Die Vision wurde anhand eines Mindmaps erstmals grob umfasst:
</div> </div>
</section> </section>
<section id="slide-orgb5d1542"> <section id="slide-org38c1745">
<h3 id="orgb5d1542">Laravel und MySQL</h3> <h3 id="org38c1745">Laravel und MySQL</h3>
<div class="figure"> <div class="figure">
<p><img src="pictures/laravel.png" alt="laravel.png" /> <p><img src="pictures/laravel.png" alt="laravel.png" />
@ -122,8 +122,8 @@ Die Vision wurde anhand eines Mindmaps erstmals grob umfasst:
</div> </div>
</section> </section>
<section id="slide-orgf6a7858"> <section id="slide-org1d8f730">
<h3 id="orgf6a7858">Django und MariaDB</h3> <h3 id="org1d8f730">Django und MariaDB</h3>
<div class="figure"> <div class="figure">
<p><img src="pictures/django.png" alt="django.png" /> <p><img src="pictures/django.png" alt="django.png" />
@ -131,8 +131,8 @@ Die Vision wurde anhand eines Mindmaps erstmals grob umfasst:
</div> </div>
</section> </section>
<section id="slide-org90b1db5"> <section id="slide-org329e90b">
<h3 id="org90b1db5">Kriterien</h3> <h3 id="org329e90b">Kriterien</h3>
<ul> <ul>
<li>Freie Software</li> <li>Freie Software</li>
<li>Cross Plattform nutzbar</li> <li>Cross Plattform nutzbar</li>
@ -144,8 +144,8 @@ Die Vision wurde anhand eines Mindmaps erstmals grob umfasst:
</ul> </ul>
</section> </section>
<section id="slide-org49e105c"> <section id="slide-org97b96ae">
<h3 id="org49e105c">Vergleich</h3> <h3 id="org97b96ae">Vergleich</h3>
<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides"> <table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
@ -179,19 +179,19 @@ Die Vision wurde anhand eines Mindmaps erstmals grob umfasst:
</table> </table>
</section> </section>
<section id="slide-orga63706c"> <section id="slide-org3fb5ad4">
<h3 id="orga63706c">Auswahl</h3> <h3 id="org3fb5ad4">Auswahl</h3>
</section> </section>
</section> </section>
<section> <section>
<section id="slide-org48f9ba1"> <section id="slide-org0904086">
<h2 id="org48f9ba1">Kosten</h2> <h2 id="org0904086">Kosten</h2>
<div class="outline-text-2" id="text-org48f9ba1"> <div class="outline-text-2" id="text-org0904086">
</div> </div>
</section> </section>
<section id="slide-orge787793"> <section id="slide-org26ba0fc">
<h3 id="orge787793">Laravel Webshop</h3> <h3 id="org26ba0fc">Laravel Webshop</h3>
<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides"> <table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
@ -221,8 +221,8 @@ Die Vision wurde anhand eines Mindmaps erstmals grob umfasst:
</table> </table>
</section> </section>
<section id="slide-org2ce530f"> <section id="slide-orge1b0816">
<h3 id="org2ce530f">Django Webshop</h3> <h3 id="orge1b0816">Django Webshop</h3>
<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides"> <table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
@ -259,21 +259,25 @@ Die Vision wurde anhand eines Mindmaps erstmals grob umfasst:
</section> </section>
</section> </section>
<section> <section>
<section id="slide-orga0aec25"> <section id="slide-org4f0bd5f">
<h2 id="orga0aec25">Vorgehen</h2> <h2 id="org4f0bd5f">Vorgehen</h2>
<div class="outline-text-2" id="text-orga0aec25"> <div class="outline-text-2" id="text-org4f0bd5f">
</div> </div>
</section> </section>
<section id="slide-orga1b1ec4"> <section id="slide-org42a0168">
<h3 id="orga1b1ec4">Currencies - App</h3> <h3 id="org42a0168">Currencies - App</h3>
<ul>
<li>Wurde in Django als eigenen App entwickelt und sollte daher problemloos in</li>
</ul>
<p> <p>
Wurde in Django als eigenen App entwickelt und sollte daher problemloos in
andere Applikationen eingebunden werden können. andere Applikationen eingebunden werden können.
</p> </p>
<p> <ul>
Die Quelle der Währungen ist die Schweizerische Nationalbank mit der URL: <li>Die Quelle der Währungen ist die Schweizerische Nationalbank mit der URL:</li>
</p>
</ul>
<p> <p>
<a href="https://www.snb.ch">https://www.snb.ch</a> | resp: <a href="https://www.snb.ch">https://www.snb.ch</a> | resp:
@ -287,8 +291,8 @@ Die Quelle der Währungen ist die Schweizerische Nationalbank mit der URL:
</div> </div>
</section> </section>
<section id="slide-orgc98113f"> <section id="slide-org0bf7a22">
<h3 id="orgc98113f">Currencies - Quelle</h3> <h3 id="org0bf7a22">Currencies - Quelle</h3>
<div class="figure"> <div class="figure">
<p><img src="pictures/currencies-rss-xml.png" alt="currencies-rss-xml.png" width="80%" /> <p><img src="pictures/currencies-rss-xml.png" alt="currencies-rss-xml.png" width="80%" />
@ -296,8 +300,8 @@ Die Quelle der Währungen ist die Schweizerische Nationalbank mit der URL:
</div> </div>
</section> </section>
<section id="slide-org5289316"> <section id="slide-orgf3c57c9">
<h3 id="org5289316">Currencies - Parsing</h3> <h3 id="orgf3c57c9">Currencies - Parsing</h3>
<ul> <ul>
<li>Das Konvertieren des XML&rsquo;s wurde mit Python eigener Module gemacht.</li> <li>Das Konvertieren des XML&rsquo;s wurde mit Python eigener Module gemacht.</li>
<li>für das Herunterladen des XML&rsquo;s wurde das Modul &rsquo;urllib&rsquo; verwendet (1)</li> <li>für das Herunterladen des XML&rsquo;s wurde das Modul &rsquo;urllib&rsquo; verwendet (1)</li>
@ -311,8 +315,8 @@ Die Quelle der Währungen ist die Schweizerische Nationalbank mit der URL:
</p> </p>
</section> </section>
<section id="slide-org6745982"> <section id="slide-orgcf1b487">
<h3 id="org6745982">Currencies - Ablauf</h3> <h3 id="orgcf1b487">Currencies - Ablauf</h3>
<div class="figure"> <div class="figure">
<p><img src="pictures/currencies.png" alt="currencies.png" width="55%" /> <p><img src="pictures/currencies.png" alt="currencies.png" width="55%" />
@ -320,8 +324,8 @@ Die Quelle der Währungen ist die Schweizerische Nationalbank mit der URL:
</div> </div>
</section> </section>
<section id="slide-orgbd0997e"> <section id="slide-org00ac668">
<h3 id="orgbd0997e">Infrastruktur</h3> <h3 id="org00ac668">Infrastruktur</h3>
<p> <p>
Andreas erzählt wie die infrastruktur aufgebaut ist. Andreas erzählt wie die infrastruktur aufgebaut ist.
</p> </p>
@ -333,17 +337,49 @@ Andreas erzählt wie die infrastruktur aufgebaut ist.
</div> </div>
</section> </section>
<section id="slide-org19d0586"> <section id="slide-org112bf97">
<h3 id="org19d0586">Programmierung</h3> <h3 id="org112bf97">Programmierung</h3>
<p> <p>
vieleicht zwei Schwierigkeiten vieleicht zwei Schwierigkeiten
</p> </p>
</section>
<section id="slide-orgfa3b406">
<h3 id="orgfa3b406">Programmierung - Hürde #1</h3>
<ul>
<li>Django hat ein modul das die Forms speziell handelt so dass man mit wehnig Code</li>
</ul>
<p>
Einen HTML Button oder ein Feld erzeugen kann.
</p>
<ul>
<li>Die schwierigkeit war nun heraus zu finden wie man dem Feld ein von der DB stammenden</li>
</ul>
<p>
default wert mitgeben konnte.
</p>
<ul>
<li>Es stellte sich heraus dass das Feld ein Key: Value paar benötigte um zu wissen wohin es</li>
</ul>
<p>
den wert schreiben soll&#x2026;.
</p>
<p>
Note: hier den code higlighter einfügen:
amount_form = CartForm(
initial={&rsquo;amount_form&rsquo;: cart_position.amount}
)
</p>
</section> </section>
</section> </section>
<section> <section>
<section id="slide-org6e6c6ba"> <section id="slide-org1cda59f">
<h2 id="org6e6c6ba">Fazit</h2> <h2 id="org1cda59f">Fazit</h2>
</section> </section>
</section> </section>
</div> </div>

View File

@ -92,10 +92,10 @@ Die Vision wurde anhand eines Mindmaps erstmals grob umfasst:
* Vorgehen * Vorgehen
** Currencies - App ** Currencies - App
Wurde in Django als eigenen App entwickelt und sollte daher problemloos in - Wurde in Django als eigenen App entwickelt und sollte daher problemloos in
andere Applikationen eingebunden werden können. andere Applikationen eingebunden werden können.
Die Quelle der Währungen ist die Schweizerische Nationalbank mit der URL: - Die Quelle der Währungen ist die Schweizerische Nationalbank mit der URL:
https://www.snb.ch | resp: https://www.snb.ch | resp:
https://www.snb.ch/selector/de/mmr/exfeed/rss https://www.snb.ch/selector/de/mmr/exfeed/rss
@ -131,4 +131,18 @@ Andreas erzählt wie die infrastruktur aufgebaut ist.
** Programmierung ** Programmierung
vieleicht zwei Schwierigkeiten vieleicht zwei Schwierigkeiten
** Programmierung - Hürde #1
- Django hat ein modul das die Forms speziell handelt so dass man mit wehnig Code
Einen HTML Button oder ein Feld erzeugen kann.
- Die schwierigkeit war nun heraus zu finden wie man dem Feld ein von der DB stammenden
default wert mitgeben konnte.
- Es stellte sich heraus dass das Feld ein Key: Value paar benötigte um zu wissen wohin es
den wert schreiben soll....
Note: hier den code higlighter einfügen:
amount_form = CartForm(
initial={'amount_form': cart_position.amount}
)
* Fazit * Fazit