diff --git a/presentation/presentation.html b/presentation/presentation.html deleted file mode 100644 index a38e6bd..0000000 --- a/presentation/presentation.html +++ /dev/null @@ -1,397 +0,0 @@ - - - - -Case-Study - - - - - - - - - - - -
-
-

Case-Study

Ivan Hörler und Andreas Zweili

Created: 2018-03-16 Fri 10:48

-
-
-
-

Inhaltsverzeichnis

- -
-
- -
-
-

Ausgangslage

-
    -
  • Webshop erstellen
  • -
  • Währungsumrechnung CHF zu …
  • -
  • Freie Software in Bezug auf Open-Source Code.
  • - -
- -
-
-

Vision

-

-Die Vision wurde anhand eines Mindmaps erstmals grob umfasst: -

- - -
-

webshop.png -

-
- -
-
-

Vision - Artikel

- -
-

Vision-Artikel.png -

-
- -
-
-

Vision - Warenkorb

- -
-

Vision-Warenkorb.png -

-
- -
-
-
-
-

Varianten

-
-
-
-
-

C# und SQL Server

- -
-

csharp.png -

-
- -
-
-

Laravel und MySQL

- -
-

laravel.png -

-
- -
-
-

Django und MariaDB

- -
-

django.png -

-
- -
-
-

Kriterien

-
    -
  • Freie Software
  • -
  • Cross Plattform nutzbar
  • -
  • Lesbarkeit des Codes
  • -
  • Einfachheit des Setups
  • -
  • Ohne spezielle Tools nutzbar
  • -
  • Vorkenntnisse und Lernfaktor
  • - -
- -
-
-

Vergleich

- - - --- -- - - - - - - - - - - - - - - - - - - - - - - -
VarianteErreichte Punktzahl von 235
ASP.NET und SQL Server141
PHP und MySQL161
Django und MariaDB196
- -
-
-
-
-

Kosten

-
-
-
-
-

Laravel Webshop

- - - --- -- - - - - - - - - - - - - - - - - - - -
SpracheCodezeilen
PHP8679
Total8679
- -
-
-

Django Webshop

- - - --- -- - - - - - - - - - - - - - - - - - - - - - - - -
SpracheCodezeilen
Python1460
SQL4639
Total6099
- -
-
-
-
-

Vorgehen

-
-
-
-
-

Currencies - App

-
    -
  • Wurde in Django als eigenen App entwickelt und sollte daher problemlos in andere Applikationen eingebunden werden können.
  • - -
  • Die Quelle der Währungen ist die Schweizerische Nationalbank mit der URL:
  • - -
- -

-https://www.snb.ch -

- -

-https://www.snb.ch/selector/de/mmr/exfeed/rss -

- - -
-

currencies-rss-reader.png -

-
- -
-
-

Currencies - Quelle

- -
-

currencies-rss-xml.png -

-
- -
-
-

Currencies - Parsing

- - -
-
-

Currencies - Ablauf

- -
-

currencies.png -

-
- -
-
-

Infrastruktur

- - - -
-

Server-Architecture.png -

-
- -
-
-

Programmierung

- -
-

form.png -

-
- -
- -
amount_form = CartForm(
-    initial={'amount_form': cart_position.amount}
-)
-
-
- - -
-
-
-
-

Fazit

-
    -
  • Trotz Model View Controll, SQL unerlässlich.
  • -
  • Vagrant (up, suspend, provision, destroy)
  • -
  • Git, Python/Django, JS brauchts trotzdem.
  • - -
- -
-
-

Besten Dank für die Aufmerksahmkeit.

-

-Ivan & Andreas -

-
-
-
-
- - - - - - diff --git a/presentation/presentation.org b/presentation/presentation.org index d6aa3e6..5afd3b5 100644 --- a/presentation/presentation.org +++ b/presentation/presentation.org @@ -29,11 +29,11 @@ Die Vision wurde anhand eines Mindmaps erstmals grob umfasst: * Varianten -** C# und SQL Server +** ASP.NET (C#) und SQL Server [[file:pictures/csharp.png]] -** Laravel und MySQL +** Laravel (PHP) und MySQL [[file:pictures/laravel.png]] @@ -55,11 +55,19 @@ Die Vision wurde anhand eines Mindmaps erstmals grob umfasst: | *Variante* | *Erreichte Punktzahl von 235* | |------------------------+-------------------------------| | ASP.NET und SQL Server | 141 | -| PHP und MySQL | 161 | +| Laravel und MySQL | 161 | | Django und MariaDB | 196 | |------------------------+-------------------------------| * Kosten + +** Tools + +- Ausgaben während der Case-Study: 0.00 CHF +- 100% freie Software +- "Let's Encrypt" für SSL +- "freenom.com" für Domain + ** Laravel Webshop | Sprache | Codezeilen | @@ -85,7 +93,6 @@ Die Vision wurde anhand eines Mindmaps erstmals grob umfasst: ** Currencies - App - Wurde in Django als eigenen App entwickelt und sollte daher problemlos in andere Applikationen eingebunden werden können. - - Die Quelle der Währungen ist die Schweizerische Nationalbank mit der URL: https://www.snb.ch @@ -105,8 +112,9 @@ https://www.snb.ch/selector/de/mmr/exfeed/rss - für das Herunterladen des XML's wurde das Modul 'urllib' verwendet (1) - für das Parsen über die einzelnen items/nodes das Modul xml.etree.ElementTree. (2) -1. https://docs.python.org/2/library/urllib.html -2. https://docs.python.org/2/library/xml.etree.elementtree.html +(1) https://docs.python.org/2/library/urllib.html + +(2) https://docs.python.org/2/library/xml.etree.elementtree.html ** Currencies - Ablauf