DokuWiki

It's better when it's simple

User Tools

Site Tools


playground:playground

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
playground:playground [2018-10-04 19:45] – [Photo editing] amanuelaplayground:playground [2024-04-21 06:37] (current) – old revision restored (2024-04-18 09:14) 108.35.80.215
Line 1: Line 1:
-====== Photo editing ======+== Basic text formatting == 
 +You can format the page using Wikitext special characters.
  
-Photo editing is the process of modifying a photograph to achieve a desired output. Photo editing was one of the many topics that was covered during the __orientation__ course. We specifically worked with digital photographs using an editing tool to help us alter our photos. The main tool we used was GIMP, which is an image manipulation program, but we also used RawTherapee to process our raw images first.+{| border="1" cellpadding="2" cellspacing="0" 
 +!width="1000"|What it looks like 
 +!width="500"|What you type 
 +
 +
 +You can ''italicize'' text by putting 2  
 +apostrophes on ''each'' side
  
-^   Contents     ^ +apostrophes will '''bold''' the text. 
-| Row 1 col 1    |  +
-| Row 2 Col 1    |  +
-| Row Col 1    |+
  
-Before utilizing any software, we learned about different raw file formats, their extensions, and image data. We also learned about EXIF data, "which is short for Exchangeable Image File, a format that is a standard for storing interchange information in digital photography image files using JPEG compression.[[http://http://exifdata.com/|exifdata]] 
  
-When using GIMP, we learned the effect image compressing has on the quality of the image. When preparing a photo for the web, finding a balance between compression, and quality is important. In addition to image compression, Scaling is also important so the image looks proportional. All of this can be done with GIMP, and when optimizing the image we can set the file type according to the use of the image+5 apostrophes will '''''bold and italicize'''''  
 +the text.
  
- +(Using 4 apostrophes doesn't do anything 
 +special -- <br /> 3 of them '''bold''' the text as 
 +usual; the others are ''''just'''' apostrophes  
 +around the text.)
  
 +|
 +You can ''italicize'' text by putting 2 
 +apostrophes on ''each'' side. 
  
 +3 apostrophes will '''bold''' the text. 
  
-===== Einleitung ===== +5 apostrophes will '''''bold and italicize'''''  
-Um die neuen Use-Cases des Pattern Editors zu erfüllen, muss der Pattern Endpunkt einzelne Pattern laden können und speichern/aktualisieren. +the text.
-Die beiden Standard Cases sind:+
  
-  Ein Pattern wird mithilfe des Editors erstellt und soll in der Datenbank abgelegt werden +(Using 4 apostrophes doesn't do anything 
-  Ein Pattern wird aus der Datenbank geladen und im Editor verändert und danach erneut gespeichert werden +special -- <br /> 3 of them '''bold''' the text as 
-===== Anforderungen =====+usual; the others are ''''just'''' apostrophes  
 +around the text.) 
 +</syntaxhighlight> 
 +|
 +
 +A single newline 
 +generally has no effect on the layout. 
 +These can be used to separate 
 +sentences within a paragraph. 
 +Some editors find that this aids editing 
 +and improves the ''diff'' function 
 +(used internally to compare 
 +different versions of a page).
  
 +But an empty line
 +starts a new paragraph.
  
-==== IST-Zustand ==== +When used in a list, a newline ''does'' affect the layout ([[#lists|see below]]). 
-Der Endpunkt kann keine Pattern speichern/aktualisierenDer Endpunkt kann keine einzelnen einzelnen Pattern Gruppen laden.+|<syntaxhighlight lang=wikitext> 
 +A single newline 
 +generally has no effect on the layout. 
 +These can be used to separate 
 +sentences within a paragraph. 
 +Some editors find that this aids editing 
 +and improves the ''diff'' function 
 +(used internally to compare 
 +different versions of a page).
  
-==== SOLL-Zustand ==== +But an empty line 
-Der Endpunkt ''pattern.controller.ts'' soll um die folgenden Punkte erweitert werden:+starts a new paragraph.
  
-{{https://plantuml.progresso-group.de/png/fPAn2i9038RtGjyXeu9FqAbW5nSHmKaSGXlhuTsbvD8kuhjRjAKMpqMNMtB_z-U3v45Hj7KM6bGbyK2-QjXuXO0TfKcu6j-We0F7dikBi2DGQVjHQJ44sBroQ_OgR2q9t00WJVhdYJW4ak7FOkZ8nb2Xl1gBDnLvDMT3aa5GCRvUPj2ngUQeFLlw3RU2TiXlqT7NaeBEs5hzS-KNhoQDwCTM8uV6lb6cjkDfnehuntZogHb5ncsZObC-JUvfalU7qj_D0m00.png}}+When used in a list, a newline ''does'' 
 +affect the layout ([[#lists|see below]]). 
 +</syntaxhighlight> 
 +
 +
 +You can break lines<br/
 +without a new paragraph.<br/
 +Please use this sparingly.
  
-Diese Methoden sind über folgende Endpunkt erreichbar: +Please do not start a link or ''italics'' or '''bold''' text on one line and end on the next. 
 +|<syntaxhighlight lang=wikitext> 
 +You can break lines<br/> 
 +without a new paragraph.<br/> 
 +Please use this sparingly.
  
-<code> +Please do not start a link or 
-get pattern/user/{eMail}/{patternIdentifier} ---> getUserPattern +''italics'' or '''bold''' text on one line 
-get pattern/role/{userRoleName}/{patternIdentifier} ---> getUserRolePattern +and end on the next. 
-get pattern/default/{patternIdentifier} ---getDefaultPattern +</syntaxhighlight
-put pattern/ {email}/{patternIdentifier} ---> saveUserPattern +|-
-put pattern/{userRoleName}/{patternIdentifier} ---> saveUserRolePattern +
-put pattern/default/{patternIdentifier} ---> saveDefaultPattern +
-</code>+
  
 +|You should "sign" your comments on talk pages: <br/>
 +<div class="mw-notalk">
 +* Three tildes gives your signature: [[User:Example|Example]] <br/>
 +* Four tildes give your signature plus date/time: [[User:Example|Example]] 07:46, 27 November 2005 (UTC) <br/>
 +* Five tildes gives the date/time alone: 07:46, 27 November 2005 (UTC) <br/>
 +</div>
 +|<syntaxhighlight lang=wikitext>
 + You should "sign" your comments 
 + on talk pages:
 + * Three tildes gives your
 + signature: ~~~
 + * Four tildes give your 
 + signature plus date/time: ~~~~
 + * Five tildes gives the 
 + date/time alone: ~~~~~
 +</syntaxhighlight>
 +|}
  
-===== Umsetzung ===== 
-==== Ablauf ==== 
-=== Save/Update === 
-  - Der Endpunkt wird aufgerufen 
-  - Es wird geprüft, ob sich bereits ein Pattern mit den übergebenen Kriterien in der Datenbank befindet, sollte dieser Fall eintreten 
-  - Das übergebende Pattern wird in eine PatternBuilder importiert 
-  - Anhand der übergebenen Parameter wird das Pattern erweitert, sodass es möglich ist es an den PatternToNeo4j Parser zu übergeben 
-  - Das erzeugte Cypher wird mithilfe des neo4j service ausgeführt 
- 
-**Diagramm ablauf_save_pattern.wsd einbinden** 
- 
- 
-=== Get === 
-  - Der Endpunkt wird aufgerufen 
-  - Anhand des PatternIdentifiers wird ein Pattern erstellt, das die betroffene Element lädt 
-  - Mithilfe der Parameter wird das Pattern um entscheidende Wert angereicht. Dieser Werte können Benutzer Email oder Benutzerrollen Name sein 
-  - Das erzeugte Cypher wird mithilfe des neo4j service ausgeführt 
- 
- 
-==== Schritt 1 ==== 
-Erstellen der Endpunkt. Die Endpunkt müssen wie in dem oben zu sehenden Diagramm umgesetzt werden. Dabei sollen 6 neue Endpunkt entstehen. Diese sollen mit einem e2e Test versehen werden, ob die über die angedachte URL verfügbar sind. 
-==== Schritt 2 ==== 
-Die Klasse ''patternIdentifierToNeo4j.parser.ts'' muss refakturiert werden. Innerhalb der Klasse muss der gemeinsame Code der Methoden ''createUserCypher'' und ''createUserRolePattern'' zusammengefasst werden. Dazu ist es nötig, den PatternBuilder um eine weitere Methode zu erweitern. Diese Methode soll den Index eines Knoten anhand des Namen wiedergeben.  
-<WRAP center round important 60%> 
-Hier verstehe ich das "wozu" nicht? Kannst du das erläutern? 
-</WRAP> 
- 
-==== Schritt 3 ==== 
-Die Methoden ''getUserPattern, getUserRolePattern, getDefaultPattern'' der Klasse ''pattern.service.ts'' werden zu öffentlichen Methoden und müssen eine eigenständige Testabdeckung erhalten. Auch ist es nötig, dass die Testdaten erweitert werden. 
- 
- 
- 
-==== Schritt 4 ==== 
-Es müssen acht neue Klassen erstellt werden. Diese haben folgende Aufgaben: 
-  - Laden von Pattern 
-  - Umwandeln eines Graph Results in ein PatternDto[] 
-  - Entscheiden, ob create oder update 
-  - Erstellen eines Patterns zum Createn 
-  - Erstellen eines Patterns zum Updaten 
-  - Createn von Pattern in der Datenbank  
-  - Updaten vom Pattern in der Datenbank 
- 
-==== Schritt 5 ==== 
-Der ''pattern.loader.ts'' stellt kann dazu verwendet werden Pattern anhand ihrere Identifiers aus der Datenbank zu laden. Seine Methoden geben ein oder mehrere PatternDto wieder. 
- 
-{{https://plantuml.progresso-group.de/png/fT2_2i903CVn_U3U8QE-GgSENGG74Pp48VRIUdX_IfARn7UtrdOH1yNCNpxmIosAh2K6652LE8MCZjWQkVeq86E4c5DkBvmZWN8XQzg08h1xzTkfXvirCDvGpi6tq9CUX7XELZEzSPJKTvwu0b7sgLzN2zDeFfu-6ViSw5-deGvBqD-OTsJPwqM_4PxTfDojgIcvySKF.png}} 
- 
-==== Schritt 6 ==== 
-Der ''pattern.converter.ts'' konvertiert ein GraphResult zu einem PatternDto oder einem Array von PatternDto. 
- 
-{{https://plantuml.progresso-group.de/png/bOz12W8n34NtXTuXIxt283AYu5R42yGQdC6s6T9K4F7kLYlKbU1VXVptVqYV54LpyDQaonWd50mGEB8RX0E1IYPheCXvJ0bsg4eIrnol96M2UtLVclBHZmvSzRQ2qx2dbBqU-1FRAC_ERT_15pJle55_bgv4yFQh-GqiMc1P3poiwIcUoljF.png}} 
-==== Schritt 7 ==== 
-Der ''pattern.saveActionDecisionMaker.ts'' trifft die Entscheidung, ob ein Pattern aktualisiert werden muss oder es sich um ein neues Pattern handelt und es in der Datenbank neu erstellt werden muss. 
- 
-{{https://plantuml.progresso-group.de/png/fOyn3i8m34NtIhs3HxX2fo9OEY0X40Tm4mDM4oSu3WlYxXILaOst_ENfIRylXcerXhOf4qj6nGWnIN8tJP70j5BRm8mBM0eSq8nKJlYWZJDEiYF7PTuzJgJmNDmFkOw17GnbguJsjOzqhwpaLtdf39x4-CAa7HHJbkkwWp6bG2W_KkVi_qYzsgOdyVFPDm00.png}} 
- 
-==== Schritt 8 ==== 
-Der ''pattern.createStoredPatternPatternCreator.ts'' erzeugt mithilfe seiner Parameter ein Pattern, das einen neuen Pattern Knoten in der Datenbank hinterlegt. 
- 
-{{https://plantuml.progresso-group.de/png/jP312i8m38RlXRv3ZWfxWfq6Yk15nE43n2xJOjkCD3s9x-wOzUn1p2NaI_x_XtHPKRJ4O4s--pIXO8J8YTrDE1Ae5BB61SmPDaAer2iB3KTK9KcrBHiMW8SrCDTKBi4xS8kWtknOpfbaDRt75Yfle9BzG4dzw4bQo2e-NHiei-A0aJva_TN_n87-cR6b4KlGdoEUrdIKXldpBm00.png}} 
- 
-==== Schritt 9 ==== 
-Der ''pattern.updateStoredPatternPatternCreator.ts'' erzeugt mithilfe seiner Parameter ein Pattern, das einen neuen Pattern Knoten in der Datenbank hinterlegt. 
- 
-{{https://plantuml.progresso-group.de/png/jP1D2W8n38NtXTuXIuKvmQm65C6DYCCS84upMkmVQReIxsxHkdOXPlF8Hzvxa24BiXJljCet6n8oUl0nnFdAqHC85z9gTfWpJCcWq2YHoHnHX3WqsJ1XnG1thQ1EAcTdPoWlGxlPHPuoyIgzrnuQxw2HlQ4WTh74FMHX6ouTbEeueASFMN_DFqL7_-pOqeB5oSyL3wq62gP-_Wa0.png}} 
-==== Schritt 10  ==== 
-Der ''pattern.creator.ts'' ist dafür verantwortlich ein Pattern neue Pattern zu beziehen. 
- 
-{{https://plantuml.progresso-group.de/png/fP112W8n34NtXTuXIuKvmQm6d8qR4S43n3QZnROPqdGsujqTSLoAeDby-FptGz8LHT6QeZNb6lA8WWaIPtONuKIWKiaQ5x4KsACgITu8eRB0pHgOPwod61oufql7GhB4LkDBspVNApUmc5jFMSCGI5eeAY6VrorC7Fo7pWD7-gstWRhmEqpqVLjF0zQeVnvnjwQZxEU_FW00.png}} 
- 
-==== Schritt 11 ==== 
-Der ''pattern.updater.ts'' ist dafür verantwortlich ein Pattern zu aktualisieren. 
- 
-{{https://plantuml.progresso-group.de/png/fL2x2W8n4Em3-OSj5UuBKbrnZOs8S1-mb-nfC2ys6nlntptqB4NGQGQ6dHbc-oh8qcBGgbvyAiWO8UQKxPbp911kf9KDM2iSK8GuZSNXmZUjO45fK_0MsbCSA_5wjIalDc_R8Bc3LTmvIk9dJsoW2ljqsXguPky-P1vpeDzoEsYhVu-HlhSDD6CBykU8krOz9RUyzG40.png}} 
- 
-<WRAP center round important 60%> 
-Anstatt hier viele einzelne Klassen zu sehen, hätte ich lieber ein Diagramm mit alle drin, in dem auch Abhängigkeiten sichtbar sind. 
-</WRAP> 
playground/playground.1538675107.txt.gz · Last modified: 2018-10-04 19:45 by amanuela

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki