eine schwierigkeit hinzugefügt
This commit is contained in:
parent
39ae452ee4
commit
65f4b3e510
|
@ -26,26 +26,26 @@
|
|||
<body>
|
||||
<div class="reveal">
|
||||
<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 id="table-of-contents">
|
||||
<div id="table-of-contents">
|
||||
<h2>Inhaltsverzeichnis</h2>
|
||||
<div id="text-table-of-contents">
|
||||
<ul>
|
||||
<li><a href="#/slide-org836fcf2">Ausgangslage</a></li>
|
||||
<li><a href="#/slide-org5d9eb1a">Varianten</a></li>
|
||||
<li><a href="#/slide-org48f9ba1">Kosten</a></li>
|
||||
<li><a href="#/slide-orga0aec25">Vorgehen</a></li>
|
||||
<li><a href="#/slide-org6e6c6ba">Fazit</a></li>
|
||||
<li><a href="#/slide-org00286f2">Ausgangslage</a></li>
|
||||
<li><a href="#/slide-orgfc0df96">Varianten</a></li>
|
||||
<li><a href="#/slide-org0904086">Kosten</a></li>
|
||||
<li><a href="#/slide-org4f0bd5f">Vorgehen</a></li>
|
||||
<li><a href="#/slide-org1cda59f">Fazit</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section>
|
||||
<section id="slide-org836fcf2">
|
||||
<h2 id="org836fcf2">Ausgangslage</h2>
|
||||
<section id="slide-org00286f2">
|
||||
<h2 id="org00286f2">Ausgangslage</h2>
|
||||
<ul>
|
||||
<li>Freie Software in bezug auf open sourcecode.</li>
|
||||
|
||||
|
@ -57,8 +57,8 @@ welchem wir unsere ersten Ideen erfassten.
|
|||
</p>
|
||||
|
||||
</section>
|
||||
<section id="slide-orgc270b59">
|
||||
<h3 id="orgc270b59">Vision</h3>
|
||||
<section id="slide-org87e5a8a">
|
||||
<h3 id="org87e5a8a">Vision</h3>
|
||||
<p>
|
||||
Die Vision wurde anhand eines Mindmaps erstmals grob umfasst:
|
||||
</p>
|
||||
|
@ -70,8 +70,8 @@ Die Vision wurde anhand eines Mindmaps erstmals grob umfasst:
|
|||
</div>
|
||||
|
||||
</section>
|
||||
<section id="slide-orga4ef9e0">
|
||||
<h3 id="orga4ef9e0">Vision - Artikel</h3>
|
||||
<section id="slide-org645b039">
|
||||
<h3 id="org645b039">Vision - Artikel</h3>
|
||||
|
||||
<div class="figure">
|
||||
<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>
|
||||
|
||||
</section>
|
||||
<section id="slide-org7b33cc6">
|
||||
<h3 id="org7b33cc6">Vision - Warenkorb</h3>
|
||||
<section id="slide-org6942cbf">
|
||||
<h3 id="org6942cbf">Vision - Warenkorb</h3>
|
||||
|
||||
<div class="figure">
|
||||
<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>
|
||||
|
||||
</section>
|
||||
<section id="slide-orgda4fc0b">
|
||||
<h3 id="orgda4fc0b">Vision - Abgaben</h3>
|
||||
<section id="slide-orgeabf72e">
|
||||
<h3 id="orgeabf72e">Vision - Abgaben</h3>
|
||||
|
||||
<div class="figure">
|
||||
<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 id="slide-org5d9eb1a">
|
||||
<h2 id="org5d9eb1a">Varianten</h2>
|
||||
<div class="outline-text-2" id="text-org5d9eb1a">
|
||||
<section id="slide-orgfc0df96">
|
||||
<h2 id="orgfc0df96">Varianten</h2>
|
||||
<div class="outline-text-2" id="text-orgfc0df96">
|
||||
</div>
|
||||
</section>
|
||||
<section id="slide-org61f4b78">
|
||||
<h3 id="org61f4b78">C# und SQL Server</h3>
|
||||
<section id="slide-orgfdf558a">
|
||||
<h3 id="orgfdf558a">C# und SQL Server</h3>
|
||||
|
||||
<div class="figure">
|
||||
<p><img src="pictures/csharp.png" alt="csharp.png" />
|
||||
|
@ -113,8 +113,8 @@ Die Vision wurde anhand eines Mindmaps erstmals grob umfasst:
|
|||
</div>
|
||||
|
||||
</section>
|
||||
<section id="slide-orgb5d1542">
|
||||
<h3 id="orgb5d1542">Laravel und MySQL</h3>
|
||||
<section id="slide-org38c1745">
|
||||
<h3 id="org38c1745">Laravel und MySQL</h3>
|
||||
|
||||
<div class="figure">
|
||||
<p><img src="pictures/laravel.png" alt="laravel.png" />
|
||||
|
@ -122,8 +122,8 @@ Die Vision wurde anhand eines Mindmaps erstmals grob umfasst:
|
|||
</div>
|
||||
|
||||
</section>
|
||||
<section id="slide-orgf6a7858">
|
||||
<h3 id="orgf6a7858">Django und MariaDB</h3>
|
||||
<section id="slide-org1d8f730">
|
||||
<h3 id="org1d8f730">Django und MariaDB</h3>
|
||||
|
||||
<div class="figure">
|
||||
<p><img src="pictures/django.png" alt="django.png" />
|
||||
|
@ -131,8 +131,8 @@ Die Vision wurde anhand eines Mindmaps erstmals grob umfasst:
|
|||
</div>
|
||||
|
||||
</section>
|
||||
<section id="slide-org90b1db5">
|
||||
<h3 id="org90b1db5">Kriterien</h3>
|
||||
<section id="slide-org329e90b">
|
||||
<h3 id="org329e90b">Kriterien</h3>
|
||||
<ul>
|
||||
<li>Freie Software</li>
|
||||
<li>Cross Plattform nutzbar</li>
|
||||
|
@ -144,8 +144,8 @@ Die Vision wurde anhand eines Mindmaps erstmals grob umfasst:
|
|||
</ul>
|
||||
|
||||
</section>
|
||||
<section id="slide-org49e105c">
|
||||
<h3 id="org49e105c">Vergleich</h3>
|
||||
<section id="slide-org97b96ae">
|
||||
<h3 id="org97b96ae">Vergleich</h3>
|
||||
<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>
|
||||
|
||||
</section>
|
||||
<section id="slide-orga63706c">
|
||||
<h3 id="orga63706c">Auswahl</h3>
|
||||
<section id="slide-org3fb5ad4">
|
||||
<h3 id="org3fb5ad4">Auswahl</h3>
|
||||
|
||||
</section>
|
||||
</section>
|
||||
<section>
|
||||
<section id="slide-org48f9ba1">
|
||||
<h2 id="org48f9ba1">Kosten</h2>
|
||||
<div class="outline-text-2" id="text-org48f9ba1">
|
||||
<section id="slide-org0904086">
|
||||
<h2 id="org0904086">Kosten</h2>
|
||||
<div class="outline-text-2" id="text-org0904086">
|
||||
</div>
|
||||
</section>
|
||||
<section id="slide-orge787793">
|
||||
<h3 id="orge787793">Laravel Webshop</h3>
|
||||
<section id="slide-org26ba0fc">
|
||||
<h3 id="org26ba0fc">Laravel Webshop</h3>
|
||||
<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>
|
||||
|
||||
</section>
|
||||
<section id="slide-org2ce530f">
|
||||
<h3 id="org2ce530f">Django Webshop</h3>
|
||||
<section id="slide-orge1b0816">
|
||||
<h3 id="orge1b0816">Django Webshop</h3>
|
||||
<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 id="slide-orga0aec25">
|
||||
<h2 id="orga0aec25">Vorgehen</h2>
|
||||
<div class="outline-text-2" id="text-orga0aec25">
|
||||
<section id="slide-org4f0bd5f">
|
||||
<h2 id="org4f0bd5f">Vorgehen</h2>
|
||||
<div class="outline-text-2" id="text-org4f0bd5f">
|
||||
</div>
|
||||
</section>
|
||||
<section id="slide-orga1b1ec4">
|
||||
<h3 id="orga1b1ec4">Currencies - App</h3>
|
||||
<section id="slide-org42a0168">
|
||||
<h3 id="org42a0168">Currencies - App</h3>
|
||||
<ul>
|
||||
<li>Wurde in Django als eigenen App entwickelt und sollte daher problemloos in</li>
|
||||
|
||||
</ul>
|
||||
<p>
|
||||
Wurde in Django als eigenen App entwickelt und sollte daher problemloos in
|
||||
andere Applikationen eingebunden werden können.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
Die Quelle der Währungen ist die Schweizerische Nationalbank mit der URL:
|
||||
</p>
|
||||
<ul>
|
||||
<li>Die Quelle der Währungen ist die Schweizerische Nationalbank mit der URL:</li>
|
||||
|
||||
</ul>
|
||||
|
||||
<p>
|
||||
<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>
|
||||
|
||||
</section>
|
||||
<section id="slide-orgc98113f">
|
||||
<h3 id="orgc98113f">Currencies - Quelle</h3>
|
||||
<section id="slide-org0bf7a22">
|
||||
<h3 id="org0bf7a22">Currencies - Quelle</h3>
|
||||
|
||||
<div class="figure">
|
||||
<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>
|
||||
|
||||
</section>
|
||||
<section id="slide-org5289316">
|
||||
<h3 id="org5289316">Currencies - Parsing</h3>
|
||||
<section id="slide-orgf3c57c9">
|
||||
<h3 id="orgf3c57c9">Currencies - Parsing</h3>
|
||||
<ul>
|
||||
<li>Das Konvertieren des XML’s wurde mit Python eigener Module gemacht.</li>
|
||||
<li>für das Herunterladen des XML’s wurde das Modul ’urllib’ verwendet (1)</li>
|
||||
|
@ -311,8 +315,8 @@ Die Quelle der Währungen ist die Schweizerische Nationalbank mit der URL:
|
|||
</p>
|
||||
|
||||
</section>
|
||||
<section id="slide-org6745982">
|
||||
<h3 id="org6745982">Currencies - Ablauf</h3>
|
||||
<section id="slide-orgcf1b487">
|
||||
<h3 id="orgcf1b487">Currencies - Ablauf</h3>
|
||||
|
||||
<div class="figure">
|
||||
<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>
|
||||
|
||||
</section>
|
||||
<section id="slide-orgbd0997e">
|
||||
<h3 id="orgbd0997e">Infrastruktur</h3>
|
||||
<section id="slide-org00ac668">
|
||||
<h3 id="org00ac668">Infrastruktur</h3>
|
||||
<p>
|
||||
Andreas erzählt wie die infrastruktur aufgebaut ist.
|
||||
</p>
|
||||
|
@ -333,17 +337,49 @@ Andreas erzählt wie die infrastruktur aufgebaut ist.
|
|||
</div>
|
||||
|
||||
</section>
|
||||
<section id="slide-org19d0586">
|
||||
<h3 id="org19d0586">Programmierung</h3>
|
||||
<section id="slide-org112bf97">
|
||||
<h3 id="org112bf97">Programmierung</h3>
|
||||
<p>
|
||||
vieleicht zwei Schwierigkeiten
|
||||
</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….
|
||||
</p>
|
||||
|
||||
<p>
|
||||
Note: hier den code higlighter einfügen:
|
||||
amount_form = CartForm(
|
||||
initial={’amount_form’: cart_position.amount}
|
||||
)
|
||||
</p>
|
||||
|
||||
</section>
|
||||
</section>
|
||||
<section>
|
||||
<section id="slide-org6e6c6ba">
|
||||
<h2 id="org6e6c6ba">Fazit</h2>
|
||||
<section id="slide-org1cda59f">
|
||||
<h2 id="org1cda59f">Fazit</h2>
|
||||
</section>
|
||||
</section>
|
||||
</div>
|
||||
|
|
|
@ -92,10 +92,10 @@ Die Vision wurde anhand eines Mindmaps erstmals grob umfasst:
|
|||
* Vorgehen
|
||||
** 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.
|
||||
|
||||
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/selector/de/mmr/exfeed/rss
|
||||
|
@ -131,4 +131,18 @@ Andreas erzählt wie die infrastruktur aufgebaut ist.
|
|||
** Programmierung
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue