-
Notifications
You must be signed in to change notification settings - Fork 2
/
lecture0.html
491 lines (456 loc) · 13.3 KB
/
lecture0.html
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
<!DOCTYPE html>
<!--
Middleware and Web Services, CTU course slides
(cc) 2010-2023 Tomas Vitvar, [email protected]
-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="course" content="Middleware Architectures 1" />
<meta name="lecture" content="Lecture 0" />
<meta name="keywords" content="motivation, scope, requirements, resources" />
<link type="text/css" rel="stylesheet" href="css/meta.css">
</link>
<link type="text/css" rel="stylesheet" href="css/ctu-fit.css">
</link>
<link type="text/css" rel="stylesheet" href="humla/lib/core/humla.css">
</link>
<script type="text/javascript" src="humla/lib/humla.js"></script>
<title>Motivation and Course Overview</title>
</head>
<body>
<footer>
<p><b>#META_LECTURE#: #TITLE#</b>, <span class="meta_semester" />,
<span class="meta_twitter" />
</p>
<p><b>‒ #SLIDE_NO# ‒</b></p>
</footer>
<div class="slide intro">
<hgroup>
<h1><span class="meta_course" /></h1>
<h2>#TITLE#</h2>
</hgroup>
<div class="author">
<p class="meta_author" />
<p><span class="meta_email" /> • <span class="meta_twitter" /> •
<span class="meta_web" />
</p>
</div>
<center>
<div class="meta_logo"></div>
</center>
<div class="org">
<p class="meta_org" />
<p><span class="meta_orgfac" /> • <span class="meta_field" />
• <span class="meta_orgweb" /></p>
</div>
<div class="etc">
<div class="text-info">
Modified: #LAST_MODIFIED#<br />
Humla v#HUMLA_VERSION#
</div>
<a href="http://creativecommons.org/licenses/by-sa/3.0/">
<div class="license"></div>
</a>
<div class="oppa"></div>
</div>
</div>
<div class="slide">
<hgroup>
<h1>Hellos</h1>
</hgroup>
<ul class="x-small">
<li>Tomáš Vitvar – lectures (Czech)</li>
<ul>
<li>Web engineering program chair at CTU FIT</li>
<li>Technology Architect Director at Oracle</li>
<li>Research</li>
<ul>
<li>Web Services, Web Intelligence, Semantic Web</li>
</ul>
<li>Industry</li>
<ul>
<li>Large scale integration architecture projects<br />(Vodafone UK, IKEA IT Sweden, Turkish
Telecom)</li>
<li>Design, governance, troubleshooting, performance tuning</li>
</ul>
</ul>
<li>Jaroslav Kuchař – labs (Czech)</li>
<ul>
<li>Research assistant at CTU FIT, Seznam.cz</li>
<li>Web usage mining, big data analytics, Web services</li>
</ul>
<li>Milan Dojčinovski – lectures and labs (English)</li>
<ul>
<li>research assistant at CTU FIT, Ph.D. candidate</li>
<li>Semantic Web, Linked Data, NLP, Web services</li>
</ul>
</ul>
</div>
<div class="slide">
<hgroup>
<h1>Web Engineering Curricula – bird's view</h1>
</hgroup>
<ul class="small">
<li>Web engineering is...</li>
<ul>
<li>far beyond PHP and HTML!</li>
</ul>
</ul>
<div class="h-drawing" style="height: 390px" alt="Web Engineering Overview"
id="1oyGz6GdF-K_hln9g_l3Cp1eNK843S4NKE4tO8HMUYGw"></div>
</div>
<div class="slide outline">
</div>
<section>
<header>Course at a Glance</header>
<section>
<header>Motivation and Scope</header>
<div class="slide">
<hgroup>
<h1>What is Middleware?</h1>
</hgroup>
<ul class="small spacing">
<li>Say anything you think has something to do with middleware</li>
<ul>
<li>Architecture</li>
<li>Tehnology</li>
<li>Tools</li>
<li>Concept or style</li>
<li>Methodology</li>
<li>...</li>
<li>No worries, there is no bad answer!</li>
</ul>
</ul>
</div>
<div class="slide">
<hgroup>
<h1>Motivation in Brief</h1>
</hgroup>
<ul class="small spacing">
<li>Systems rely on complex infrastructures</li>
<ul>
<li>A lot of data and many processes, internal and external</li>
<li>As people communicate, underlying systems must too</li>
<li>But:</li>
<ul>
<li>variety of data formants, technologies, protocols</li>
<li>variety of architectures, client-server, peer-to-peer, ...</li>
</ul>
</ul>
<li>Rapid changes in applications' functionalities</li>
<ul>
<li>modular development</li>
<li>reuse of application logic</li>
<li>low costs – do it now and quickly!</li>
<ul>
</ul>
<li>Good performance</li>
<ul>
<li>frequent changes in applications' loads, peek hours</li>
<li>scalability – effective load balancing</li>
<li>low costs – cheaper to outsource?</li>
</ul>
</div>
<div class="slide" id="scope">
<hgroup>
<h1>Scope</h1>
</hgroup>
<ul class="small x-spacing">
<li>Architectural and conceptual basis</li>
<ul>
<li>What is architecture – enterprise, processes, data, software</li>
<li>Service concepts, integration patterns, middleware</li>
</ul>
<li>Backend technologies</li>
<ul>
<li>Communication protocols – HTTP, TLS, HTTP/2</li>
<li>Application backend and requests handling</li>
<li>Advances of REST, MOM</li>
</ul>
<li>Performance and Scalability</li>
<ul>
<li>Performance tuning</li>
<li>Load balancers</li>
</ul>
</ul>
</div>
</section>
<div class="slide outline">
</div>
<section>
<header>Requirements and Organization</header>
<div class="slide">
<hgroup>
<h1>Prerequisites</h1>
</hgroup>
<ul class="small spacing">
<li>Object-oriented programming</li>
<ul>
<li>Principles</li>
<ul>
<li>class, object, inheritance, encapsulation, ...</li>
<ul>
<li>basis for service concepts</li>
</ul>
</ul>
</ul>
<li>JavaScript</li>
<ul>
<li>All code examples will be in JavaScript</li>
<li>All lab work will be in JavaScript</li>
</ul>
<li>Web Architecture</li>
<ul>
<li>Basics of REST, HTTP, URI/URL</li>
</ul>
<li>Other</li>
<ul>
<li>Networking</li>
<li>Basics of OS</li>
</ul>
</ul>
</div>
<div class="slide" id="plan">
<hgroup>
<h1>Organization of Lectures</h1>
</hgroup>
<ul class="xx-small">
<li>12 Lectures</li>
<ul>
<li>Czech: Mon 9:15-10:45, T9:107</li>
<li>English: TBA</li>
</ul>
<li>Plan</li>
<ol>
<li>22.09.2024 – Motivation and Course Overview</li>
<li>30.09.2024 – Information System Architectures</li>
<li>09.10.2024 – Service Architecture 1</li>
<li>07.10.2024 – Service Architecture 2</li>
<li>14.10.2024 – Communication protocols, HTTP, TLS</li>
<li>21.10.2024 – HTTP/2 and HTTP/3</li>
<li>28.10.2024 – No lecture</li>
<li>11.11.2024 – HATEOAS, Caching, Concurrency Control</li>
<li>04.11.2024 – Monolithic vs Microservices Architectures</li>
<li>18.11.2024 – Messaging middleware</li>
<li>25.11.2024 – High Availability and Performance 1</li>
<li>02.12.2024 – High Availability and Performance 2</li>
<li>09.12.2024 – Reserve</li>
<li>16.12.2024 – Reserve</li>
</ol>
</ul>
</div>
<div class="slide">
<hgroup>
<h1>Organization of Labs</h1>
</hgroup>
<ul class="small">
<li>Individual work (no teams!)</li>
<li>Labs every second week</li>
<li>Number of labs: 6</li>
<ol>
<li>Introduction - FIT Workspaces, setup</li>
<li>REST – Basics, development of a REST service</li>
<li>Security, TLS</li>
<li>Messaging systems</li>
<li>Load balancers, nginx</li>
</ol>
</ul>
</div>
<div class="slide">
<hgroup>
<h1>Methodology for Lab Work</h1>
</hgroup>
<ul class="spacing">
<li>No app development, not directly related assignments</li>
<ul>
<li>assignment every second week</li>
<li>be prepared for the lab!</li>
<li>work alone, ask others for advices</li>
<li><b>Results:</b></li>
<ul>
<li>5 completed tasks</li>
<li>you will submit results to <a href="https://gitlab.fit.cvut.cz/">gitlbab@FIT</a></li>
</ul>
</ul>
</ul>
</div>
</section>
</section>
<div class="slide outline">
</div>
<section>
<header>Assessment</header>
<div class="slide" id="assesment">
<hgroup>
<h1>Assessment</h1>
</hgroup>
<ul class="small">
<li>Labs</li>
<ul>
<li>Every task gives you the maximum of 6 points = 30 points in total</li>
<li>Activity in labs gives you the maximum of 10 points</li>
<li>Total maximum points = 40</span>, <b>to pass</b>: 20 points minimum</li>
</ul>
<li>Final exam</li>
<ul>
<li>Written exam: 3 exercises, 1 hour</li>
<ul>
<li>each gives you a max. of 20 points, the total is 60 points</li>
<li>To pass, you need to have at least 50% from each exercise!</li>
</ul>
<li>Final score:</li>
<ul>
<li>100 points maximum</li>
</ul>
</ul>
</ul>
</div>
<div class="slide" id="final-marks">
<hgroup>
<h1>Final Marks</h1>
</hgroup>
<center>
<table class="prettytable" style="margin-top: 30px; margin-bottom: 30px; width: 450px">
<caption>Source: <a
href="http://www.cvut.cz/pracoviste/pravni-odbor/dokumenty/studijni-predpisy/studijnirad.pdf">
http://www.cvut.cz/pracoviste/pravni-odbor/dokumenty/studijni-predpisy/studijnirad.pdf
</a></caption>
<thead>
<tr>
<th>Mark</th>
<th>Points</th>
<th>In words</th>
</tr>
</thead>
<tbody>
<tr>
<td>A</td>
<td>100–90</td>
<td>výborně</td>
</tr>
<tr>
<td>B</td>
<td>89–80</td>
<td>velmi dobře</td>
</tr>
<tr>
<td>C</td>
<td>79–70</td>
<td>dobře</td>
</tr>
<tr>
<td>D</td>
<td>69–60</td>
<td>uspokojivě</td>
</tr>
<tr>
<td>E</td>
<td>59–50</td>
<td>dostatečně</td>
</tr>
<tr>
<td>F</td>
<td>49–0</td>
<td>nedostatečně</td>
</tr>
</tbody>
</table>
</center>
</div>
</section>
<div class="slide outline">
</div>
<section>
<header>Communication and Resources</header>
<div class="slide" id="communication">
<hgroup>
<h1>Communication</h1>
</hgroup>
<ul class="small">
<li>Language</li>
<ul>
<li>Text: English (slides, tweets, posts, instructions, etc.)</li>
<li>Voice: Czech and English (English version of the course)</li>
</ul>
<li>Direct</li>
<ul>
<li>you can always contact me directly at <a href="mailto:[email protected]">[email protected]</a> or
<a href="http://twitter.com/TomasVitvar">@TomasVitvar</a>
</li>
</ul>
</ul>
</div>
<div class="slide" id="resources">
<hgroup>
<h1>Overview of Resources</h1>
</hgroup>
<ul class="small spacing">
<li>Overview of resources</li>
<table style="width: 80%;">
<thead>
<th style="width: 200px">Item</th>
<th>URL</th>
</thead>
<tbody>
<tr>
<td>Course slides</td>
<td><a href="http://mdw.vitvar.com">http://mdw.vitvar.com</a></td>
</tr>
<tr>
<td>Courses@FIT</td>
<td><a href="https://courses.fit.cvut.cz/NI-AM1/">https://courses.fit.cvut.cz/NI-AM1/</a>
</td>
</tr>
<tr>
<td>Lab projects</td>
<td><a href="https://gitlab.fit.cvut.cz/">https://gitlab.fit.cvut.cz/</a></td>
</tr>
<tr>
<td>Assessment</td>
<td><a
href="https://grades.fit.cvut.cz/courses/NI-AM1/">https://grades.fit.cvut.cz/courses/NI-AM1/</a>
</td>
</tr>
</tr>
</tbody>
</table>
<li>Books</li>
<ul class="xx-small spacing">
<li>L. Richardson, S. Ruby: RESTful Web Services: Web services for the real world, O'Reilly Media,
May 2007, ISBN 9780596529260.</li>
<li>I. Grigorik: High Performance Browser Networking, O'Reilly Media, May 2013, ISBN
978-1-449-34476-4.</li>
<li>Thomas Erl: Service-Oriented Architecture: Concepts, Technology, and Design. Prentice Hall, Aug
2, 2005.</li>
</ul>
</ul>
</div>
<div class="slide" id="humla">
<hgroup>
<h1>About Slides</h1>
</hgroup>
<ul class="x-small">
<li>Humla – Open Source HTML5 Presentation System</li>
<ul>
<li>every slide has a unique URL</li>
<li>all figures linked with Google drawings</li>
<li>auto-generated PDFs (1 and 2 slides per page) using travis-ci</li>
<li>running local (with local nodejs-based http server), and in github pages</li>
<li>Suggest edits or correct errors by pull requests at <a href="https://github.com/tomvit/mdw">mdw
github repo</a></li>
</ul>
<li>Keys</li>
<ul class="no-bullet spacing xx-small">
<li><span class="key">1</span>  default browsing mode</li>
<li><span class="key">2</span>  slideshow mode (automatically scales to fullscreen)</li>
<li><span class="key">3</span>  grid (overview) mode</li>
<li><span class="key">4</span>  print mode, 2 slides per page</li>
<li><span class="key">←</span>  slide left</li>
<li><span class="key">→</span>  slide right</li>
</ul>
</ul>
</div>
</section>
</body>
</html>