-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathimplNotes
More file actions
27 lines (24 loc) · 903 Bytes
/
implNotes
File metadata and controls
27 lines (24 loc) · 903 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
-= Notes for the implementation =-
* Possible Scenarios *
1) Create a new ticket
a) call server script with create command with the persons data (name, etc.)
b) script checks database for name
exists → error? (l. notes:Questions)
exists not → proceed
• create random barcode
• check database for barcode
exists → create new one, go back
exists not → proceed
• insert name with barcode
• create LaTeX-Ticket with barcode, name, logo, etc.
• return pdf-file
c) scipt exits
d) pdf-ticket is delivered per mail
2) Check the validation of a ticket
a) Visitor shows his ticket printout
b) code is scanned
c) client scripts requests information about code from server (HTTPS)
d) server answers:
• ticket is valid, not used (return Owners Name)
• ticket is valid, used (return Owners Name)
• ticket is not valid